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

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

Start with Question 1 →
Question 1 · 22 marks · File processing / Reading data from a text file into an array

The procedure ReadWords(): • takes a file name as a parameter • opens the file and reads in the data • stores the main word in the first element in WordArray • stores each answer…

Answer this question and get it marked →
Question 2 · 30 marks · Object-oriented programming / Class declaration and constructor

Write program code to declare the class Node and its constructor. Do not declare the other methods. Use the appropriate constructor for your programming language. If you are…

Answer this question and get it marked →
Question 3 · 23 marks · Computational thinking and problem-solving / Array declaration and initialisation

The array of integers, NumberArray, stores the following data in the order given: 100 85 644 22 15 8 1 The array is declared and initialised local to the main program. Write…

Answer this question and get it marked →

← May–June 2024 Paper 43 · May–June 2024 Paper 41 →

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