Computational thinking — AS & A Level Computer Science (9618) questions by topic
Deciding when to use modules with local rather than global variables, declaring and initialising an integer array, designing a module that emails students about overdue books, and reading data from a file into a stack are the demands of this topic, worth anything from 6 to 30 marks across 10 real questions from 2023 to 2025 papers.
Write, state, test, show and identify are the top command words, and test means tracing or running the logic against given inputs to demonstrate it behaves correctly, not just asserting that it works. Because this topic combines design reasoning with actual code, writing a full solution and checking it against instant marking is the clearest way to confirm the design decision, such as choosing local variables, was implemented correctly.
May–June 2025, Paper 23
A program is being developed for the management of a sports centre. The programmer developing the software decides to use modules (procedures or functions) and local variables.…
Answer this question and get it marked →May–June 2025, Paper 31
A medical centre uses objects of the class Appointment to record treatments given and medication prescribed during each doctor's appointment. Some of the attributes required in…
Answer this question and get it marked →May–June 2025, Paper 32
Data types can be defined using pseudocode. The composite record data type, Departure, is used to represent flights from Cambridge Airport and is defined in pseudocode as: TYPE…
Answer this question and get it marked →May–June 2025, Paper 41
A program stores data in a binary tree that is designed using Object-Oriented Programming (OOP). The tree stores data in ascending numerical order, for example: a tree with root…
Answer this question and get it marked →May–June 2025, Paper 42
A program reads data from a text file and stores it in a stack. The stack Stack is stored as a 1D array of up to 20 elements. The pointer TopOfStack stores the index of the last…
Answer this question and get it marked →A program stores data in a 1D array of records, HashTable. The array has space for 200 records. Each data item is stored in a specific index of the array that is calculated using…
Answer this question and get it marked →A program stores data about animals using Object-Oriented Programming (OOP). The class Animal stores the data about animals: Animal --- --- Name : String stores the name of the…
Answer this question and get it marked →May–June 2024, Paper 42
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 2023, Paper 23
A new module needs to be written to generate emails to send to students who have an overdue book. Students who are sent an email are prevented from borrowing any more books until…
Answer this question and get it marked →May–June 2023, Paper 42
A 1D array needs to store the names of 10 animals. Write program code to declare the global string array Animals to store 10 items. Save your program as Question1J2023. Copy and…
Answer this question and get it marked →Other AS & A Level Computer Science topics
- Programming (79)
- Data types and structures (74)
- Algorithm design and problem-solving (36)
- Information representation (31)
- Communication and internet technologies (29)
- Boolean algebra and logic circuits (29)
- Processor fundamentals (27)
- Software development (27)
- Hardware (18)
- System software (17)
- Security, privacy and integrity of data (13)
- Databases (13)