About Data representation in A Level Computer Science
Data representation is one of the 10 main topics in our A Level Computer Science (Cambridge (CAIE) 9618) question bank, and about 10% of its real questions come from it. Tayyari Karo has 110 real questions on this topic from 2021 to 2026, from Paper 1, Paper 2, Paper 3. By difficulty: 43 easy, 38 medium, 29 hard.
Work through the questions below, then open the explanation for each one. Redo the ones you missed a few days later.
Try 8 real questions
These are real past-paper questions. Think of your answer first, then open the explanation.
May/June 2026 · Paper 1 · Data representation
Identify one other character set and explain how it is different from UNICODE. [3]
Show model answer
1 mark for the identification: ASCII (accept extended ASCII or any other valid character set). Up to 2 marks for differences: fewer bits per character (ASCII 7/8 bits, UNICODE many more); fewer different characters can be represented (ASCII only the Latin alphabet); ASCII cannot be expanded indefinitely.
ASCII uses 7 or 8 bits and represents far fewer characters than UNICODE.
May/June 2025 · Paper 1 · Data representation
(b)(ii) The Unicode character '❮' has the binary value: 0010 0111 0110 1110. Convert the binary value for the character '❮' into denary.
Show model answer
10,094
1 mark.
October/November 2025 · Paper 3 · Data representation
Calculate the normalised binary floating-point representation of -76.1875 in this system. Show your working.
Show model answer
Working: 76.1875 = 64+8+4+0.125+0.0625 = 1001100.0011
-76.1875 = -128+32+16+2+1+0.5+0.25+0.0625 = 10110011.1101
Normalised: 1.01100111101 × 2^7
Mantissa: 101100111101
Exponent: 0111
Four marks for working and correct answer.
October/November 2024 · Paper 1 · Data representation
(c) Subtract the denary number 23 from the two's complement binary number 01001010. Perform this calculation using binary subtraction. Show your working.
Show model answer
Working:
23 in binary = 00010111 so minus 23 is 11101001
01001010 + 11101001 = (1)00110011
Direct subtraction:
01001010 - 00010111 = 00110011
Answer: 00110011
2 marks: 1 for working, 1 for answer.
May/June 2023 · Paper 1 · Data representation
(d)(vi) Show the result of a 3-place right logical shift on the binary number: 11001100
Show model answer
00011001
1 mark.
October/November 2022 · Paper 1 · Data representation
(b) Perform the following binary subtraction. Show your working.
10110011 − 01110101
Show model answer
00111110
Working using borrowing:
1 10 10 1
1 0 1 1 0 0 1 1
0 1 1 1 0 1 0 1
−
0 0 1 1 1 1 1 0
Working using two's complement:
10110011
Two's complement of 01110101 = 10001011
10110011
+ 10001011
=(1)00111110
2 marks: 1 for working, 1 for answer.
October/November 2022 · Paper 3 · Data representation
(b)(ii) Evaluate your infix expression from part (b)(i) when a = 5, b = 10, c = 27 and d = 12.
Show model answer
–39
1 mark.
May/June 2021 · Paper 3 · Data representation
(d)(ii) Explain how the computer system could be modified to store the denary number 513.
Show model answer
• The number of bits for the mantissa must be increased
• 11/12 bits mantissa and 5/4 bits exponent
2 marks: one mark for each correct marking point.