Q2 L4 B - Order of Precedence Flashcards

1
Q

Order of Precedence of Classifications

A

0 - 5 Arithmetic
6. Relational
7 - 9 Logical

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Give the order of precedence from 6 - 9.

A

6 - all relational operators
7 - NOT
8 - AND
9 - OR

How well did you know this?
1
Not at all
2
3
4
5
Perfectly