4.2.8 Deduce the efficiency of an algorithm in the context of its use.
4.2.9 Determine the number of times a step in an algorithm will be performed for given input data.
4.3.7 Define the operators =,≠, <, <=, >, >=, mod, div.
== Equal to
!= Not equal to
> Greater than
>= Greater than or equal to
< Less than
<= Less than or equal to
&& Conditional-AND
|| Conditional-OR
?: Ternary (shorthand for if-then-else statement)
Format (<boolean expression>? expression1: expression2)
+ Unary plus operator; indicates
positive value (numbers are
positive without this, however)
- Unary minus operator; negates
an expression
++ Increment operator; increments
a value by 1
-- Decrement operator; decrements
a value by 1
! Logical complement operator;
inverts the value of a boolean