Boolean Expressions Reading assignment

  1. they perform special functions, maths eg +,-,/ , logical ||, &&, ! and comparison <, >, == !=
  2. < less than , > greater than, == equal, ! not ( found adding on the right hand side works, eg <! but not !<) also != not = equal to
  3. && and, || or

What are operators?
Primitive values created from literals

What binary operators do you know?
Equal ( == )
Not equal ( != )
Less than ( < )
Greater than ( > )
Greater than or equal ( >= )
Less than or equal ( <= )

What logical operators do you know?
AND ( && )
OR ( || )

1 Like
  1. An operator is a symbol that is used to perform an operation. They can be used for arithmetic, string concatenation, comparison or logic and can be unary, binary or even ternary.

  2. +, -, *, /, %, <, >, <=, >=, ==, !=, ===, !==, && and ||

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

  1. What are operators?
    Operators transform some number of input values to some number of output values, often built into a language with a special syntax or symbol.

  2. What binary operators do you know?

, <, ===, ==, <=, >=, !=, =, ++, --, *, /, %, +, and -.
The logical operators below are also binary operators.

  1. What logical operators do you know?
    and, or, not, nand, nor, and xor.
  1. What are operators?
    An operator performs an operation on one or more values. For example, comparing values, adding values, subtracting, etc.

  2. What binary operators do you know?
    Comparisons like greater than (> and >=), smaller than (< and <=), equality (== or ===) or inequality (!= or !==), mathematical operators like +, -, *, / and %

  3. What logical operators do you know?
    There are three: and (&&), or (||) and not (!). Combinations like not-and, not-or and exclusive-or (xor) also exist (but aren’t mentioned (here) in the book). Also, there is an if-then-else or ternary operator.

1. What are operators?
Operators are actions acpplied to one or more pieces of data.
2. What binary operators do you know?
+, -, *, /, %, >, <, ==, >=, <=, !=
3. What logical operators do you know?
&&, ||, !

  1. Actions done on values
  2. +, -, *, /, %, ==, !=, ===, !==, <, >, <=, >=, &&, ||
  3. && (and), || (or) and ! (not)

1. Characters/Symbols that tell the compiler or interpreter to perform specific mathematical, relational or logical operations and produce a final result.

2. +, -, *, %, /, <, <=, >, >=, ==, !=, &&, ||

3. &&, ||, !

What are operators?

Operators are similar to functions but differe in the way they are arranged syntqctically, such as A + b ; b- c; etc.

What binary operators do you know?

+ - / *

What logical operators do you know?

&& || != !

  1. An operator is a symbol that is used to perform an operation. They can be used for arithmetic, string concatenation, comparison or logic and can be unary, binary or even ternary.
  2. +, -, *, /, %, <, >, <=, >=, ==, !=, ===, !==, &&, ||
  3. &&, ||, !
1 Like

1. What are operators?

Actions on variables.

2. What binary operators do you know?

+, - , %,*, /

3. What logical operators do you know?

&&, ||, !

1:an operator is a character that represents an action
2:(+)(-)(*)(/)(%)(++)(–)
3:(&&)(||)(!)

  1. Operators are actions applied to values
  2. +, -, *, /, %, >, <, ==, >=, <=, !=
  3. &&, ||, !
  1. What are operators? In mathematics and in programming it is a symbol indicating an operation that acts on one or more elements.

  2. 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 (/).

  3. What logical operators do you know? AND (&&), OR (||), NOT(!), XOR. (Javascript doesn’t have a logical XOR, but it can be simulated.

What are operators?
They’re actions that activate variables.
What binary operators do you know?
+,-,*,/,%,+,<, ==, !=,===,!==, >, <=, >=
What logical operators do you know?
&&, ||, !

1. What are operators?
2. What binary operators do you know?
3. What logical operators do you know?

  1. Operators are similar to verbs in language. They allow an object to
    perform actions on other object

  2. Booleans

  3. Logical operators include

Booleans can only return TRUE or FALSE and can be used as if:
Boolean(statement) or just statement - don’t need to write boolean

&&, which returns TRUE when both sides are
TRUE.

! will reverse the answer. So !TRUE = FALSE

|| returns TRUE when either statement is correct

Booleans return TRUE when a statement is correct
e.g. 3>1, 3>=1, 2+1 == 3
and FALSE when a statement is not correct.

Also returns false when statement is empty (zero, 0, “”, false etc.)

What are operators?
Operators are symbols designated to conduct an operation on values within the program.

What binary operators do you know?
Equal(==)
Not Equal(!=)
Less Than (<)
Greater Than (>)
Less Than Or Equal To (<=)
Greater Than Or Equal To (>=)
Plus (+)
Minus (-)
Multiplication (*)
Division (/)
Modulo (%)

What logical operators do you know?
And (&&)
Or (||)

  1. What are operators?
    Operators are applied to values to produce certain result

  2. What binary operators do you know?
    < <= > >= == === + - * / %

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

What are operators?
There are arithmetic , logic , comparision and assign operators. All of them work with values or with only one value in the case of the unary operators , with two values the called binary operators or with three values called trenary operator.

What binary operators do you know?

      • /
        What logical operators do you know?
        && || != == ===

1- putting operators between two values will apply them to those values and produce a new value and some of them only take one value like unary operators. They can be like arithmetic symbols, words,…

2- Binary operators : + , / , * , %, >,<,>=,<=,!=,==,===

3-Logical operators : && , || , ! , ? :