Boolean Expressions Reading assignment

  1. Operators are a special symbol used to perform operations on operands (values and variables)

  2. (+) (-) (/) (*) (%)

  3. and, or and not = (&&) (||) (!)

1 Like
  • What are operators?
    Set of special characters indicating specific actions on variables, numbers, strings, expressions, …

  • What binary operators do you know?
    +, -, *, /, #, instanceof

  • What logical operators do you know?
    <, >, <=, >=, &&, ||, !=,

1 Like

[quote=“ivan, post:1, topic:3068”]

  • What are operators?
    The + and * symbols are called operators

  • What binary operators do you know?
    The > and < signs are the traditional symbols for “is greater than” and “is
    less than”, respectively. They are binary operators.

  • What logical operators do you know?
    JavaScript supports three logical operators: and, or, and not. These
    can be used to “reason” about Booleans

1 Like

Boolean Answers

  1. Operators can perform a variety of tasks from assigning and comparing values to performing arithmetic between two values.

  2. Binary operators that I have knowledge of are the + (addition operator), the - (subtraction operator), the * (multiplication operator), the / (division operator), and the % (modulo/remainder operator).

  3. Logical operators that I have knowledge of are the && AND operator, the || OR operator, and the ! NOT operator.

  1. Operators are different actions we can execute on values. If we take, for example, two pieces of value (they can be numbers, strings of data, etc.), we can do a variety of things with them such as compare them, subtract them, multiply them and so on. The operator is the action (><=±*/ and so on) that we want to be executed on those values.
  2. Addition (+), Substraction (-), Multiplication (*), Division (/), Comparsion (<,>,=) and others.
  3. And (&&), Or (| |), Not (!).
1 Like
  1. What are operators?
    an object that is able to manipulate a value
  2. What binary operators do you know?
    multiplication, addition, division, subtraction
    3)What logical operators do you know?
    && : and
    II : or
    ! : not

, <, ==, =>, <=

1 Like
  1. Operators are essential, in expressions, to perform arithmetic operations between various values.
    Examples of arithmetic operators (binary operators) are: +, -, /, *, etc
    Or to compare various values (relational operators):
    E.g. : =, <=, >=, etc.
    Finally, the logical operators allow the combination of Boolean expressions.
    E.g. : || , &&, !
    BONUS:
    Conditional operator:
    condition ? value1: value 2
    if the condition is true, it returns the value1, if it is false, it gives the value2
1 Like
  1. An operator is used between one or more values to determine an outcome.
  2. +, -, *, /
  3. ||, &&, ==, !==, ===
1 Like
  1. What are operators?
    • Define actions that variables will perform
  2. What binary operators do you know?
    • +, -, /, *, %
  3. What logical operators do you know?
    && : and || : or ! : not <,>, ==, =>, =< : comparison operators
1 Like
  1. What are operators?
    Operators are symbols that allow you to perform an operation on variable(s) and produce a result.

  2. What binary operators do you know?
    < > == >= <= != ===

  3. What logical operators do you know?
    && || ?

1 Like
  1. What are operators?

Operators are elements used to manipulate and calculate values.

  1. What binary operators do you know?
  • , -, *, /, %, &&, ||, !, ==, ===, !=, >, <, >=, <=,
  1. What logical operators do you know?

&&, ||, !

1 Like

What are operators?
Operators perform logical or mathematical operations. Examples are + - / *

What binary operators do you know?
Binary operators work on binary digits of integer values (long, int, short, char, byte) and will return a integer.

What logical operators do you know?
These are ‘and’ ‘or’ ‘not’.
Logical operators work on boolean expressions and return boolean values of either true or false. && (‘and’ operator) will return true if both values submitted to it are True. "or’ operator || will return a True value if one of the values submitted has True in it.
Not ‘!’ operator is a unary operator and flips the value given to it. !true produces a false and !false produces true.

1 Like
  1. Operators are logical methods or steps applied to one or more pieces of data.

/
%

  1. && logical and
    || logical or
    ! logical not
1 Like

There are 3 operators that can be used to reason n Boleans: and, or, not

Binary operators are like: arithmetic, comparison.

Logical operators: && (and), || (or), !(not)

1 Like
  1. JavaScript operators are used to assign values, compare values, perform arithmetic operations, and more.
  2. Binary operators for arithmetic (+, -, *, /, and %), string concatenation (+), comparison (==, !=, ===, !==, <, >, <=, >=), and logic (&&, ||).
  3. The logical operators && and || .
1 Like
  1. The +, *, -, / symbols are called operators. Plus, Minus, Multiply and Divide. Putting an operator between two values will apply it to those values and produce a new value.

  2. Minus ‘-’ is a binary operator as well as a unary.

3.JavaScript supports three logical operators and, or and not. These can be used to reason about Booleans.

1 Like
  1. What are operators?
    Characters that JavaScript uses to assign or evaluate.
  2. What binary operators do you know?
    Arithmetic(+,-,*,/, and %).
  3. What logical operators do you know?
    logic (&&, ||).
1 Like

[quote=“ivan, post:1, topic:3068”]

  • What are operators?
    Operators are symbols that indicate a type of operation to be carried out. They can involve numbers or strings.
  • What binary operators do you know?
    So far I get the > - is greater than, < is less than, == - is equal to and != is not equal to. binary operators reference two variables.
  • What logical operators do you know?
    && - and - which produces true if both values are true
    || - or - produces true if either value is true
    ! - not - flips the value of the result it precedes
1 Like
  1. What are operators?
    Operators are actions that examine or alter values.

  2. What binary operators do you know?
    == Equal to
    != Not Equal to

Greater than
= Greater than or equal to
< Less than
<= Less than or equal to

  • Addition
  • Subtraction
  • Multiplication
    / Division
    % Modulo
  1. What logical operators do you know?
    && And
    || Or
    ! Not
1 Like
  1. What are operators?
  2. What binary operators do you know?
  3. What logical operators do you know?

1 – Operators performs some operation with values and produces a result.

2- Booleand operators have only two outputs: true or False. >,<, >=,<=, ==

3- “and” &&, “or”/ ||, and “not”/ !

1 Like