Boolean Expressions Reading assignment

  1. What are operators?
    Operators acto on values. It is like a verb acting on nouns.
  2. What binary operators do you know?
    “-” and " &&"
  3. What logical operators do you know?
    “And” , “or” and “not”.
2 Likes

Hi @pepemadrid && is logical operator. check out this link, it will give you more information about javascript operators. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators

2 Likes
  1. JavaScript operators are used to assign / combine / transform values, compare values, perform mathematical operations, and more: a) Arithmetic operators perform arithmetic between variables and/or values; b) Assignment operators assign values to JavaScript variables; c) The + operator and the += operator concatenate (add) strings; d) Comparison operators are used in logical statements to determine equality or difference between variables or values; e) Conditional operator assigns a value to a variable based on a condition; f) Logical operators determine the logic between variables or values; etc…

  2. Binary operators: a) Arithmetic: +, , *, /, %, ++, - - (addition, subtraction, multiplication, division, remainder, increment, decrement); b) Comparison: ==, !=, ===, !==, >, <, >=, <= (equal to, not equal to, precisely equal, not precisely equal, greater than, less than, greater than or equal to, less than or equal to); c) String concatenation: +, +=, -= (concatenates or glues two strings together, counter upward, counter downward)

  3. Logical operators: && (And), || (Or), ! (Not)

2 Likes

1:an object that changes/manipulates a value. for exapmle multiplying,adding,removing,deviding,comparing,…
2:==,===,!=!==,<,>,<=,>=
3:|| or/&& and/! not

1 Like

What are operators?
Operators symbols used within the language. Operators cause action on the data and operators are used in arithmetic and objects.

What binary operators do you know?
Binary operators use values: true and false, > “is greater than”, < “is less than”, >= “is greater than or equal to”, <= “is less than or equal to”,== “is equal to”,! “is not equal to
When an operation is applied to the Boolean value, it is called a logical operator, such as: && “and”, II “or”,! “not”.

What logical operators do you know?
When an operation is applied to the Boolean value, it is a logical operator. The logical operators are && “and”, II “or”, ! , “not”.

1 Like
  1. An operator is a character that is performing different operations on given data and values.
  2. Less Than “<” & Greater than “>”,! (Not), != (Does not equal to), == (Equal to), >= (Bigger or equals), <= (Lesser or equal).
  3. (!) Not, (&&) And, (||) or.
1 Like
  1. Operators are parts of a boolean expression, such as ==, that compare two values.
  2. Binary operators include <, >, ==, and !=
  3. Logical operators include && and ||
1 Like
  • What are operators?

An operator performs some operation on single or multiple operands (data value) and produces a result.

  • What binary operators do you know?

“+”
“-”
“\”
“*”
“>”
<
“==”
!=
“>=”
<=

  • What logical operators do you know?

AND (&&) and OR (||)

1 Like
  1. Operators are mathematical symbols that perform certain operations (addition, subtraction, multiplication, division, comparison, etc.).

  2. The binary operators I know are > (“greater than”) and < (“less than”).

  3. The logical operators I know are && (for “and”), I I (for “or”), and ! (for “not”).

Thank you!

1 Like

1.Operators = performs some operations on single or multiple data value and produces a result.
2.Binary operators is an operator that take two values .
Binary operators are = ; >=; !=
3. Logical operators determine the logic between variables or values into a BOOLIAN statement.
logical Operators are and &&; or ||; not !;

1 Like

Hi, Ivan!

I just watched the video on playing around with Boolean operations in the console of a Web browser and have one question: How do you type in the logical operator sign for “or”? I can’t seem to do that on my computer.

If you can get back to me as soon as possible, please do. Thanks!

1 Like

Hi @jgentry here are pictures for mac and windows. press shift in both case(shift + |)


main-qimg-637b91293b153c5cd40419c0872c2186

1 Like

Okay. Thank you!

I don’t recall ever using those keys before, so they will be new to me.

Again, thanks!

Joanna

1 Like
  1. operators act on values, changing them, singleor multiple alues.
  2. arithmetic operators beteen to values
  3. AND OR, NAND, NOR NOT XOR
1 Like

1 What are operators?
Javascript operators are used to asign values,compare values, perform arithmitic operation and more…
2 What binary operators do you know?
Most commonly used operators in Java script programming are: +,-,/,*,<,>,=,==
3 What logical operators do you know?
|| (OR), && (AND), ! (NOT).

1 Like
  1. Operators are for example the +, -, *, / commands who can ‘operate’ the code to do something.

  2. The ones above for example, addition, substraction, multiplication and division.

  3. And (with &&), Or (with ||), Not (with !), Bigger than >, smaller than <, etc

1 Like
  1. Values are chunks of bits that represent pieces of information Operators work on a set of values to create a new output. Sometimes the operator only works on one value. This is called a uniary operator.
    2.Binary operators work on two value. They can be mathematical symbols, (+ - / * ) or text enclosed in parenthesis known as strings.
  2. Logical operators utilize logical terms (and, or, not) on Boolean expressions (true/false outcomes) to decipher reasoning.
1 Like

operators are used to assign or compare values, perform arithmetic operations, evaluate expressions

Arithmetic Operators

Arithmetic operators use numeric values as their operands and return a single numerical value.
(+,-,*,?,%,++,–)

Conditional (or Ternary) Operators

Conditional operators are used in evaluating a condition and return a value based on the evaluation of the condition. It is usually used as a shortcut to the if condition .

Comparison Operators

A comparison operator is a binary operator that takes two operands and compares their values.
(==,!=,<,>,<=,>=,)

Logical (or Relational) Operators

A logical operator is used to determine the logic between two expressions. It takes in two operands and produces a single logical value. It returns a Boolean value if used with Boolean operands and vice versa.
(&&,||,!)

Assignment Operators

An assignment operator is the operator used to provide a new value to the left operand according to the value of the right operand.
(=,+=,-=,*=,%=,/=)

1 Like
  1. An operator is an object that performs, compares and assigns some operation on single or multiple data values and produces a result.

  2. Binary operators are +, -, *, /, and %.

  3. Logical operator are “and” &&, “or” II and “not” ! .

1 Like
  1. What are operators?
    A: It is a symbol used to tell the compiler or interpreter to perform a specific operation and produce a final result.
  2. What binary operators do you know?
    A; Less than <, Greater than >, == Equal to
  3. What logical operators do you know?
    A:‘and’ &&, ‘or’ ||, and ‘not’ !
1 Like