Boolean Expressions Reading assignment

What are operators? It operates on the operands or allow you to evaluate conditions
What binary operators do you know? <,>, <=, >=, ==, != , %, ++, – , + ,-, /, *
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.
2: + //Add | - //Subtract | / //Divided by | * //Multiple | % //Modulus| < //Less than | > //Greater than

3:
&& is known as AND operator. It checks whether two operands are non-zero (0, false, undefined, null or “” are considered as zero), if yes then returns 1 otherwise 0.
|| is known as OR operator. It checks whether any one of the two operands is non-zero (0, false, undefined, null or “” is considered as zero).
! is known as NOT operator. It reverses the boolean result of the operand (or condition)

1 Like

1 - Operators are symbols that compute a function, add, subtract, multiply etc…
2 - +,==,-,*,/,!=,<,>, etc…
3 - &&, || (and, or)

1 Like
  1. Operator is codes connecting values to create a result
  2. addicition(+), substraction(-), multiplication(*), Division(/), Modulus(%), Increment(++), Decrement(–)
  3. And(&&), Or(II)
1 Like
  1. Operators allow you to evaluate conditions and do calculations.

  2. Binary Operators
    ==
    !=
    <

/
etc.

  1. Logical Operators
    &&
    ||
    !
1 Like
  1. An operator is a way of either acting on or comparing data such as mathematical operators (+, -, *, **, /) or boolean operators which return true or false.

  2. binary operators +, -, *, **, %, <, >, <=, >=, !=, ==

  3. Logical operators - Or ||, And &&, Not !

1 Like
  1. Operators assign a function such as + for addition, - for subtraction (arithmetic operators) or for comparisons and other functions)etc.
  2. Arithmetic, relational, logical, string, comparison and assignment operators.

&& logical “and”
|| logical “or”
! logical “not”

1 Like
1. What are operators?

Operators perform an action on 1 or more inputs and return a value.

2. What binary operators do you know?
  • + addition (concatenation in the context of strings)
  • - subtraction
  • * multiplication
  • / division
  • % modulo
  • +=, -=, *= are shortcut assignment operators that can be used to turn x = x + 2 into x += 2
3. What logical operators do you know?
  • > greater than
  • < less than
  • >= greater than or equal to
  • <= less than or equal to
  • && logical AND
  • || logical OR
  • == logical equals
  • != not equal
  • Comparison using the double character logical operators are not type safe- i.e "1" == 1 is true as JS will attempt to convert the values into a common type before applying equality
  • There are strict equality operator versions that only return true if the types are also equal
    • ===, !==
1 Like
  1. Operators are objects used for arithmetic operations or assignment…
  2. Arithmetic, logical, comparison and so on…
  3. &&, | | and !
1 Like
  1. In programming languages, if values are like nouns, operators are like verbs.
  2. , <, !=, ==, ===, %, +, -, *, /, &&, ||, +=, >=, <=

  3. &&, ||, !
1 Like
  1. Operators act on values.
  2. and <

  3. And, or and not
1 Like
  1. Arithmetics in between the values, that means mathematical symbols for example
  2. Addition, Subtraction, division, multiplication, etc.
  3. “and” (&&), “or” (// (I dont know how to type straight lines lol that is supposed to be two vertical lines)), and “not” ( (!) )
1 Like

1. What are operators? In JavaScript, an operator performs some operation on one or more data values and produces a result.

2. What binary operators do you know?

(>) greater than
(<) less than
(>=) greater than or equal to
(<=) less than or equal to
(==) equal to
(!=) not equal to
(===) precisely equal to
(!==) not precisely equal to

3. What logical operators do you know?

(&&) and
(||) or
(!) not

1 Like

1.Operators are symbols that has a built-in function to perform an action with respect to the two values a and b. For example: 1 + 2: the operator is a “+”, which means that it will sum the two values 1 and 2 together. Result is 3.

  1. less than (<), greater than (>), equal to (==). These can also be combined. Such as “<=” which will be smaller or equal to. You have also plus (+), minus (-), multiplication (*) and division (/) as well as modulo (%).

  2. Logical operators are AND (&&), OR (||), NOT(!)

1 Like
  1. Unary, binary, and ternary operators perform operations on single or multiple values to reach an end result value.

  2. +,-,x,/,%

  3. &&, ll, ?: , !

1 Like
  1. What are operators?
    Operators are functions that do arithmetics or comparisons of values.
  2. What binary operators do you know?
    +, -, *, /, %, <, >, and so on.
  3. What logical operators do you know?
    &&, ||, !,
1 Like
  1. JavaScript operators are used to assigning values, compare values, perform arithmetic operations.
  2. Arithmetic, Assignment, String, Comparison, Logical, Bitwise
  3. && and || or ! not
1 Like
  1. Operator are what allows arithmetic operations in Javascript
    2.Binary operators are:
  • addition+
  • subtraction-
  • multiplication*
  • modulus%
  • division/
  1. Logical operator are
  • and &&
  • or ||
1 Like
  1. What are operators?

Operators (+, -, *, /, %) are actions that operate over values to create new values.

  1. What binary operators do you know?

<, >, <=, >=, ===, !==

  1. What logical operators do you know?
    &&, ||, !=, ==
1 Like
  1. Operators are symbols that you can use to tell javascript what to do with given values so it produces a result.

  2. == (equal to), <(less than), greater than (>), => (equal or greater), =< (equal or lower)

  3. II = or, && = and, ! = not

1 Like