A Level Computer Science 9618 May/June 2025: past paper questions with answers
Practise 94 real questions from the May/June 2025 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 2025
These are real past-paper questions. Think of your answer first, then open the explanation.
May/June 2025 · Paper 1 · Networks and communication
(a) Explain how data is transferred using real-time bit streaming.
Show model answer
• Video is transmitted continuously as a series of bits
• The video is uploaded to a media server
• The users download from the media server
• On download, the media server sends the data to a buffer on the user's device
• Buffer is used when there is a difference in speed between transmission and receipt
• Buffer stores data from server until recipient can receive it
• Recipient views bit stream from the buffer
4 marks: 1 each to max 4.
May/June 2025 · Paper 1 · Databases
(e) Write an SQL script to output the customer ID, the customer's name and the total cost of the customer's orders that have not been paid. The output of the total cost must have an appropriate title.
Show model answer
SELECT CUSTOMER.CustomerID, CUSTOMER.Name, Sum(ORDER.TotalCost) AS TotalOwed
FROM CUSTOMER INNER JOIN ORDER ON CUSTOMER.CustomerID = ORDER.CustomerID
WHERE ORDER.Paid = FALSE
GROUP BY CUSTOMER.CustomerID;
4 marks: 1 for SELECT clause, 1 for FROM/JOIN clause, 1 for WHERE condition, 1 for GROUP BY.
May/June 2025 · Paper 1 · Processor, hardware and system software
(b)(ii) The ACC currently contains: 0 1 0 1 0 1 0 1. Write the result after the instruction XOR &FE is run.
Show model answer
10101011
1 mark.
May/June 2025 · Paper 2 · Algorithms and software development
(a) The outer loop structure used in the algorithm is not the most appropriate. State the type of loop structure that would be the most appropriate and justify.
Show model answer
Loop structure: Count-controlled / FOR loop.
Justification: The number of iterations required is known.
2 marks: 1 for each.
May/June 2025 · Paper 3 · Networks and communication
(a) Describe the purpose of the Application Layer and the purpose of the Transport Layer.
Show model answer
Purpose of Application Layer:
• To provide services/interface with the user // access to applications
• To provide mechanisms for securing communication
• To define/provide protocols used to allow the exchange of data/communication
Purpose of Transport Layer:
• To provide logical communication between applications running on different hosts
• To ensure error-free, end-to-end delivery of data between a source and a destination, in sequence
• To break data into segments when sent and to reconstruct when received
• To regulate network connections // to provide flow control mechanisms
5 marks: up to 3 for Application Layer, up to 3 for Transport Layer (max 5).
May/June 2025 · Paper 3 · Processor, hardware and system software
(b) Explain the function of the shortest remaining time scheduling routine and give a benefit of this routine.
Show model answer
Function:
• The processes are queued as they arrive
• Processes with the shortest burst time are executed first
• It is a pre-emptive scheduling function // When a process with a shorter burst time arrives the existing process is replaced
Benefit:
• Processes with a short burst time are processed very quickly
• Waiting time is minimised
4 marks: up to 3 for function, up to 1 for benefit.
May/June 2025 · Paper 4 · Programming and object-oriented programming
(c) Write program code for the main program which attempts to store each of the integers 1 to 25 (inclusive) in the queue in ascending order using Enqueue(). Output the integer and "Successful" if stored or "Unsuccessful" if not.
Show model answer
Loop 1 to 25: call Enqueue(X), if TRUE output "X Successful" else output "X Unsuccessful".
3 marks: 1 for calling Enqueue with 1-25, 1 for storing/using return value in selection, 1 for outputting correctly.
May/June 2025 · Paper 4 · Programming and object-oriented programming
(e)(ii) Test your program. Input "TheData.txt" when prompted. Take screenshot of output and screenshot showing content of red file.
Show model answer
Screenshot showing prompt and input of "TheData.txt", and screenshot of data in Red.txt.
2 marks: 1 for prompt and input, 1 for red file data with filename shown.