Four values are written in different number systems.
P: binary 1001 1010
Q: hexadecimal 9C
R: denary 155
S: hexadecimal 97
Convert P, Q and S into denary. Then write the letters P, Q, R and S in order from smallest to largest.
Model answer
P: 128 + 16 + 8 + 2 = 154
Q: 9 × 16 + 12 = 144 + 12 = 156
S: 9 × 16 + 7 = 144 + 7 = 151
Order from smallest to largest: S (151), P (154), R (155), Q (156)
Explanation
Values in different bases can only be compared once they are all in the same base, and denary is the easiest. All four values are close together, so each conversion must be exact - an error of one or two changes the order.