Boolean Expressions Reading assignment

  1. Words and/or symbols that perform single or multiple tasks and/or produce certain results.

Equal (==)
Not equal (!=)
Less than (<)
Greater than (>)
Greater than or equal to (>=)
Less than or equal to (<=)
Logical AND (&&)
Logical OR (||)
Plus (+)
Minus (-)
Multiplication (*)
Divide (/)

And (&&)
Or (||)
Not(!)

1 Like
  • What are operators?
  1. Operators act on values when they are put next to or between values. Many can create new values such as binary operators.
  • What binary operators do you know?
  1. +, -, *, **, /, %, ++, - -, &&
  • What logical operators do you know?
  1. &&-and, ll or, ! not
1 Like

Operators are symbols +, -, *, / which are used with values to perform an operation. Some Binary operators are <,>,<=,>=,!=,===,. Some logical operators are ||, &&.

1 Like
  1. Operators are symbols and some words used to manipulate values.
  2. Binary operators are: < >, =<, ==, =>, !=
  3. Logical operators are: values that represent “reason” (and, or, not) ex: &&, ||, !
1 Like

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

  • What are operators?
  • Operators are usually simbols like “>,+,-<,*,/,<” and sometimes words that have some function to do with the values.

  • What binary operators do you know?
  • Multiplicative operators : *, / , %
  • Additive operators : +, -
  • Relational operators : <, > , >=, <=
  • Equality operators : == , !=,
  • Logical operators : && , II, !

  • What logical operators do you know?
  • && (And)
  • II (Or)
    ! (Not)
1 Like
  1. Operators are actions that you apply to the values.
      • \ = etc…
  2. true/false yes/no
1 Like
  1. Characters/Symbols that perform specific mathematical, relational or logical operations and return a value.
  2. Arithmetic, relational, logical, string, comparison and assignment operators.
  3. &&, ||, !
1 Like
  1. Operators are symbols that act on values. Putting an operator between two values will apply it to those values and produce a new value.
  2. I know <, >, <=, >=, ==, !=
  3. I know &&, ||, !
1 Like

3. What logical operators do you know?

Hello sir, maybe you got a little confusion here, logical operators will evaluate if a variable is true or false, those that you describe are arithmetic operators, which are used to do some calculations with the variable(s).

You probably want to redesign your answer.

Hope this gives you a clear view of the subject, keep learning! :slight_smile:
If you have any doubt, please let us know so we can help you!

Carlos Z.

1 Like

Operators are used to assign values, perform arithmetic operations

    • //Add
  • //Subtract
    / //Divided by
  • //Multiple
    % //Modulus
    < //Less than

//Greater than
& //AND
| //OR
^ //XOR
~ //Invert each bits
<< //Move all bits onto the left

//Move all bits onto the right

  1. There are three logical operators in JavaScript: || (OR), && (AND), ! (NOT).
1 Like
  1. What are operators?
    Operators are symbols used to perform operations to product a result.

  2. What binary operators do you know?
    Some binary operators are:

    • for addition
    • for subtraction
    • for multiplication
  • / for division
  • == for equal to
  • “>” for greater than
  • “>” for less than
  1. What logical operators do you know?
    Some logical operators are “and, or, and not”.
    && = and
    || = or
    ?: = not
1 Like
  1. What are operators?
    Putting an operator between two values will apply it to those values and produce a new
    value.
  2. What binary operators do you know?
    True or False,

    = (greater than or equal to), <= (less than or equal to), == (equal to), and != (not equal
    to).

  3. What logical operators do you know?
    The && operator represents logical and. It is a binary operator, and its result
    is true only if both the values given to it are true.
    The || operator denotes logical or. It produces true if either of the values
    given to it is true.
1 Like
  1. plus minus multiply / % = == === != < > && || <= >= among others
  2. = == === != < > && || <= >=
  3. && ||
1 Like
  1. What are operators?

Symbols that allows you to evaluate and do conditions.

  1. What binary operators do you know?

Equal (==)
Not equal (!=)
Less than (<)
Greater than (>)
Greater than or equal to (>=)
Less than or equal to (<=)
Logical AND (&&)
Logical OR (||)
Plus (+)
Minus (-)
Multiplication (*)
Divide (/)

  1. What logical operators do you know?

&& - and, II - or , ! -Not

1 Like
  1. JavaScript operators pieces that allow us to assign values, compare values, change values etc. There are three main operators. Unary operator(uses one value), binary operator(uses two values), and ternary operators(uses three values). These operators work on values to give us the printed answer we want.

  2. There is arithmetic operators(+ - * / %), assignment operators(x="hello " y=“world”), string operators(x+y=“hello world”), comparison operators(== >= <= etc), conditional/ternary operator(console.log(true ? 1 : 2); ), logical operators(&&= and ||=or !=not) and typeof operator(typeof “john” = string or typeof 3.14 = number)

  3. We learned &&=and ||=or !=not. I’ve heard there are other logical operators like NAND NOR and XOR but I’m not sure if they work in JavaScript.

1 Like

1. What are operators?

  • Operators are pieces of code that exert an action on one or more values.

2. What binary operators do you know?

  • Plus(+); Minus(-); multiplication(*); divide(/)

3. What logical operators do you know?

  • True; False; and; or; not
1 Like
  • What are operators?
    Operators are symbols that represent an action or process to perform,

  • What binary operators do you know?
    AND (&&), OR (||), XOR (^), Ones complement (~), bitshift (>>, <<))

  • What logical operators do you know?
    AND (&&), OR (||), negation (!)

1 Like

An operator performs some operation on single or multiple operands (data value) and produces a result. For example 1 + 2, where + sign is an operator and 1 is left operand and 2 is right operand. + operator adds two numeric values and produces a result which is 3 in this case.

Binary Operators: < less than, > greater than, <= less than or equal to, >= greater than or equal to, == equal to, != not equal to

Logical Operators: AND, OR, NOT - And = &&, Or = ||, Not = !

1 Like

Can be used but its a little more tricky than the normal ones, check some info on it to have even more understanding on that subject:

Hope this gives you a clear view of the subject, keep learning! :slight_smile:

If you have any doubt, please let us know so we can help you!

Carlos Z.

1 Like

Thanks a lot! :slight_smile:

1 Like