Boolean Expressions Reading assignment

1 - Operators are tools like “+”, or “-“, or even “<“ or “==“ that allow expressions to exist.

2 - Arithmetic operators like “+”, “-“, etc , assignment operators like =, +=, -=, etc, comparison operators like “<“, “>=“, “===“, etc, logical operators, type operators and bitwise operators.

3 - Logical operators are “and” which is &&, “or” which is || and “not” which is !

1 Like
  1. What are operators?
    Operators work on variables/values to produce a result.

  2. What binary operators do you know?
    +, -, *, /, %, <, >, ==, ===, <=, >=
    (+ binary logical operators mentioned below in question 3 and bitwise operators)

  3. What logical operators do you know?
    AND &&
    OR ||
    NOT (negation) !

And the ternary logical operator ?

isItRaining ? ‘take your umbrella’ : ‘leave the umbrella at home’

1 Like

While reading try to answer the following questions:

  1. What are operators? Two values that are called binary operators, while those that take on are called unary operators. ( //, &&)
  2. What binary operators do you know? True or False; Yes or No
  3. What logical operators do you know? And, or, and not

Try to answer the questions we’ve prepared for you.

1 Like
  1. What are operators?

Symbols that apply some form of arithmetic to what you have written

  1. What binary operators do you know?

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

  1. What logical operators do you know?

&& (and), || (or),

1 Like
  • What are operators?

it is a command to do an operation like + or multiply etc.

  • What binary operators do you know?

&& || and ==

  • What logical operators do you know?

&&, || and !

1 Like
  1. What are operators?
    An operator is used to perform an operation on single or multiple data values and produce a result.

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

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

1 Like

Bolean Expressions Reading.

  1. Operators are expressions that perform some operation on a single or multiple operands (data value) and produces a result. For example 3+4 = 7. The + Sign is the operator. Number 3 is on the left operand and 4 is on the right operand.

  2. Binary Operators:

  • Yes/No

  • True/False

  • On/Off

  1. Logical Operators:
  • and - &&

  • Or - ||

  • not - !

1 Like

Operators are certain symbols that act with a function to tell the program what to do with variables

<(less than) >(greater than) and = is equal

      • / %

Logical operators determine the logic between variables into true or false = boolean.
&& = And
|| Or
! Not

1 Like
  1. What are operators?
  • Operators are those who can perform an operation to primitive values, like 5+3 = 8. The “+” sign is the operator.
  1. What binary operators do you know?
  • , <, +, -, *, / and so on.

  1. What logical operators do you know?
  • &&, ||, !
1 Like
  1. What are operators?
    The operators are signs that you can use to make comparisons and conditions in javascript.

  2. What binary operators do you know?
    Equal to, greater than, less than.

  3. What logical operators do you know?
    And, or, not.

1 Like
  1. instructions to be carried out by values i.e. +, -, *, /
  2. binary operators: <.>.>=.<=.==, and !=
  3. logical operators: && for logical and; || for logical or; and ! for not
1 Like

Hi @ivan … Loving the course :slight_smile:
Just a small error I found on the Practice exercise - Boolean’s & If,Else statements

Exercise 17. should it not be:
if (a*> b) and not if (a < b)

Solution:
var a = 10;
var b = 15;
if (a < b) {
console.log(“a is greater than b”);
}
else {
console.log(“a is not greater than b”);
}

  1. operator allow evaluation of conditions
  2. arithmetic,comparison
  3. and, or, and not
1 Like
  1. Mathematical order that can affect and manipulate the value in different ways (+,-,*,/,%)
    2 > greater than < less than >= greater than or equal to <= less than or equal to
    3 && and
    || or
    ! not
1 Like
  1. Operators are logical functions in JavaScript that return either a true or false value.
    2 The binary values I know are ‘==’ , ‘<’, ‘>’, ‘>=’, ‘!=’, and ‘<=’.
  2. logical operators i know are ‘&&’ which is ‘and’, || which is ‘or’, and ‘!’ which is ‘not’.
1 Like
  1. What are operators?
    Operators allow for arithmetic on numbers, assign and compare values.
  2. What binary operators do you know?
    ==, >, >=, <, <=, !=
  3. What logical operators do you know?
    &&, ||, !
1 Like

[quote=“ivan, post:1, topic:3068”]

  • What are operators?
    Operators are symbols that define a new value between two operands, they operate an addition, subtraction, multiplication, division, etc. There are other many operators in JS.

  • What binary operators do you know?
    They operate an addition, subtraction, multiplication, division, etc.(+, - , * , / , %)

  • What logical operators do you know?
    &&(and), || (or), ! (not) and (true/false ? X : Y) (=,==)

1 Like
  1. Operators in JavaScript are used to assign values, compare values and perform arithmetic operations
  2. Binary operators include addition (+), subtraction (-), multiplication (*), division (/), less than (<), greater than (>), greater than or equal to (>=), less than or equal to (<=), (equal to (==) and not equal (!=)
  3. JavaScript has three logical operators: and (&&), or (||) and not (!).
1 Like
  1. What are operators?
    operators are used to execute math or comparative logic.
  2. What binary operators do you know?
    / * - +
  3. What logical operators do you know?
    < > = AND OR
1 Like
  1. Operators are often referred to as “modulo”

  2. instanceof, minus (-), &&, ||, psychoanalysis

  3. and,or, and not.

1 Like