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 ScienceProgrammingOct/Nov 2022

A teacher is designing a program to perform simple syntax checks on programs written by students. Student programs are submitted as text files, whi...

A-LevelComputer ScienceProgrammingOct/Nov 2022

Refer to the insert for the list of pseudocode functions and operators. 1 (a) A programmer is developing an algorithm to solve a problem. Part of t...

A-LevelComputer ScienceProgrammingOct/Nov 2022

2 (a) An algorithm will process data from a test taken by a group of students. The algorithm will prompt and input the name and test mark for each ...

A-LevelComputer ScienceData types and structuresOct/Nov 2022

3 A stack is used in a program to store string data which needs to be accessed in several modules.

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

4 The program flowchart represents a simple algorithm.

A-LevelComputer ScienceHardwareOct/Nov 2022

5 Examine the following pseudocode. IF A = TRUE THEN IF B = TRUE THEN IF C = TRUE THEN CALL Sub1() ELSE CALL Sub2() ENDIF...

A-LevelComputer ScienceProgrammingOct/Nov 2022

6 (a) The factorial of an integer number is the product of all the integers from that number down to 1. In general, the factorial of n is n × (n-1)...

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

7 A teacher is designing a program to perform simple syntax checks on programs written by students. Two global 1D arrays are used to store the synt...

A-LevelComputer ScienceProgrammingOct/Nov 2022

A program is required for a shopping website.

A-LevelComputer ScienceFurther programmingOct/Nov 2022

A program is being designed for a smartphone to allow users to send money to the charity of their choice. Decomposition will be used to break the p...

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

An algorithm is needed to process a sequence of numbers. Numbers may be positive or negative and may be integer or decimal. The algorithm will: • p...

A-LevelComputer ScienceData types and structuresOct/Nov 2022

A program contains a 1D array DataItem with 100 elements. State the one additional piece of information required before the array can be declared.

A-LevelComputer ScienceProgrammingOct/Nov 2022

A text string contains three data items concatenated as shown: <StockID><Description><Cost> Item lengths are: Item Length StockID 5 Description 32 ...

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

Components are weighed during manufacture. Weights are measured to the nearest whole gram. Components that weigh at least 3 grams more than the max...

A-LevelComputer ScienceData types and structuresOct/Nov 2022

A teacher is designing a program to perform simple syntax checks on programs written by students. Two global 1D arrays are used to store the syntax...

A-LevelComputer ScienceData representationOct/Nov 2022

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

A-LevelComputer ScienceCommunication and internet technologiesOct/Nov 2022

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

A-LevelComputer ScienceData types and structuresOct/Nov 2022

State what is meant by the term enumerated data type.

A-LevelComputer ScienceSystem softwareOct/Nov 2022

Draw one line to connect each stage of compilation to its most appropriate description. Stage of compilation Description Lexical analysis minimis...

A-LevelComputer ScienceData types and structuresOct/Nov 2022

Write the infix expression in Reverse Polish Notation (RPN). a * b + b - d + 15

A-LevelComputer ScienceSecurityOct/Nov 2022

A message is encrypted using a private key and sent to an individual using asymmetric encryption.

A-LevelComputer ScienceHardwareOct/Nov 2022

Complete the Karnaugh map (K-map) for the Boolean expression. Z = Ā. B. C. D + Ā. B. C. D + A. B. C. D + A. B. C. D + A. B. C. D + A. B. C. D AB 00...

A-LevelComputer ScienceSystem softwareOct/Nov 2022

Virtual memory, paging and segmentation are used in memory management.

A-LevelComputer ScienceArtificial intelligenceOct/Nov 2022

Deep learning is used in Artificial Intelligence (AI).

A-LevelComputer ScienceFurther programmingOct/Nov 2022

Define these Object-Oriented Programming (OOP) terms: Instance Inheritance Polymorphism

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

The array Names [0:99] is in alphabetical order. Complete this pseudocode binary search algorithm. Lower ← 0 Mid ← 0 Exit ← FALSE OUTPUT "Enter the...

A-LevelComputer ScienceData representationOct/Nov 2022

Normalised floating-point numbers are stored in a computer system using two's complement for both the mantissa and the exponent with: • 11 bits fo...

A-LevelComputer ScienceSystem softwareOct/Nov 2022

Lexical analysis and syntax analysis are stages in the compilation of a program.

A-LevelComputer ScienceCommunication and internet technologiesOct/Nov 2022

Explain why a protocol is used in communication between computers.

A-LevelComputer ScienceProgrammingOct/Nov 2022

A program to manage regular flight details at an airport requires some user-defined data types.

A-LevelComputer ScienceHardware and virtual machinesOct/Nov 2022

Describe what is meant by a virtual machine. Include in your answer two benefits and two drawbacks of using a virtual machine.

A-LevelComputer ScienceSecurityOct/Nov 2022

State two differences between symmetric and asymmetric encryption.

A-LevelComputer ScienceArtificial intelligenceOct/Nov 2022

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

A-LevelComputer ScienceHardwareOct/Nov 2022

Draw a logic circuit for an SR flip-flop and label the inputs. [Figure X.X]

A-LevelComputer ScienceSystem softwareOct/Nov 2022

Explain the need for scheduling in process management.

A-LevelComputer ScienceFurther programmingOct/Nov 2022

Define Encapsulation:

A-LevelComputer ScienceData types and 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 ScienceCommunication and internet technologiesOct/Nov 2022

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

A-LevelComputer ScienceData types and structuresOct/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 ScienceFurther programmingOct/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 types and 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 types and structuresOct/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 ScienceFurther 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 types and structuresOct/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

State what is meant by the following terms in a relational database model. Entity Primary key Referential integrity

A-LevelComputer ScienceData representationOct/Nov 2023

State one difference between a kibibyte and a megabyte.

A-LevelComputer ScienceHardwareOct/Nov 2023

Write the Boolean expression that corresponds to the following logic circuit. [Figure X.X]

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

State the meaning of privacy of data.

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