AS & A Level Computer Science (9618) — May–June 2023, Paper 23

8 questions · every question answerable online with instant point-by-point AI marking against the official mark scheme.

Start with Question 1 →
Question 1 · 10 marks · Data types and structures — arrays (dimension, indexing, size)

The following pseudocode represents part of the algorithm for a program. Line numbers are for reference only. 10 DECLARE Sheet4 : ARRAY[1:2, 1:50] OF INTEGER ... 100 FOR PCount <-…

Answer this question and get it marked →
Question 2 · 6 marks · Programming — built-in date functions; selection

A program stores a date of birth for a student using a variable, MyDOB, of type DATE. MyDOB has been assigned a valid value corresponding to Kevin's date of birth. Complete the…

Answer this question and get it marked →
Question 3 · 11 marks · Abstract data types — stacks (POP)

A program processes data using a stack. The data is copied to a text file before the program ends. The following diagram shows the current state of the stack. The operation of…

Answer this question and get it marked →
Question 4 · 6 marks · Subroutines — functions; string handling (concatenation)

A function MakeString() will: 1. take two parameters: - a count as an integer - a character 2. generate a string of length equal to the count, made up of the character 3. return…

Answer this question and get it marked →
Question 5 · 4 marks · Software development — program testing (walkthrough)

A program is designed, coded and compiled without errors. The compiled code is sent for testing. The program will be tested using the walkthrough method. Additional information…

Answer this question and get it marked →
Question 6 · 11 marks · Subroutines — procedures; iteration; string handling

A procedure Select() will: 1. take two integer values as parameters representing start and end values where both values are greater than 9 and the end value is greater than the…

Answer this question and get it marked →
Question 7 · 8 marks · Computational thinking — abstraction

A new module needs to be written to generate emails to send to students who have an overdue book. Students who are sent an email are prevented from borrowing any more books until…

Answer this question and get it marked →
Question 8 · 19 marks · File handling — reading/writing text files; string handling

The programmer has defined the first program module as follows: Module Description --- --- ChangeSupp() • called with two parameters Code1 and Code2 of type string that represent…

Answer this question and get it marked →

← May–June 2023 Paper 31 · May–June 2023 Paper 22 →

← All AS & A Level Computer Science (9618) past papers