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.
An online clothing company has a homepage at the uniform resource locator (URL) https://www.cieclothes.com/index.html
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.
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...
A computer with a Von Neumann architecture has a central processing unit (CPU) that carries out the fetch-decode-execute (FDE) cycle.
Data is split into packets before it is transmitted across a network.
A cyber security company specialises in security solutions that help prevent hackers being successful.
Text, images and sound are represented as binary to be processed by a computer.
A computer game is programmed to use artificial intelligence (AI) to create the movements and actions of the computer-controlled characters in the ...
Tick (✔) one box to complete this sentence. The result of the arithmetic operation 4 ^ 2 is A 2 B 8 C 16 D 42
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...
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...
A length check is a type of validation check. State the purpose of a length check.
This flowchart represents an algorithm. [Figure 5.1]
Consider the logic expression: X = (J XOR NOT K) NAND NOT L
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...
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...
Give three ways of creating a maintainable program.
Four descriptions of programming techniques and five programming techniques are given. Draw one line from each description to the relevant techniqu...
Tick (✔) one box to identify the most appropriate data type to store 'M' A integer B char C real D Boolean
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...
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...
The flowchart represents an algorithm. [Figure 6.1]
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 • ...
A school has set up a database table EquipmentLoan to record details of school equipment loaned to students. EquipmentID Description N...
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....
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...
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. ...
Aisha manages a team of software developers.
A logic expression is given: S = (A AND B AND C) OR (B XOR C)
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...
Seth uses a computer for work.
A computer uses the ASCII character set.
Jennifer is writing a computer program for her A Level homework.
A company has several security measures in place to prevent unauthorised access to the data on its computers.
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...
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...
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...
4 Study the following pseudocode. Line numbers are for reference only. 10 FUNCTION Convert(Name : STRING) RETURNS STRING 11 12 DECLARE Flag: BOOLE...
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...
6 The following diagram represents an Abstract Data Type (ADT) for a linked list. [Figure showing linked list: Box -> A -> Box -> C -> Box -> D -> ...
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...
Refer to the insert for the list of pseudocode functions and operators.
(a) Examine the following state-transition diagram. [Figure 2.a]
The following diagram represents an Abstract Data Type (ADT). [Figure 3]
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 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 procedure CountVowels () will: • be called with a string containing alphanumeric characters as its parameter • count and output the number of occ...
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 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...
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.