What are operators?
entities that operate on values
What binary operators do you know?
+, -, *, /, %, ==, !=, ===, !==, <, >, <=, >=, &&, ||
What logical operators do you know?
&& || !
What are operators?
entities that operate on values
What binary operators do you know?
+, -, *, /, %, ==, !=, ===, !==, <, >, <=, >=, &&, ||
What logical operators do you know?
&& || !
1. What are operators? Operators are symbols and reserved words used to act on a value or values
2. What binary operators do you know?
3. What logical operators do you know?
What are operators?
Operators that can act on values (numbers, strings, booleans). Putting an operator between two values will apply it to those values and produce a new value. Some operators act on only one value or even three values.
What binary operators do you know?
Operators that use two values are called binary operators;
Binary arithmetic operators are + - * / % – ++
Binary assignment operators are = += -= *= /= %=
A binary string operator is + (concatenation)
Binary comparison operators are == === i= !== > < >= <=
Binary logical operators are && || !
What logical operators do you know?
Logical operators are && || !
What are operators? Operators can be symbols or written words
What binary operators do you know? Operators that use two values (boolean)
*minus operator can be used both as a binary operator and as a unary operator
What logical operators do you know? and (&&) , or (||) , not (!)
1. What are operators?
Operators are program elements that can be apply in one or two another elements to perform computations.
2. What binary operators do you know?
I know the follow binary operators: +, -, /, *, %, &&, ||, ==, !=, >, <, >=, <=.
3. What logical operators do you know?
I know the follow logical operators: &&, ||, !.
Operators: They are used to assign values to variables, perform arithmetic, and generally compare values in a boolean type scenario and much more depending on how acquainted one is to the language.
binary operators:
examples like. the < > ( less than and greater than sign respectively)
these can be applied in a boolean situation such as .
console.log(“A”<“Z”); This would return a “false” boolean.
console.log(8/4); returns 2
console.log(8%3); returns 2
console.log(8*2); returns 16, and so on
logical operators:
these are “logic” operators. like && (and), ||(or), !(not).
e.g. var x = 6
var y= 5
( x<10 && y>1);
returns true
you get the idea.
What are operators?
are symbols used within an expression or statement
What binary operators do you know?
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 (/)
What logical operators do you know?
and (&&)
or (||)
not(!)
1 - Operators are used to build and process expressions
2 - +, -, /, *, %, &&, ||, ==, !=, >, <, >=, <=.
3 - &&(and), (and)||, (not)!
What are operators?
Operators can modify, compare, or create variables in a certain way, mathematically or logically.
What binary operators do you know?
Addition (+), subtraction (-), multiplication (*), division (/), modulus (%), power (**), less than (<), greater than (>), etc.
What logical operators do you know?
Or (||), and (&&), not (!), nand, xor, etc.
Although they are called “logical”, they can be applied to values of any type, not only boolean. The result can also be of any type.
What are operators?
Operators perform operations on one or more values that are useful to us in programming.
What binary operators do you know?
+, -, *, /, %
What logical operators do you know?
&&, ||
What are operators?
They are symbols or words that act on values.
What binary operators do you know?
/ * < > == != && || - +
What logical operators do you know?
or || and && not ! conditional ? :
What are operators?
Operators are characters that define an action to be taken with 2 or more given values.
What binary operators do you know?
add: +
subtract: -
multiply: *
divide: /
modulous (remainder): %
What logical operators do you know?
and: &&
or: ||
not: !
What are operators?
What binary operators do you know?
What logical operators do you know?
What are operators?
They are symbols used to signify an operation that affects values.
What binary operators do you know?
What logical operators do you know?
&& || !