AS & A Level Computer Science (9618) — October–November 2023, 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 · Algorithm design and problem-solving

Complete the table by writing the answer for each row: Answer --- --- The value assigned to Level when ThisValue is 40 The value assigned to Check when ThisValue is 36 The value…

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

An algorithm is expressed as follows: - input 100 numbers, one at a time - keep a total of all numbers input that have a value between 30 and 70 inclusive and output this total…

Answer this question and get it marked →
Question 3 · 8 marks · Abstract data types (ADTs)

The stack is implemented using two variables and a 1D array of 8 elements as shown. The variables are used to reference individual elements of the array, in such a way that: - the…

Answer this question and get it marked →
Question 4 · 9 marks · Programming

A global array is declared in pseudocode as follows: DECLARE Data : ARRAY[1:150] OF STRING A function TooMany() will: 1. take two parameters: - a string (the search string) - an…

Answer this question and get it marked →
Question 5 · 7 marks · Programming

The pseudocode contains three errors due to the incorrect use of operators. Identify each error and state the correction required.

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

Write pseudocode for MyOutput().

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

An algorithm is represented by a state-transition diagram. The table shows the inputs, outputs and states for the algorithm: Current state Input Output Next state --- --- --- ---…

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

Write pseudocode for module SendFile(). Assume: - module Transmit() has already been written and is used to transmit a message - the value of MyID may be used as SourceID - the…

Answer this question and get it marked →

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

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