AS & A Level Computer Science (9618) — May–June 2024, 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 · 9 marks · Algorithm design and problem-solving

A program uses many complex algorithms. One algorithm is repeated in several places. The code for the algorithm is the same wherever it is used, but the calculations within the…

Answer this question and get it marked →
Question 2 · 7 marks · Algorithm design and problem-solving

A program uses a global 1D array of type string and a text file. An algorithm that forms part of the program is expressed as follows: - copy the first line from the file into the…

Answer this question and get it marked →
Question 3 · 9 marks · Data types and structures

A program uses a variable ThisIndex as the array index to access a record. Write a pseudocode clause to check whether or not the weight of an individual component is within the…

Answer this question and get it marked →
Question 4 · 11 marks · Programming and data representation

Write pseudocode for the procedure TwoParts().

Answer this question and get it marked →
Question 5 · 6 marks · Algorithm design and problem-solving

The design of the procedure does not use the most appropriate loop construct. Suggest a more appropriate construct that could be used and explain your choice. Construct ...…

Answer this question and get it marked →
Question 6 · 9 marks · Programming and data representation

Write pseudocode for procedure Progress().

Answer this question and get it marked →
Question 7 · 9 marks · Algorithm design and problem-solving

Identify the modules that would be implemented as functions.

Answer this question and get it marked →
Question 8 · 15 marks · Programming and data representation

The teacher has defined the first program module as follows: Header() will: - be called with a parameter of type string representing a line of pseudocode - if the line is a valid…

Answer this question and get it marked →

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

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