Boolean Expressions Reading assignment

  1. An operator performs some operation on single or multiple operands (data value) and produces a result.
    2 +, -, / , also boolean
    3…and, or , not &&,||,(!)
1 Like
  1. Generally speaking to operate means to have an effect, exert power upon or act upon an object or collection of objects, and as a result an operator can be said to be something that operates. Placing an operator between two values exerts a specific effect on those two values, producing a new value that is directly related to the operator’s intrinsic characteristics.

  2. Examples of binary operators include addition, subtraction, multiplication and division.

  3. Examples of logical operators include and, or and not.

1 Like

1.) Operators are the math signs between the values. values and operators build an expression.

2.) Binary operators are for example < and > because they equal a true or false.

3.) Logical operators are
&& “and” if both values are true, its true.
|| “or” if one of the both values is true, its true.
! “not” flips the values given. true is false and false is true.

2 Likes

What are operators?

  • Operators are used to assign or compare values, perform arithmetic operations, evaluate expressions, and more

What binary operations do you know?

Arithmetic:

  • +, -, *, /, and %

Comparison:

  • (==) Equal to
  • (!=) Not equal to
  • (===) Strict equal
  • (!==) Strict not equal to
  • (>) Greater than
  • (>=) Greater than or equal to
  • (<) Less than
  • (<=) less than or equal to

What logical operators do you know?

  • Logical ‘and’: &&
  • Logical ‘or’: ||
  • Logical ‘not’: !
1 Like
  1. Operators perform some operation on values and present a result.

  2. Arithmetic operators: +, -, *, /
    Boolean comparison operators: <, >, ==, !=, >=, <=, ===
    Assignment operators: =, +=, -=

  3. &&-AND, ||-OR, !-NOT

1 Like
  1. Operators are steps of 1 or more… applied to data to get an outcome
  2. ±/*, %, <>
    3.&&|| !
1 Like
  1. What are operators?
    Operators are symbols that signify a particular computation made with variable inputs to yield an output.
  2. What binary operators do you know?
    “>”, “<”, “==”
  3. What logical operators do you know?
    “&&”, “||”
1 Like

What are operators?
Mathematically, an operation is a calculation on one or more values called operands mapping to an output value. An operator is a symbol/sign that maps operands to output values.
https://www.digitalocean.com/community/tutorials/javascript-unary-operators-simple-and-useful

What binary operators do you know?
(and) &
(or) |
(xor) ^
(not) ~

What logical operators do you know?
(equal to) ==
(equal value and equal type) ===
(not equal) !=
(not equal value or not equal type) !==
(greater than) <
(less than) >
(greater than or equal to) <=
(lesser than or equal to) >=

1 Like

What are operators?
They are simply symbols which which represent actions for an expression
What binary operators do you know?
+, -, /, *, %
What logical operators do you know?
and (&&) , or (||), not(!)

1 Like
  1. Assign values to variables and add them together.
  2. Addition, Subtraction, Multiplication, Division
  3. &&, ||, !, and, or, not
1 Like
  1. What are operators?
    Operators are used to assign or compare values, perform arithmetic operations, evaluate expressions, and ect.

  2. What binary operators do you know?
    +, -, ^, <, >, *, /

  3. What logical operators do you know?
    &&, II, !

1 Like
  • What are operators?
    operators are function symbols that when applied between values, it will create a new value. (+, -, *, /) are the basic operators but not limited to.

  • What binary operators do you know?
    (>), (>=) greater than, greater or equal to
    (<), (<=) less than, less or equal to
    (==), (!=) equal, not equal to

  • What logical operators do you know?
    &&= and
    || = or
    ! = not

1 Like
  1. What are operators? Operators are put into code to act upon the values given to it, either creating a new result or making a determination

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

  3. What logical operators do you know? And (&&), Or (||), Not (!)

1 Like
  1. What are operators?
  • operators tell how variables interact with eachother.
  1. What binary operators do you know?
  • <,>,<=,>0,==,!=
  1. What logical operators do you know?
  • ||,&&,!
1 Like
  1. An operator performs some operation on single or multiple operands (data value) and produces a result. There are different types of operators:
  • Arithmetic Operators. These operators are + ( addition ), - ( subtraction ), * ( multiplication ), / ( division ), and % (modulo)
  • Comparison Operators. Comparison operatorsoperators that compare values and return true or false . The operators include: > , < , >= , <= , === , and !==. The result of a comparison can be TRUE, FALSE, or UNKNOWN (an operator that has one or two NULL expressions returns UNKNOWN).
  • Logical (or Relational) Operators. Logical operatorsoperators that combine multiple Boolean expressions or values and provide a single Boolean output. The operators include: && , || , and ! .
  • Assignment Operators . Assignment operators are used to assigning value to a variable. The left side operand of the assignment operator is a variable and right side operand of the assignment operator is a value. The simple assignment operator is equal ( = ), which assigns the value of its right operand to its left operand. That is, x = y assigns the value of y to x.
  • Conditional (or ternary) Operators. The conditional ( ternary ) operator is the only JavaScript operator that takes three operands: a condition followed by a question mark ( ? ), then an expression to execute if the condition is truthy followed by a colon ( : ), and finally the expression to execute if the condition is falsy.
    • Addition + ,
  • Subtraction - ,
  • Multiplication * ,
  • Division / ,
  • Remainder or Modulus % ,
  1. There are four logical operators in JavaScript : || (OR), && (AND), ! (NOT), ?? (Null)
1 Like

1)distinguish between 2 values / manipulate them
2) > <, !=, &&, ||,
3) and &&, or ||, not ! (unary), ? : (last is ternary)

1 Like
  1. Operators are symbols used to tell the computer how to execute an expression.
  2. +, -, /, *, %
    3.&&, ||, !
2 Likes

What are operators? Operators perform some operation on single or multiple operands (data value) and produces a result.

What binary operators do you know? Operators that use 2 values. For example: on/off -or- true/false

What logical operators do you know? JavaScript supports 3 logical binary operators: and (&&), or (||) and not (!). Additionally, there is a logical operator called the conditional operator (sometimes called the ternary operator since it is the only such operator in JavaScript that is operating on three values.) The conditional operator is written with a question mark (?) And a colon ( : )
Example: console.log(true ? 1 : 2);
the value on the left of the question mark “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.

2 Likes
  1. What are operators?
    Symbols that perform operations which in turn give a result

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

  3. What logical operators do you know?
    && (and), || (or) and ! (not)

2 Likes
  1. What are operators?
    Operators are use to fulfil the values.

  2. What binary operators do you know? Arithmetic operator, Relational operator, Equality operator & logical operator.

  3. What logical operators do you know?
    && - And
    || - Or
    ! - Not

1 Like