-
Operators are a special symbol used to perform operations on operands (values and variables)
-
(+) (-) (/) (*) (%)
-
and, or and not = (&&) (||) (!)
-
What are operators?
Set of special characters indicating specific actions on variables, numbers, strings, expressions, … -
What binary operators do you know?
+, -, *, /, #, instanceof -
What logical operators do you know?
<, >, <=, >=, &&, ||, !=,
[quote=“ivan, post:1, topic:3068”]
-
What are operators?
The + and * symbols are called operators -
What binary operators do you know?
The > and < signs are the traditional symbols for “is greater than” and “is
less than”, respectively. They are binary operators. -
What logical operators do you know?
JavaScript supports three logical operators: and, or, and not. These
can be used to “reason” about Booleans
Boolean Answers
-
Operators can perform a variety of tasks from assigning and comparing values to performing arithmetic between two values.
-
Binary operators that I have knowledge of are the + (addition operator), the - (subtraction operator), the * (multiplication operator), the / (division operator), and the % (modulo/remainder operator).
-
Logical operators that I have knowledge of are the && AND operator, the || OR operator, and the ! NOT operator.
- Operators are different actions we can execute on values. If we take, for example, two pieces of value (they can be numbers, strings of data, etc.), we can do a variety of things with them such as compare them, subtract them, multiply them and so on. The operator is the action (><=±*/ and so on) that we want to be executed on those values.
- Addition (+), Substraction (-), Multiplication (*), Division (/), Comparsion (<,>,=) and others.
- And (&&), Or (| |), Not (!).
- What are operators?
an object that is able to manipulate a value - What binary operators do you know?
multiplication, addition, division, subtraction
3)What logical operators do you know?
&& : and
II : or
! : not
, <, ==, =>, <=
- Operators are essential, in expressions, to perform arithmetic operations between various values.
Examples of arithmetic operators (binary operators) are: +, -, /, *, etc
Or to compare various values (relational operators):
E.g. : =, <=, >=, etc.
Finally, the logical operators allow the combination of Boolean expressions.
E.g. : || , &&, !
BONUS:
Conditional operator:
condition ? value1: value 2
if the condition is true, it returns the value1, if it is false, it gives the value2
- An operator is used between one or more values to determine an outcome.
- +, -, *, /
- ||, &&, ==, !==, ===
- What are operators?
• Define actions that variables will perform - What binary operators do you know?
• +, -, /, *, % - What logical operators do you know?
&& : and || : or ! : not <,>, ==, =>, =< : comparison operators
-
What are operators?
Operators are symbols that allow you to perform an operation on variable(s) and produce a result. -
What binary operators do you know?
< > == >= <= != === -
What logical operators do you know?
&& || ?
- What are operators?
Operators are elements used to manipulate and calculate values.
- What binary operators do you know?
- , -, *, /, %, &&, ||, !, ==, ===, !=, >, <, >=, <=,
- What logical operators do you know?
&&, ||, !
What are operators?
Operators perform logical or mathematical operations. Examples are + - / *
What binary operators do you know?
Binary operators work on binary digits of integer values (long, int, short, char, byte) and will return a integer.
What logical operators do you know?
These are ‘and’ ‘or’ ‘not’.
Logical operators work on boolean expressions and return boolean values of either true or false. && (‘and’ operator) will return true if both values submitted to it are True. "or’ operator || will return a True value if one of the values submitted has True in it.
Not ‘!’ operator is a unary operator and flips the value given to it. !true produces a false and !false produces true.
- Operators are logical methods or steps applied to one or more pieces of data.
/
%
- && logical and
|| logical or
! logical not
There are 3 operators that can be used to reason n Boleans: and, or, not
Binary operators are like: arithmetic, comparison.
Logical operators: && (and), || (or), !(not)
- JavaScript operators are used to assign values, compare values, perform arithmetic operations, and more.
- Binary operators for arithmetic (+, -, *, /, and %), string concatenation (+), comparison (==, !=, ===, !==, <, >, <=, >=), and logic (&&, ||).
- The logical operators && and || .
-
The +, *, -, / symbols are called operators. Plus, Minus, Multiply and Divide. Putting an operator between two values will apply it to those values and produce a new value.
-
Minus ‘-’ is a binary operator as well as a unary.
3.JavaScript supports three logical operators and, or and not. These can be used to reason about Booleans.
- What are operators?
Characters that JavaScript uses to assign or evaluate. - What binary operators do you know?
Arithmetic(+,-,*,/, and %). - What logical operators do you know?
logic (&&, ||).
[quote=“ivan, post:1, topic:3068”]
- What are operators?
Operators are symbols that indicate a type of operation to be carried out. They can involve numbers or strings. - What binary operators do you know?
So far I get the > - is greater than, < is less than, == - is equal to and != is not equal to. binary operators reference two variables. - What logical operators do you know?
&& - and - which produces true if both values are true
|| - or - produces true if either value is true
! - not - flips the value of the result it precedes
-
What are operators?
Operators are actions that examine or alter values. -
What binary operators do you know?
== Equal to
!= Not Equal to
Greater than
= Greater than or equal to
< Less than
<= Less than or equal to
- Addition
- Subtraction
- Multiplication
/ Division
% Modulo
-
What logical operators do you know?
&& And
|| Or
! Not
- What are operators?
- What binary operators do you know?
- What logical operators do you know?
1 – Operators performs some operation with values and produces a result.
2- Booleand operators have only two outputs: true or False. >,<, >=,<=, ==
3- “and” &&, “or”/ ||, and “not”/ !