AS & A Level Computer Science (9618) — October–November 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 · 9 marks · Programming — data types and expressions

A program will calculate the tax payable based on the cost of an item. Calculations will occur at many places in the program and these involve the use of one of three tax rates.…

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

A program uses three global integer variables HH, MM and SS to represent the current time in hours, minutes and seconds using the 24-hour clock notation. Midnight would be…

Answer this question and get it marked →
Question 3 · 9 marks · Algorithm design and problem-solving — file handling

An algorithm will output the last three lines from a text file Result.txt. The lines need to be output in the same order as they appear in the file. Assume: • Three variables…

Answer this question and get it marked →
Question 4 · 10 marks · Software development — error types

A program includes the following assignment statement: Result ← STRTONUM(x) / STRTONUM(y) When the program evaluates the expression in the statement, it performs a calculation.…

Answer this question and get it marked →
Question 5 · 10 marks · Software development — program development life cycle

A software developer follows a program development life cycle. The life cycle divides the development process into various stages. The following table lists some development…

Answer this question and get it marked →
Question 6 · 9 marks · Programming — arrays

A factory produces food items. The items must be used within a certain number of days after their production date. The number of days is known as the shelf life. It is different…

Answer this question and get it marked →
Question 7 · 7 marks · Software development — structure charts / decomposition

A program contains six modules with headers as follows: Pseudocode module header --- PROCEDURE Connect() FUNCTION Activate(H1 : STRING, Code : INTEGER) RETURNS BOOLEAN FUNCTION…

Answer this question and get it marked →
Question 8 · 15 marks · Programming — arrays, selection/iteration, functions

An exam paper has a maximum of 75 marks. One of five pass grades (A to E) is assigned, depending on the mark obtained. The lowest mark for a given grade is known as the grade…

Answer this question and get it marked →

← October–November 2024 Paper 22 · October–November 2024 Paper 13 →

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