Skip to main content

Cambridge & Pearson Edexcel Past Paper Questions

Browse 35,704 questions from Cambridge O-Level & A-Level and Pearson Edexcel IGCSE & IAL exams. Click any question to practice.

A-LevelComputer ScienceProgrammingMay/June 2025

Study the structure chart: [Figure showing a structure chart with Main, Sub_A, Sub_B modules, and parameters M, P, R, Q, V, X, W, T, U. Sub_A calls...

A-LevelComputer ScienceProgrammingMay/June 2025

A program is being developed to implement a customer loyalty scheme for a coffee shop. The programmer has decided that the following data items nee...

A-LevelComputer ScienceData types and structuresMay/June 2025

A programmer is writing a program to manage bookings for a small taxi company. The programmer requires some user-defined data types.

A-LevelComputer ScienceData representationMay/June 2025

Numbers are stored in a computer using binary floating-point representation with: • 10 bits for the mantissa • 6 bits for the exponent • two's comp...

A-LevelComputer ScienceCommunication and internet technologiesMay/June 2025

The Application Layer and Transport Layer are two layers of the TCP/IP protocol suite. Describe the purpose of the Application Layer and the purpos...

A-LevelComputer ScienceData types and structuresMay/June 2025

A linked list of nodes is used to store an ordered list of integers. Each node consists of the data, a left pointer and a right pointer, for exampl...

A-LevelComputer ScienceHardwareMay/June 2025

This truth table represents a logic circuit. INPUT OUTPUT A B C D Z 0 0 0 0 1 0 0 0 1 0 0 0 1 0 ...

A-LevelComputer ScienceSystem softwareMay/June 2025

Describe the process of executing a program using an interpreter.

A-LevelComputer ScienceSystem softwareMay/June 2025

Several syntax diagrams are shown. [Figure showing syntax diagrams for uppercase, lowercase, symbol, digit, passcode]

A-LevelComputer ScienceSystem softwareMay/June 2025

Describe what is meant by multi-tasking and how it benefits process management.

A-LevelComputer ScienceCommunication and internet technologiesMay/June 2025

Secure Socket Layer (SSL) and Transport Layer Security (TLS) are two protocols.

A-LevelComputer ScienceArtificial intelligenceMay/June 2025

Describe the purpose of a graph when used in an Artificial Intelligence (AI) system.

A-LevelComputer ScienceFurther programmingMay/June 2025

A medical centre uses objects of the class Appointment to record treatments given and medication prescribed during each doctor's appointment. Some ...

A-LevelComputer ScienceData types and structuresMay/June 2025

The pseudocode algorithm checks whether a location in a stock file StockList.dat is empty or not. The location is given by the user. If the locatio...

A-LevelComputer ScienceProgrammingMay/June 2025

Data types can be defined using pseudocode. The composite record data type, Departure, is used to represent flights from Cambridge Airport and is ...

A-LevelComputer ScienceData representationMay/June 2025

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

A-LevelComputer ScienceCommunication and internet technologiesMay/June 2025

Identify two different layers of the TCP/IP protocol suite.

A-LevelComputer ScienceCommunication and internet technologiesMay/June 2025

Circuit switching may be used as a method of data transmission. State two benefits and two drawbacks of circuit switching. Benefit 1 Benefit 2 Draw...

A-LevelComputer ScienceSystem softwareMay/June 2025

The management and scheduling of processes are tasks carried out by an operating system.

A-LevelComputer ScienceArtificial intelligenceMay/June 2025

Describe the structure of a graph as used in an Artificial Intelligence (AI) system.

A-LevelComputer ScienceSystem softwareMay/June 2025

Explain what is meant by lexical analysis during program compilation.

A-LevelComputer ScienceSystem softwareMay/June 2025

Several syntax diagrams are shown. [Figure X.X]

A-LevelComputer ScienceCommunication and internet technologiesMay/June 2025

Identify the two main protocols that form Transport Layer Security (TLS) and state the purpose of each. Protocol 1 Purpose Protocol 2 Purpose

A-LevelComputer ScienceData types and structuresMay/June 2025

A linked list of nodes is used to store an ordered list of strings. Each node consists of the data, a left pointer and a right pointer. Left pointe...

A-LevelComputer ScienceFurther programmingMay/June 2025

(a) A medical clinic uses objects of the class Patient to assign a priority and a doctor to a patient. Some of the attributes required in the class...

A-LevelComputer ScienceProgrammingMay/June 2025

The pseudocode algorithm below uses random file access to copy 50 records from a live file CurrentResults.dat to a stored file StoredResults.dat on...

A-LevelComputer ScienceData types and structuresMay/June 2025

A programmer is writing a program to manage a video library. They require a user-defined data type.

A-LevelComputer ScienceData representationMay/June 2025

Numbers are stored in a computer using binary floating-point representation with: • 8 bits for the mantissa • 8 bits for the exponent • two's compl...

A-LevelComputer ScienceHardwareMay/June 2025

This truth table represents a logic circuit.

A-LevelComputer ScienceCommunication and internet technologiesMay/June 2025

The Internet layer and Link layer are two layers of the TCP/IP protocol suite.

A-LevelComputer ScienceFurther programmingMay/June 2025

Complete the table by filling in the missing object-oriented programming (OOP) terms and descriptions.

A-LevelComputer ScienceSystem softwareMay/June 2025

Explain the process of syntax analysis during program compilation.

A-LevelComputer ScienceSystem softwareMay/June 2025

Several syntax diagrams are shown. [Figure depicting 'upper', 'digit', and 'passcode' syntax diagrams]

A-LevelComputer ScienceArtificial intelligenceMay/June 2025

State the purpose of the A* and Dijkstra's algorithms.

A-LevelComputer ScienceProgrammingMay/June 2025

The pseudocode algorithm below allows a user to input a new stock item. The random file is searched for the next empty location in the file and the...

A-LevelComputer ScienceAlgorithm design and problem-solvingMay/June 2025

An array is an Abstract Data Type (ADT).

A-LevelComputer ScienceProgrammingMay/June 2025

The recursive procedure Delete() is defined as follows: PROCEDURE Delete(Index, Target) IF Numbers (Index) > 0 THEN IF Numbers[Index] >= Tar...

A-LevelComputer ScienceData types and structuresMay/June 2025

A program stores positive integers in a circular queue. The queue is stored as a global 1D array of 20 integers with the identifier Queue. Each ind...

A-LevelComputer ScienceProgrammingMay/June 2025

A program reads data from a text file, splits the data depending on its content and stores the separated data into different files. The text file T...

A-LevelComputer ScienceFurther programmingMay/June 2025

A program stores data in a binary tree that is designed using Object-Oriented Programming (OOP). The tree stores data in ascending numerical order,...

A-LevelComputer ScienceData types and structuresMay/June 2025

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

A-LevelComputer ScienceData types and structuresMay/June 2025

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

A-LevelComputer ScienceFurther programmingMay/June 2025

A program stores data about animals using Object-Oriented Programming (OOP). The class Animal stores the data about animals. Animal Name : String S...

A-LevelComputer ScienceData types and structuresMay/June 2025

A program reads data from a text file and stores it in a queue. The linear queue Queue is stored as a 1D array of up to 50 elements. The queue has ...

A-LevelComputer ScienceAlgorithm design and problem-solvingMay/June 2025

A program sorts the data in the 1D array DataArray and searches DataArray for specific values. DataArray stores 14 integer values and is declared l...

A-LevelComputer ScienceFurther programmingMay/June 2025

A program stores data in a linked list that is designed using Object-Oriented Programming (OOP). The class Node stores data about the nodes. Node T...

A-LevelComputer ScienceSecurity, privacy and data integrityOct/Nov 2021

When designing computer systems, it is important to consider the security, integrity and privacy of the data. Draw one line from each measure to i...

A-LevelComputer ScienceHardwareOct/Nov 2021

Complete the truth table for each of the following two logic gates. [Figure showing a NOR gate and a NAND gate with empty truth tables]

A-LevelComputer ScienceCommunication and internet technologiesOct/Nov 2021

Andy likes to play computer games.

A-LevelComputer ScienceData representationOct/Nov 2021

A register stores the following binary number: 1 1 0 0 1 1 0 1

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