(a) Convert the decimal number 45 into an 8-bit binary number. [1]
(b) Convert your answer to part (a) into hexadecimal. [1]
(c) Convert the hexadecimal number 9F into decimal. Show your working. [2]
- (a) 00101101 (must be 8 bits as the question asks; 101101 alone does not score)(1)
- (b) 2D (follow through from an incorrect (a) if grouped into nibbles correctly)(1)
- (c) 9 × 16 + 15 (or 9F = 1001 1111 with place values shown, 128+16+8+4+2+1)(1)
- (c) = 159(1)
- Answer: (a) 00101101 (b) 2D (c) 159
- Examiner tip: For binary to hex, split into groups of four bits from the right (0010 1101 = 2D); in hex, F = 15, not 16.