AS & A Level Computer Science (9618) — May–June 2024, Paper 43
3 questions · every question answerable online with instant point-by-point AI marking against the official mark scheme.
Start with Question 1 →Question 1 · 27 marks · Algorithms and data structures - arrays
The integer numbers will be stored in the global 1D array, DataStored, with space for up to 20 integers. The global variable NumberItems stores the quantity of items the array…
Answer this question and get it marked →Question 2 · 31 marks · Object-oriented programming - classes and constructors
Write program code to declare the class Tree and its constructor. Do not declare the other methods. Use the appropriate constructor for your programming language. All attributes…
Answer this question and get it marked →Question 3 · 17 marks · Algorithms and data structures - queues
The main program initialises all the elements in QueueData to a suitable null value, QueueHead to -1 and QueueTail to -1. Write program code for the main program. Save your…
Answer this question and get it marked →