-
What are operators?
Operators are expressions that give a certain operation to certain values. -
What binary operators do you know?
0 and 1
What logical operators do you know?
&& β and
II β or
What are operators?
Operators are expressions that give a certain operation to certain values.
What binary operators do you know?
0 and 1
What logical operators do you know?
&& β and
II β or
1.What are Operators? -Operators are used to assign values, compare values, perform arithmetic operations, and more.
What are operators?
Operators are used in many parts of the javascript language. Typically in forms of symbols like =,+,-, or /,!=,==,>< in which are used to solve and or perform a task in the code.
What binary operators do you know?
& and,| or, ~ not, ^ xor, << zero fill left shift, >> signed right shift, >>> zero fill right shift.
What logical operators do you know?
&&, logical and, || logical or, ! logical not.
Operators do something to the expression that ultimately creates a value.
What binary operators do you know?
True and false. Some examples would be greater than and less than.
What logical operators do you know?
βAnd,β βorβ and βnot.β
I guess operator can be used not only for number value but for any type of values used in JS?
Correct, you could use them with string variables, arrays and other types of variables that need some operator between them or many.
If you have any more questions, please let us know so we can help you!
Carlos Z.
Lesson 11: Reading Assignment + Quiz: Boolean expressions
Questions:
What are operators?
Operators perform arithmetic actions on values in a function. Operators are used to assign values, compare values, perform arithmetic operations, and more.
What binary operators do you know?
&& , || , ! ,
What are operators?
They are functions/methods that manipulate.
What binary operators do you know?
Adding, Subtracting, multiplication, and division.
What logical operators do you know?
and or not
What are operators?
Operators affect variables and strings.
What binary operators do you know?
Binary operators use two values. Examples are:
β>β greater than,
< less than,
β>β= greater than or equal to,
<= less than or equal to
== equal to
!= not equal to
What logical operators do you know?
These can be used to βreasonβ about Booleans.
&& logical and
|| logical or
! logical not
Operators are commands which tell the programm to do a certain task for example an calculation/comparison and so on.
What binary operators do you know?
less than <
greater than >
equals to ==
greater than or equal to >=
less than or equal to <=
not equal to !=
What logical operators do you know?
&& : and
|| : or
! : not
&& means logical and,
|| means logical or
! means logical not
Operators operate on values.
+, -, *, /, <, >, =, !=
&&, ||