Boolean Expressions Reading assignment

  1. Operators are used to make comparisons in data inside a program.
  2. Binary operators are < (less than), > (greater than), <= (less than or equal to), >= (greater than or equal to), == (equal to), != (not equal to).
  3. Logical operators are && (and), || (or), ! (not)
1 Like

1- Operators are the entities like -, +, /,
2- Binary operators are operators that can be used between two operands.
3- Logical operators are like &&, !! and !

What are operators?

  • Operators are symbols or words that can act on values in JavaScript such as the β€œ+” and β€œ-β€œ operators

What binary operators do you know?

  • β€œ+”; β€œ-β€œ; β€œ/β€œ; β€œ*”; β€œ%”; β€œ>”; β€œ<β€œ;

What logical operators do you know?

  • And β€œ&&”
  • Or β€œ||”
  • Not β€œ!”
  1. What are operators?

They are symbols or words that tell that variables what to do.

  1. What binary operators do you know?

< or >.

  1. What logical operators do you know?

and/or/not

1 Like

1.An operator is a symbol used to perform operations. Unary, binary, Boolean, logical .
2.|=,>=,<=,==,<,>,+,-,*,%.
3.&&,|,!.

  1. What are operators?
    Operators are used to apply conditions to boolean values themselves.

  2. What binary operators do you know?
    The && operator is a binary operator, it represents and. So for instance console.log(true && true); would yield the result true as both values are true but would results in false if one or more of the values are false in this case console.log(true && false); or console.log(false && false);

  3. What logical operators do you know?
    The three logical operators that I know of are and or and not. They are represented as &&, | | and ! respectively.

  1. Operators are used to assign values, compare values, perform arithmetic operations, and more.
  2. Operators that use two values are called binary operators: ||, ==, +, /, *, &&
  3. Logical operators: and &&, or ||, not !
  1. What are operators?
    What we use in JavaScript to add logic. 1 + 1.

  2. What binary operators do you know?

  • / * -
  1. What logical operators do you know?
    && ll !
  1. Operators are symbols, for example β€œ+” and β€œ-”, that are applied to values to create a new value.

  2. The minus operator can be used as a binary operator, as well as the β€œ<”, β€œ>”, β€œ<=”," >=", β€œ==”, and β€œ!=” symbols

  3. Logical operators include β€œ&&”, " | | ", "? : "

1 Like

1. What are operators?
Operators are values that distinguish between one of only two possibilities; e.g. on and off. These are known in JavaScript as Boolean Values. Boolean Values have just two values; true or false.

2.What binary operators do you know?

< is Less than and > is greater than. >= is greater than or equal to, <= is less than or equal to. == is equal to.

3.What logical operators do you know?
These are used to reason with the values, e.g. && means β€œand”, || means β€œor” and ! means β€œnot”. An example would be != which means β€œnot equal to”.

1 Like
  1. Operators act on values.

  2. <, >, ==, !=, <=, >=

  3. &&, ||, !

What are operators?

Operators perform tasks, for ex. + is a operator in 1 + 2. It operates the values of 1 and 2.

What binary operators do you know?

True/False, Yes/No and On/Off

What logical operators do you know?

|| (OR),

&& (AND),

! (NOT)

1 Like
  1. What are operators?

Symbols that specify the operations to be performed on an input to produce an output

  1. What binary operators do you know?

Addition, Subtraction, Multiplication, Division, Modulo

  1. What logical operators do you know?

And, Or, Not

1 Like

What are operators?
Operators perform actions or transformations on values, such as addition or subtraction.

What binary operators do you know?
Anything requiring two inputs is a binary operator (+, -, *, /, %)

What logical operators do you know?
AND, OR and NOT (&&, ||, !)

**1. What are operators?**

Operators are actions we want to perform on values, whatever those might be. The simplest operators to apprehend might the mathematical ones, to add, subtract etc… JS respects the mathematical way of writing them (parenthesis precede multiplications and divisions etc…). Operators also allow you to compare values (greater than etc…). Finally you have logical operators that enable you to reason about booleans, and (&&), or (||) and not (!=).

**2. What binary operators do you know?**

Binary operators take two values and perform an action on them.
'+ : Addition
'- : Substraction
/ : Division
'* : Multiplication
% : Modulo
'> : Greater than
< : Less than
'>= : Equal or greater than
<= : Equal or less than
== : Equal
=== : Equal in both type and value
!= : Different from
!== : Different in both type and value

**3. What logical operators do you know?**

&& : And
|| : Or
! : Not
?: The conditional operator

1 Like
  1. What are operators?

JavaScript operators are used to assign values, compare values, perform arithmetic operations, and more.

  1. What binary operators do you know?
    A binary operator is an operator that operates on two operands and manipulates them to return a result. Operators are represented by special characters or by keywords and provide an easy way to compare numerical values or character strings.
    β€’ 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 (/)

  2. What logical operators do you know?
    && and
    || or
    ! not

1- Operators are symbols used to make an operation between values and return a result based on that.
2- I remember the operators addition (+), subtraction (-), multiplication (*), division (/), remainder (%), greater than (>), less than (<), equal to (==), not equal to (!=) and others.
3- I know logical operators such as β€œand” (&&), β€œor” (||), and β€œnot” (!), as seen in the book.

  1. what are operators

Arithmetic operations such as addition or multiplication take two number values and produce a new number from them. The + and * symbols are called operators. For subtraction, there is the-operator, and division can be done with the / operator.When operators appear together without parentheses, the order in which they are applied is determined by the precedence of the operators. The % symbol is used to represent there remainder operation.

2.What binary operators do you know?

Binary operators are those operators that work with two operands. For example, a common binary expression would be a + bβ€”the addition operator (+) surrounded by two operands. The binary operators are further subdivided into arithmetic, relational, logical, and assignment operators.

  1. What logical operators do you know?

There are also some operations that can be applied to Boolean values them-selves. JavaScript supports three logical operators :and, or, and not. These can be used to β€œreason” about Booleans. 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. Not is written as an exclamation mark (!). It is a unary operator that flips the value given to itβ€” !true produces false, and !false gives true.

  1. What are operators?
    Javascript operators are used to assign values, compare values & perform arithmetic operations.

  2. What binary operators do you know?
    (<) Less Than, (>) Greater than, (==) Equal to, (!=) Not equal to, addition, subtraction, division & multiplication.

  3. What logical operators do you know?
    && = and
    II = Or
    ! = Not

  1. Operators are used for all kinds of manipulations with variables. +, -, *, /, &&, etc, are operators.
  2. All arithmetic operations, <, >, =, >=, <=.
  3. And, or, not.