Q2 L4 B - Order of Precedence Flashcards
1
Q
Order of Precedence of Classifications
A
0 - 5 Arithmetic
6. Relational
7 - 9 Logical
2
Q
Give the order of precedence from 0 to 5.
A
0 - grouping symbols 1 - ^ exponent 2 - *, / multiplication or division 3 - +, - addition or subtraction 4 - \ integer division 5 - MOD modulo division
3
Q
Give the order of precedence from 6 - 9.
A
6 - all relational operators
7 - NOT
8 - AND
9 - OR