Arithmetic, Relational/comparison,Logical/Boolean Operators Flashcards
Get the hang of this or else.
What operator is being used below and what is its function? 7 + 2 = 9
(+)
Function: Addition.
It is an Arithmetic operator.
What operator is being used below and what is its function?
7 - 2 = 5
(-)
Function: Subtraction
It is an Arithmetic operator.
What does BIDMAS stand for?
Brackets, Indices, Division, Multiplication, Addition, Subtraction
What operator is being used and what is its function?
7 * 2 = 14
(*)
Function: Multiplication
It is an Arithmetic operator.
What operator is being used and what is its function?
7/2 = 3.5
(/)
Function: Division
It is an Arithmetic operator.
What operator is being used and what is its function?
3**3 = 27
(**)
Function: Exponent
It is an Arithmetic operator (surprise!)
What will happen when a DIV operator is run?
The quotient will return as a result.
What will happen when a MOD operator is run?
The remainder will return as a result.
27 MOD 13
Result = 1
24 DIV 3
Result = 8