A Level Computer Science 9618 May/June 2026: past paper questions with answers
Practise 108 real questions from the May/June 2026 exam series, from Paper 1, Paper 2, Paper 3, Paper 4. See the answer and explanation as soon as you answer.
Try 8 real questions from May/June 2026
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 2026 · Paper 1 · Processor, hardware and system software
Identify one other type of translator (besides an interpreter and a compiler). [1]
Show model answer
Assembler
An assembler translates assembly language into machine code.
May/June 2026 · Paper 1 · Networks and communication
One part of the school's LAN is a wired bus topology. (b)(i) Explain how data is transmitted between two nodes in a bus topology using Ethernet. [5]
Show model answer
1 mark each to max 5 (max 4 if only Ethernet is referenced). Bus: both nodes are connected to a bus/cable; data is broadcast on the cable; but is only accepted by the intended recipient. Ethernet: uses the IP/MAC addresses of the two nodes; transmits data as frames; uses CSMA/CD; the transmitting node listens to see if the line is free and only sends when it is free; the node waits a random time if a collision is detected and then tries to send again.
Data is broadcast on the shared cable and controlled by CSMA/CD.
May/June 2026 · Paper 2 · Data structures and data types
Washing machine: control program variables MainsOn, WaterOn, DisplayOn, Tray1, Tray2 (each TRUE when the described condition holds: mains on, water supply on, display active, washing powder detected in tray 1 / tray 2). (a)(i) Identify the data type used for the five variables. [1]
Show model answer
BOOLEAN
Each variable is TRUE or FALSE.
May/June 2026 · Paper 2 · Data structures and data types
The circular queue MyQueue (8 locations) holds 1 'PIG' (Front), 2 'DOG', 3 'RAT', 4 'SPIDER' (Rear). Modules: EnQueue(<value>) adds a value, DeQueue() removes an item. (b)(ii) Complete the state of MyQueue (locations 1 to 8, with pointers) after: DeQueue(); EnQueue("HORSE"); EnQueue("CAT"). [2]
Show model answer
Location 1 ("PIG" removed/ignored), 2 "DOG" (Front), 3 "RAT", 4 "SPIDER", 5 "HORSE", 6 "CAT" (Rear), 7 and 8 empty. MP1 correct sequence of five values in locations 2 to 6; MP2 Front points to DOG (location 2) and Rear to CAT (location 6).
DeQueue moves Front to DOG; the two new items go in locations 5 and 6.
May/June 2026 · Paper 2 · Data structures and data types
Hotel rooms: a new program design creates a record for each room. Each room may have a sea view, is classified as single ('S'), double ('D') or family ('F'), and is either standard ('ST') or deluxe ('DL'). (c)(i) Complete the pseudocode: TYPE RoomData ... [3]
Show model answer
Example solution:
TYPE RoomData
(DECLARE Available : CHAR)
DECLARE RoomType : CHAR
DECLARE View : BOOLEAN
DECLARE Grade : STRING
ENDTYPE
Marks for the declared fields (two correct fields 1 mark, three correct fields 2 marks) and ENDTYPE (1 mark).
A record type groups the room type, view and grade fields (and availability, since later code tests Available).
May/June 2026 · Paper 3 · Data representation
Numbers are stored using binary floating-point representation with 10 bits for the mantissa and 6 bits for the exponent, both in two's complement form. (a) Calculate the normalised binary floating-point representation of -10.8125 in this system. Show your working (give the mantissa and exponent). [3]
Show model answer
Mantissa 1010100110, exponent 000100.
Working: positive 10.8125 = 01010.1101; two's complement (flip bits and add 1) = 10101.0011 (i.e. -16 + 4 + 1 + 0.125 + 0.0625 = -10.8125); the binary point moves 4 places, so the exponent is 4 = 000100 and the normalised mantissa (starting 10) is 1010100110. Marks: correct method to find the binary number; correct use of the exponent; correct answer in the space provided.
Convert to two's complement binary, normalise so the mantissa starts 10, and record the exponent as the number of places moved.
May/June 2026 · Paper 3 · Data structures and data types
The RPN expression 15 9 - 24 3 / * 18 6 + / is to be evaluated. Show the changing contents of the stack as the RPN expression is evaluated (11 stack columns). [4]
Show model answer
Stack contents (bottom to top) after each token: 15; 15 9; 6; 6 24; 6 24 3; 6 8; 48; 48 18; 48 18 6; 48 24; 2. One mark per ring of correct stack states (max 3, operators not allowed in stacks) plus one mark for the interim total (48) and the final total (2).
The expression equals (15 - 9) * (24 / 3) / (18 + 6) = 48 / 24 = 2.