Boolean Expressions Reading assignment

1.Values
2.> “is greater than” < “is less than”
3.and or not

  1. you can combine and transform values with operators - like 1 + 2 = 3 where + is an operator.
  2. binary operators are arithmetic, string, logical, comparison and unary operators
  3. logic operators: &&, II
1 Like
  1. What are operators?

An operator tells the program what to do with the values entered. It is the action part of the code to describe what to do with the values.

  1. What binary operators do you know?

< , >, and equal to ==

  1. What logical operators do you know?
    &&, ||, (!)
1 Like
  1. Operators are used to assign values, compare values, perform arithmetic operations etc.

  2. &, |, ^, >

  3. &&, || , !

1 Like

Greetings @Dkc33,

You missed out on OR (||) operator as well. So in total, these will be your operators–

  • && (AND)
  • || (OR)
  • ! (NOT)

Hope this clears it out.

Happy Learning! :smile:

1 Like
  1. What are operators?
    JavaScript operators produce a result acting on a data value like numbers or strings or booleans.
  2. What binary operators do you know?
    Binary operators for arithmetic are (+, -, *, / and %). Comparison operators are ( ==, === , !=, !==, <, <=, >, >= ).
  3. What logical operators do you know?
    Logic operators are (&&, ||, typeof )
1 Like

1. What are operators?
Operators allow you to do calculations and evaluate conditions
2. What binary operators do you know?
+, -, *, /, ||, &&, ==, !=, <, >, <=, >=
3. What logical operators do you know?
&&, ||, !

1 Like
  1. Operators are arithmetic symbols used to operate on values.
  2. + (addition) / (division) - (subtraction,also a unary operator) == (equal to) === (not equal to) and * (multiplication)
  3. Not ! And && or ||
1 Like
  1. An operator perform some operation or single or multiple operands (data value) and produces a result.

  2. == equal to > greater than < less than

  3. || (OR), && (AND), !

1 Like

1- operator is an object that is capable of manipulating a value. e.g. *, /, %, ++, –
increment, decrement, addition, subtraction or ==, ===
Operators are used to assign values, compare values, perform arithmetic operations . etc.
2- logical : and, or, not,xor,nand , bit shifter >> <<
3- and , or, not > &&, ||, !
if(a > b || c > d) { }
if(a > b && c > d) { }
if(a !== b) { }

1 Like
  1. Not all operators are symbols. Some are written as words. One example is the type of operator, which provide a string value naming the type of the value you give it.

  2. < and > “is grater than” and “is less than”
    <= and >= “grater than equal to” and “less than equal to”
    == “equal to”
    != “not equal to”

  3. && “and”
    || “or”
    ! “not”

1 Like
  1. operators are symbols that represent an action that is done on values.

  2. == “equal to”, <= and => " greater than or equal to" and “less than or equal t0”, != “not equal to”,

3.&& “and”
|| “or”
! “Not”

1 Like
  1. What are operators?
    = Operators add an operation to values. In other words it is the symbol that decides what will happen with the values given.

  2. What binary operators do you know?
    = Binary operators are operator that uses 2 values. Some examples are:

: Greater than
<: Less Than
+: Plus
-: Minus
*: Multiply
/: Divide
%: Remainder
==: Equal
!=: Not equal
They can also be combined and become other binary operators like:
=: greater than or equal to
<=: Less than or equal two
Some logical operators are binary:
&&: and
||: or
ect…

  1. What logical operators do you know?
    &&: And: results in true only if both values given are true
    ||: Or: Denotes logical. It produces true if either values given to it is true
    !: Not: Flips the value given to it: example: !true -> false
1 Like
  1. Operators are symbols with a certain task to produce result.

  • +
  • -
  • *
  • /
  • less than
  • greater than
  • equal to
    1. And, or and not
  • 1 Like
    1. What are operators?
      -Operators are symbols with a certain task to produce result.

    2. What binary operators do you know?

    • sign, < sign, > sign, = sign, => sign,
    1. What logical operators do you know?
      -&& (logical AND), || (logical OR), a?b:b (CONDITIONAL operator)‘the value to the left of the ? picks which of the other two values will come out. When it is true, it chooses the middle value, and when it is false, it chooses the value on the right.’
    1 Like
    1. Operators operate on either values or objects.

    Equal to ==
    Not equal to !=
    Less than <
    Greater than >
    Less or equal to <=
    Greater or equal to >=

    And &&
    Or | |
    Not !

    1 Like

    Operators are the executions tools for the program like the name indicates

    < >= <= == !=
    && and II or ! not

    1. manipulators of values, there are many types, arithmetic, string concatenation, comparison and logic.
    2. operators that uses 2 or more values to produce an outcome i.e. + - * / and more
    3. and, or, not
    1 Like

    1.- They are symbols that perform arithmetic on numbers (literals or variables).
    2.-

    • Addition
    • Subtraction
    • Multiplication
      ** Exponentiation (ES2016)
      / Division
      % Modulus (Division Remainder)
      ++ Increment
      – Decrement

    3.-
    && logical and
    || logical or
    ! logical not

    1 Like

    Operators are tools you can use to manipulate data. There are several binary operators, such as + - < > / * %. Logical operators are and, or not and are represented as &&, || and !

    1 Like