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 ScienceSecurity, privacy and data integrityMay/June 2022

A message is to be sent securely. Software uses a key to encrypt the message before it is sent.

A-LevelComputer ScienceProcessor fundamentalsMay/June 2022

The table shows assembly language instructions for a processor that has one general purpose register, the Accumulator (ACC). Instruction Table: Lab...

A-LevelComputer ScienceData types and structuresMay/June 2022

Data types can be defined using pseudocode. The data type, BuildingRecord, is defined in pseudocode as: TYPE BuildingRecord DECLARE BuildingID : IN...

A-LevelComputer ScienceFurther programmingMay/June 2022

A declarative language is used to represent the following facts about a school. 01 teaches(alan, mathematics). 02 teaches(ioana, geography). 03 tea...

A-LevelComputer ScienceCommunication and internet technologiesMay/June 2022

The TCP/IP protocol suite has four layers. The application layer provides user services.

A-LevelComputer ScienceSystem softwareMay/June 2022

The following syntax diagrams show the syntax of: • a variable • an unsigned integer • a letter a digit • an operator • an assignment statement. [F...

A-LevelComputer ScienceHardwareMay/June 2022

There are four basic categories of computer architecture. Single Instruction Single Data (SISD) is one architecture. Identify the three other categ...

A-LevelComputer ScienceHardwareMay/June 2022

A logic circuit has two inputs A and B, and two outputs E and F. [Figure X.X showing a logic circuit with inputs A, B and outputs E, F]

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

A digital signature is used to validate the authenticity of an electronic message. In order to produce a digital signature, a digital certificate i...

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

A binary search or a linear search can be used to look for a specific value in an array.

A-LevelComputer ScienceProgrammingMay/June 2022

State the reasons for including exception handling routines when writing a program. Include an example of an exception in your answer.

A-LevelComputer ScienceCommunication and internet technologiesMay/June 2022

Data can be sent over networks using either circuit switching or packet switching. Describe both methods of data transmission. Include a different ...

A-LevelComputer ScienceSystem softwareMay/June 2022

A virtual machine is used to emulate a new computer system. Describe two benefits and one limitation of using a virtual machine for this purpose. B...

A-LevelComputer ScienceProgrammingMay/June 2022

The text file HighScore.txt stores the players who have scored the top ten scores in a game, in descending order of score. The file stores the 3-ch...

A-LevelComputer ScienceFurther programmingMay/June 2022

A computer game is being developed using object-oriented programming. One element of the game is a balloon. This is designed as the class Balloon. ...

A-LevelComputer ScienceData types and structuresMay/June 2022

A program uses a circular queue to store strings. The queue is created as a 1D array, QueueArray, with 10 string items. The following data is store...

A-LevelComputer ScienceData types and structuresMay/June 2022

A program needs to use a stack data structure. The stack can store up to 10 integer elements. A 1D array StackData is used to store the stack globa...

A-LevelComputer ScienceData types and structuresMay/June 2022

A 2D array stores data entered by a user.

A-LevelComputer ScienceFurther programmingMay/June 2022

A programmer is designing a computer game that uses a set of cards. Each card has a number and a colour. The cards are saved in the text file CardV...

A-LevelComputer ScienceCommunication and internet technologiesMay/June 2023

A company has a LAN (local area network).

A-LevelComputer ScienceDatabasesMay/June 2023

A horse riding school uses a database, Lessons, to store data about lesson bookings. This database is created and managed using a Database Manageme...

A-LevelComputer ScienceProcessor fundamentalsMay/June 2023

A program is written in assembly language.

A-LevelComputer ScienceData representationMay/June 2023

Data in a computer is stored in binary form.

A-LevelComputer ScienceProcessor fundamentalsMay/June 2023

A student has purchased a new laptop.

A-LevelComputer ScienceHardwareMay/June 2023

Draw the logic circuit for this logic expression: Z = (R XOR S) AND (NOT T NOR P)

A-LevelComputer ScienceSoftware developmentMay/June 2023

A software developer is working in a team writing a program for a client.

A-LevelComputer ScienceSoftware developmentMay/June 2023

Refer to the insert for the list of pseudocode functions and operators. A programmer has written a program which includes the function Calculate()....

A-LevelComputer ScienceProgrammingMay/June 2023

A program contains an algorithm to output a string of a specified length containing identical characters.

A-LevelComputer ScienceData types and structuresMay/June 2023

Customers collect points every time they make a purchase at a store. A program is used to manage the points system and the table lists some of the ...

A-LevelComputer ScienceProgrammingMay/June 2023

Function Replace() will: 1. take three parameters: • a string (the original string) • a char (the original character) • a char (the new character) ...

A-LevelComputer ScienceSoftware developmentMay/June 2023

Several companies are developing websites to market a new type of games console. The company that is first to create a website that can demonstrate...

A-LevelComputer ScienceData types and structuresMay/June 2023

A video-conferencing program supports up to six users. Speech from each user is sampled and digitised (converted from analogue to digital). Digitis...

A-LevelComputer ScienceSoftware developmentMay/June 2023

A school has a computerised library system that allows students to borrow books for a fixed length of time. The system uses text files to store det...

A-LevelComputer ScienceProgrammingMay/June 2023

A computer shop assembles computers using items bought from several suppliers. A text file Stock.txt contains information about each item. Informa...

A-LevelComputer ScienceFurther programmingMay/June 2023

A program calculates the postal cost based on the weight of the item and its destination. Calculations occur at various points in the program and t...

A-LevelComputer ScienceFurther programmingMay/June 2023

A program stores a user's date of birth using a variable MyDOB of type DATE.

A-LevelComputer ScienceData types and structuresMay/June 2023

A program stores data in a text file. When data is read from the file, it is placed in a queue. (a) The diagram below represents an Abstract Data ...

A-LevelComputer ScienceFurther programmingMay/June 2023

A function GetNum() will: 1. take two parameters: a string and a character 2. count the number of times that the character occurs in the string 3. ...

A-LevelComputer ScienceFurther programmingMay/June 2023

A programmer has produced the following pseudocode to output the square root of the numbers from 1 to 10. Line numbers are for reference only. 10...

A-LevelComputer ScienceFurther programmingMay/June 2023

A procedure Square() will take an integer value in the range 1 to 9 as a parameter and output a number square. The boundary of a number square is ...

A-LevelComputer ScienceSystem softwareMay/June 2023

A computer system for a shop stores information about each customer. The items of information include name and address (both postal and email) toge...

A-LevelComputer ScienceData types and structuresMay/June 2023

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

A-LevelComputer ScienceProgrammingMay/June 2023

A program stores a date of birth for a student using a variable, MyDOB, of type DATE.

A-LevelComputer ScienceData types and structuresMay/June 2023

A program processes data using a stack. The data is copied to a text file before the program ends. (a) The following diagram shows the current stat...

A-LevelComputer ScienceProgrammingMay/June 2023

A function MakeString() will: 1. take two parameters: • a count as an integer • a character 2. generate a string of length equal to the cou...

A-LevelComputer ScienceSoftware developmentMay/June 2023

A program is designed, coded and compiled without errors. The compiled code is sent for testing.

A-LevelComputer ScienceProgrammingMay/June 2023

A procedure Select () will: 1. take two integer values as parameters representing start and end values where both values are greater than 9 and the...

A-LevelComputer ScienceSoftware developmentMay/June 2023

A school has a library system which allows students to borrow books for a length of time. Information relating to students and books is stored in t...

A-LevelComputer ScienceProgrammingMay/June 2023

A computer shop assembles desktop computers, using items bought from several suppliers. A text file Stock.txt contains information about each item....

A-LevelComputer ScienceData representationMay/June 2023

Numbers are stored in two different computer systems by using floating-point representation. System 1 uses: • 10 bits for the mantissa • 6 bits for...

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