AS & A Level Computer Science (9618) — May–June 2024, Paper 21

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

Start with Question 1 →
Question 1 · 11 marks · Data types and structures

An algorithm is developed in pseudocode before being coded in a programming language. The following table shows four valid pseudocode assignment statements. Complete the table by…

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

An algorithm has three steps. It will: 1. repeatedly input a pair of numeric values A and B 2. count the number of pairs that are input until A has been greater than B 10 times 3.…

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

The diagram shows an Abstract Data Type (ADT) representation of a linked list after data items have been added. Describe the linked list immediately after initialisation, before…

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

A global 1D array Data contains 100 elements of type integer. A function Check() will: - total the element values in odd index locations (1, 3, 5 ... 97, 99) - total the element…

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

Complete the trace table by dry running the procedure when it is called as follows: CALL Process("X3Y2W4") The trace table has the following column headings and is otherwise…

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

A function IsRA() will: - take three sets of integers as parameters representing the coordinates of the three endpoints that form a triangle - return TRUE if the endpoints form a…

Answer this question and get it marked →
Question 7 · 12 marks · Software development

When an exercise class is planned, a new module will send personalised text messages to each member who has expressed an interest in that exercise. Members wishing to join the…

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

Complete the pseudocode for module DeleteComment(). FUNCTION DeleteComment(Line : STRING) RETURNS STRING ... ENDFUNCTION

Answer this question and get it marked →

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

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