Leave your answers to the questions below in this thread. If you have any questions or you want to discuss something connected to the assignment feel free to do it in this thread as well, but please everything to the topic.

1. What are operators?
2. What binary operators do you know?
3. What logical operators do you know?
50 Likes

1- operator is an object that is capable of manipulating a value. e.g. *, /, %, ++, –
increment, decrement, addition, subtraction or ==, ===
Operators are used to assign values, compare values, perform arithmetic operations . etc.
2- Arithmetic, relational, logical, string, comparison and assignment operators.
https://www.w3schools.com/jsref/jsref_operators.asp
3- and , or, not > &&, ||, !
if(a > b || c > d) { }
if(a > b && c > d) { }
if(a !== b) { }

22 Likes
1. Operators are a special sort of functions that will manipulate values
2. Multiplication, Addition, Shift, Relational, Equality
3. AND && and OR ||
3 Likes

What are operators?
- Operators are logical methods or steps applied to one or more pieces of data.

What binary operators do you know?
- Booleans

What logical operators do you know?
- ==, >=, <=, !=

2 Likes

1. What are operators?
2. In JavaScript operators are used to assign values, perform arithmetric operations, compare values, assign conditions, logic, typeof or deletion ect. if an operator takes one value then it is a unary operator, while if the operator uses two values, its is termed a binary operator.

3. What binary operators do you know?
4. Arithmetic operators are the simples binary operators. For example: (given that y = 5)
Name Symbol Example Result for x
Addition + x = y + 2 7
Subtraction - x = y - 2 3
Multiplication * x = y * 2 10
Division / x = y / 2 2.5
Modulus % x = y % 2 1
Increment ++ x = ++ y 6
Increment ++ x = y++ 7
Decrement -- x = -- y 4
Decrement -- x = y-- 5

There are other binary operators such as assignment , string, equal to. There are even ternary operators. For example:
variablename = (condition) ?
value1:value2

5. What logical operators do you know?
6. Logical operators determine the logic between variables or values into a boolian statement.
For exmaple given that

• x = 6

• y = 3

Name Operator Example
And && (x<10 && y>1) is true
Or || (x === 5 || y === 5) is false
Not ! !(x === y) is true
Source: web3schools
40 Likes
1. Operators allow you to evaluate conditions
2. <, >, <=, >=, ==, !=
3. &&, ||, !
2 Likes

1-

Programming languages typically support a set of operators: constructs which behave generally like functions,
but which differ syntactically or semantically from usual functions. Common simple examples include arithmetic
(addition with +), comparison (with >), and logical operations (such as AND or &&). More involved examples
include assignment (usually = or :=), field access in a record or object (usually .), and the scope resolution
operator (often ::). Languages usually define a set of built-in operators, and in some cases allow user-defined
operators.

2-

Operators that use two values are called binary operators,
while those that take one are called unary operators.

3-

``````&& : and
|| : or
!  : not
<,>, ==, =>, =< : comparison operators``````
5 Likes
• What are operators?
• Operators are symbols that tell the program what to do with various values within the program to accomplish a certain function.
• What binary operators do you know?
• less than (<), greater than, (>), equal to (==), and various combinations of the three.
• What logical operators do you know?
• And, or and not
3 Likes
1. What are operators?
2. ###### Operators are terms for the work to be done by two or more variables. An example being + or - or / or % being arithmetic operators.
3. What binary operators do you know?
4. ###### Some binary operators include =, >, <, != and more. Additionally, arithmetic operators are binary operators, but binary operators may not necessarily be arithmetic operators.
5. What logical operators do you know?
6. ###### (or) || is a logical operator. Also && is a logical operator.
1 Like
1. Operators allow you to evaluate conditions and do calculations

2. Binary Operators
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 (/)

3. Logiacal Operators
And (&&)
Or (||)
Not(!)

2 Likes

1.operators manipulate values
2. +*/
3. && || <>

1. Operators are used to validate expression, combine or transform values
2. Binary operators for JS Arithmatic operators (+, -, *, /, and %), string concatenation (+), comparison (==, !=, ===, !==, <, >, <=, >=)
3. Logical Operators for JS (&&, ||)

What are operators?
Operators use values to generate an outcome
What binary operators do you know?

• '>
• =>
• <
• <=
• ==
• !=

What logical operators do you know?

• ||
• &&
• !
1. Operators are elements that are capable of manipulating values.
2. Booleans
3. And, Or, not

Edit: Hey @ivan maybe this table could help you explain better your video “Playing with booleans in the Console”:

Cheers!

2 Likes
1. What are operators?
Practically operators are functions, which apply on 1 or more values an operation.
This operation combines or transforms the value(s) to 1 or more values.

2. What binary operators do you know?
Binary Operators are defined as operators,
which need 2 inputs like +, -, *, /, ^ (power), % (modulo), ==, ===, !=, !==, <, >, <=, >=, &&, ||, logarithm. Maybe there are more…

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

1 Like
1. Operators are used to compose basic expressions out of one or more values. Since they generate a new value out of other values they behave like functions. Operators can be unary (one value), binary (two values) or ternary (three values).
2. Binary operators: `+`, `-`, `*`, `/`, `%`, `==`, `!=`, `===`, `!==`, `<`, `>`, `<=`, `>=`, `&&`, `||`
3. Logical operators: `&&`, `||`, `!`

1- Operators are special short functions whose works over values, they can recieve one or zero params, because first param is always left value of the operation

2- +, -, /, *, %

3- >, <, ==, >=, <=, !=, ===, !==

• What are operators? Object to manipulate or condicionate the value
• What binary operators do you know? True/False 1/0 YES/NO
• What logical operators do you know? && and ||
1. Symbols that we put between values
2. +, - , * , /, %, >,<,==, =<, =>,!=
3. && - and, II - or , ! -Not

What are operators?

Different ways in which the boolean can arrive at “the truth”

What binary operators do you know?

Greater than/ less than

What logical operators do you know?

And, or, and not