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.

O-LevelComputer ScienceThe Internet and its usesOct/Nov 2025

An online clothing company has a homepage at the uniform resource locator (URL) https://www.cieclothes.com/index.html

O-LevelComputer ScienceAutomated and emerging technologiesOct/Nov 2025

A house has a smart speaker that can take voice commands as input. A person in the house can tell the smart speaker to play music or audio books.

O-LevelComputer ScienceData RepresentationOct/Nov 2025

A flower shop has a room that has an air-conditioning system. It is used to keep the room at a constant temperature for storing flowers. The owner...

O-LevelComputer ScienceHardwareOct/Nov 2025

A computer with a Von Neumann architecture has a central processing unit (CPU) that carries out the fetch-decode-execute (FDE) cycle.

O-LevelComputer ScienceData TransmissionOct/Nov 2025

Data is split into packets before it is transmitted across a network.

O-LevelComputer ScienceThe Internet and its usesOct/Nov 2025

A cyber security company specialises in security solutions that help prevent hackers being successful.

O-LevelComputer ScienceData RepresentationOct/Nov 2025

Text, images and sound are represented as binary to be processed by a computer.

O-LevelComputer ScienceAutomated and emerging technologiesOct/Nov 2025

A computer game is programmed to use artificial intelligence (AI) to create the movements and actions of the computer-controlled characters in the ...

O-LevelComputer ScienceProgrammingOct/Nov 2025

Tick (✔) one box to complete this sentence. The result of the arithmetic operation 4 ^ 2 is A 2 B 8 C 16 D 42

O-LevelComputer ScienceAlgorithm design and problem-solvingOct/Nov 2025

This pseudocode algorithm is intended to input a first name from a user and search for it in a two-dimensional (2D) array. If the name is found, th...

O-LevelComputer ScienceProgrammingOct/Nov 2025

A program is written that will only accept values between –99.99 and +99.99, inclusive. The program is to be tested. The table, when completed, sho...

O-LevelComputer ScienceProgrammingOct/Nov 2025

A length check is a type of validation check. State the purpose of a length check.

O-LevelComputer ScienceAlgorithm design and problem-solvingOct/Nov 2025

This flowchart represents an algorithm. [Figure 5.1]

O-LevelComputer ScienceBoolean logicOct/Nov 2025

Consider the logic expression: X = (J XOR NOT K) NAND NOT L

O-LevelComputer ScienceDatabasesOct/Nov 2025

A database table WATERFOWL stores some details of a range of birds found in the UK that live on or near water. The length and wingspan dimensions a...

O-LevelComputer ScienceProgrammingOct/Nov 2025

A program is required to test the fairness of the random number generator. The one-dimensional (1D) array RandomNumber[] is used to store 100000 ra...

O-LevelComputer ScienceSoftwareOct/Nov 2025

Give three ways of creating a maintainable program.

O-LevelComputer ScienceProgrammingOct/Nov 2025

Four descriptions of programming techniques and five programming techniques are given. Draw one line from each description to the relevant techniqu...

O-LevelComputer ScienceData RepresentationOct/Nov 2025

Tick (✔) one box to identify the most appropriate data type to store 'M' A integer B char C real D Boolean

O-LevelComputer ScienceAlgorithm design and problem-solvingOct/Nov 2025

Tickets for a theme park are booked online. An adult ticket costs $12.99 and a child ticket costs $7.99. A booking fee of $1.99 is added to the tot...

O-LevelComputer ScienceAlgorithm design and problem-solvingOct/Nov 2025

A program has been written in pseudocode to input five numbers between 1 and 900 inclusive and store the highest number and the lowest number enter...

O-LevelComputer ScienceAlgorithm design and problem-solvingOct/Nov 2025

The flowchart represents an algorithm. [Figure 6.1]

O-LevelComputer ScienceData RepresentationOct/Nov 2025

An algorithm has been written in pseudocode to: • input a whole number between 1 and 255 inclusive • convert the input to an 8-bit binary number • ...

O-LevelComputer ScienceDatabasesOct/Nov 2025

A school has set up a database table EquipmentLoan to record details of school equipment loaned to students. EquipmentID Description N...

O-LevelComputer ScienceProgrammingOct/Nov 2025

The variables Name, Age and Found are used in a computer program. Name holds the name of a person. Age holds the age of a person as a whole number....

O-LevelComputer ScienceProgrammingOct/Nov 2025

A number game has two players. Random whole numbers are generated for each player. The numbers are compared and players are given points based on t...

A-LevelComputer ScienceDatabasesMay/June 2021

Raj owns houses that other people rent from him. He has a database that stores details about the people who rent houses, and the houses they rent. ...

A-LevelComputer ScienceArtificial intelligenceMay/June 2021

Aisha manages a team of software developers.

A-LevelComputer ScienceHardwareMay/June 2021

A logic expression is given: S = (A AND B AND C) OR (B XOR C)

A-LevelComputer ScienceProcessor fundamentalsMay/June 2021

The table shows part of the instruction set for a processor. The processor has one general purpose register, the Accumulator (ACC), and an Index Re...

A-LevelComputer ScienceHardwareMay/June 2021

Seth uses a computer for work.

A-LevelComputer ScienceData representationMay/June 2021

A computer uses the ASCII character set.

A-LevelComputer ScienceSoftware developmentMay/June 2021

Jennifer is writing a computer program for her A Level homework.

A-LevelComputer ScienceSecurity, privacy and data integrityMay/June 2021

A company has several security measures in place to prevent unauthorised access to the data on its computers.

A-LevelComputer ScienceProgrammingMay/June 2021

Refer to the insert for the list of pseudocode functions and operators. 1 (a) A program is being developed to help manage the membership of a footb...

A-LevelComputer ScienceSoftware developmentMay/June 2021

2 (a) Four program modules form part of a program for a library. A description of the relationship between the modules is summarised as follows: M...

A-LevelComputer ScienceProgrammingMay/June 2021

3 (a) A concert venue uses a program to calculate admission prices and store information about ticket sales. A number of arrays are used to store d...

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

4 Study the following pseudocode. Line numbers are for reference only. 10 FUNCTION Convert(Name : STRING) RETURNS STRING 11 12 DECLARE Flag: BOOLE...

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

5 A global 2D array Result of type INTEGER is used to store a list of exam candidate numbers together with their marks. The array contains 2000 ele...

A-LevelComputer ScienceData types and structuresMay/June 2021

6 The following diagram represents an Abstract Data Type (ADT) for a linked list. [Figure showing linked list: Box -> A -> Box -> C -> Box -> D -> ...

A-LevelComputer ScienceProgrammingMay/June 2021

7 A program is needed to take a string containing a full name and produce a new string of initials. Some words in the full name will be ignored. Fo...

A-LevelComputer ScienceProgrammingMay/June 2021

Refer to the insert for the list of pseudocode functions and operators.

A-LevelComputer ScienceComputational thinking and problem-solvingMay/June 2021

(a) Examine the following state-transition diagram. [Figure 2.a]

A-LevelComputer ScienceData types and structuresMay/June 2021

The following diagram represents an Abstract Data Type (ADT). [Figure 3]

A-LevelComputer ScienceComputational thinking and problem-solvingMay/June 2021

A teacher uses a paper-based system to store marks for a class test. The teacher requires a program to assign grades based on these results. The pr...

A-LevelComputer ScienceProgrammingMay/June 2021

A student is learning about arrays. She wants to write a program to: • declare a 1D array RNum of 100 elements of type INTEGER • assign each elemen...

A-LevelComputer ScienceProgrammingMay/June 2021

A procedure CountVowels () will: • be called with a string containing alphanumeric characters as its parameter • count and output the number of occ...

A-LevelComputer ScienceSoftware developmentMay/June 2021

A procedure, FormatName(): • is called with a string containing words and spaces as its parameter. In this context, a word is any sequence of chara...

A-LevelComputer ScienceProgrammingMay/June 2021

A program is needed to take a string containing a full name and to produce a new string of initials. Some words in the full name will be ignored. F...

A-LevelComputer ScienceProgrammingMay/June 2021

Refer to the insert for the list of pseudocode functions and operators. A program is being developed to help manage the membership of a football club.

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