Skip to main content

Cambridge Past Paper Questions

Browse 23,045questions from 25 years of O-Level & A-Level exams. Click any question to practice.

A-LevelComputer ScienceArtificial IntelligenceOct/Nov 2022

Supervised and unsupervised learning are two categories of machine learning. Describe supervised learning and unsupervised learning.

A-LevelComputer ScienceDigital LogicOct/Nov 2022

A-LevelComputer ScienceOperating SystemsOct/Nov 2022

A-LevelComputer ScienceObject-Oriented ProgrammingOct/Nov 2022

A-LevelComputer ScienceData StructuresOct/Nov 2022

A simplified linked list is used to store the names of flowers in alphabetical order. It is implemented using two 1D arrays: • Flower stores the n...

A-LevelComputer ScienceNetworkingOct/Nov 2022

Outline the functions of the Transport and Internet layers of the TCP/IP protocol suite. Transport layer Internet layer

A-LevelComputer ScienceData Structures and AlgorithmsOct/Nov 2022

The array Names [0:99] is in alphabetical order.

A-LevelComputer ScienceProgrammingOct/Nov 2022

The text file IntegerData.txt stores 100 integer numbers between 1 and 100 inclusive. A program is required to read in this data and perform search...

A-LevelComputer ScienceObject-Oriented Programming (OOP)Oct/Nov 2022

A computer program is being developed that uses a set of cards. The program is written using object-oriented programming. The program has two class...

A-LevelComputer ScienceData StructuresOct/Nov 2022

A binary tree consists of nodes. Each node has 3 integer values: a left pointer, data and a right pointer. The binary tree is stored using a global...

A-LevelComputer ScienceData Structures and AlgorithmsOct/Nov 2022

A computer program is needed to store jobs in order of priority. Each job has a job number (for example, 123) and a priority from 1 to 10, with 1 b...

A-LevelComputer ScienceObject-Oriented ProgrammingOct/Nov 2022

A computer game is being developed. The game has 10 different characters that are all active in the game. Part of the game is being written using o...

A-LevelComputer ScienceData Structures and AlgorithmsOct/Nov 2022

A program uses a linear queue to store up to 100 integers.

A-LevelComputer ScienceHardwareOct/Nov 2023

A factory makes chocolate bars. The factory uses a conveyor belt that moves the products from one stage of production to the next stage.

A-LevelComputer ScienceDatabasesOct/Nov 2023

A-LevelComputer ScienceData RepresentationOct/Nov 2023

A-LevelComputer ScienceLogic Gates and Boolean AlgebraOct/Nov 2023

A-LevelComputer ScienceSecurity, Privacy and Data IntegrityOct/Nov 2023

A-LevelComputer ScienceData RepresentationOct/Nov 2023

A-LevelComputer ScienceNetworkingOct/Nov 2023

A Local Area Network (LAN) contains four devices: • a router • two laptop computers • a server.

A-LevelComputer ScienceSystem Software and HardwareOct/Nov 2023

A computer has an Operating System (OS).

A-LevelComputer ScienceProgramming Paradigms and Program StructureOct/Nov 2023

Refer to the insert for the list of pseudocode functions and operators. 1 The following pseudocode represents part of the algorithm for a program: ...

A-LevelComputer ScienceAlgorithm Design and Problem SolvingOct/Nov 2023

2 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 ...

A-LevelComputer ScienceData Structures and Abstract Data TypesOct/Nov 2023

3 The diagram represents an Abstract Data Type (ADT). The operation of this stack may be summarised as follows: : The TopOfStack pointer points to ...

A-LevelComputer ScienceProgramming Paradigms and Program StructureOct/Nov 2023

4 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...

A-LevelComputer ScienceAlgorithm Design and Problem SolvingOct/Nov 2023

5 An algorithm is designed to find the smallest numeric value from an input sequence and count how many numeric values have been input. An example ...

A-LevelComputer ScienceProgramming Paradigms and Program StructureOct/Nov 2023

6 The pseudocode OUTPUT command starts each output on a new line. (a) A new procedure MyOutput() will take a string and a Boolean parameter. MyOutp...

A-LevelComputer ScienceSystem Software and MethodologiesOct/Nov 2023

7 An algorithm is represented by a state-transition diagram. The table shows the inputs, outputs and states for the algorithm: Current state | Inpu...

A-LevelComputer ScienceProgramming Paradigms and Program StructureOct/Nov 2023

8 A class of students are developing a program to send data between computers. Many computers are connected together to form a wired network. Seria...

A-LevelComputer ScienceProgrammingOct/Nov 2023

A shop sells car accessories. A customer order is created if an item cannot be supplied from current stock. A program is being developed to create ...

A-LevelComputer ScienceAlgorithm design and problem-solvingOct/Nov 2023

An algorithm will: 1. input a sequence of integer values, one at a time 2. ignore all values until the value 27 is input, then sum the remaining va...

A-LevelComputer ScienceAlgorithm design and problem-solvingOct/Nov 2023

The diagram represents a linked list Abstract Data Type (ADT). • Ptr1 is the start pointer. Ptr2 is the free list pointer. • Labels D40, D32, D11 a...

A-LevelComputer ScienceProgrammingOct/Nov 2023

A procedure Count() will: 1. input a value (all values will be positive integers) 2. count the number of odd values and count the number of even va...

A-LevelComputer ScienceProgrammingOct/Nov 2023

A global 1D array of integers contains four elements, which are assigned values as shown: Mix[1] ← 1 Mix[2] ← 3 Mix[3] ← 4 Mix[4] ← 2 A procedure P...

A-LevelComputer ScienceProgrammingOct/Nov 2023

A-LevelComputer ScienceAlgorithm design and problem-solvingOct/Nov 2023

A program contains six modules: [Table of Pseudocode module header] Module-X() calls Reset() Module-Y() calls Restore()

A-LevelComputer ScienceProgrammingOct/Nov 2023

A class of students are developing a program to send data between computers. Many computers are connected together to form a wired network. Serial ...

A-LevelComputer ScienceArrays and AlgorithmsOct/Nov 2023

Data is a 1D array of integers, containing 30 elements. All element values are unique.

A-LevelComputer ScienceAbstract Data Types (ADTs)Oct/Nov 2023

The diagram represents a queue Abstract Data Type (ADT). The organisation of this queue may be summarised as follows: • The FrontOfQueue pointer p...

A-LevelComputer ScienceProgramming TechniquesOct/Nov 2023

A procedure RandList() will output a sequence of 25 random integers, where each integer is larger than the previous one.

A-LevelComputer ScienceTracing and DebuggingOct/Nov 2023

A global 1D array of integers contains four elements, which are assigned values as shown: Mix[1] ← 4 Mix[2] ← 2 Mix[3] ← 3 Mix[4] ← 5 A procedure...

A-LevelComputer ScienceFunctions and ProceduresOct/Nov 2023

A function TestNum() will take a six-digit string as a parameter. The function will test whether the string meets certain conditions and will retu...

A-LevelComputer ScienceProgram Design and StructureOct/Nov 2023

A structure chart shows the modular structure of a program: [Figure X.X showing a structure chart with Module-A() calling Sub-Y1(), Sub-Y2(), and S...

A-LevelComputer ScienceData RepresentationOct/Nov 2023

Real numbers are stored in a computer using floating-point representation with: • 12 bits for the mantissa • 4 bits for the exponent • two's comple...

A-LevelComputer ScienceNetworkingOct/Nov 2023

A-LevelComputer ScienceData TypesOct/Nov 2023

A-LevelComputer ScienceFile Organisation and AccessOct/Nov 2023

A-LevelComputer ScienceComputer ArchitectureOct/Nov 2023

A-LevelComputer ScienceLogic Gates and Boolean AlgebraOct/Nov 2023

This diagram represents a logic circuit. [Figure with logic circuit diagram showing inputs A, B, C, D and output Z]

A-LevelComputer ScienceOperating SystemsOct/Nov 2023

A student buys a new computer.

← PreviousPage 143 of 461Next →

© 2026 Oracle Prep — The AI-Powered Cambridge Exam Engine