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 fitness club has a computerised membership system. The system stores information for each club member: name, home address, email address, mobile ...
Refer to the insert for the list of pseudocode functions and operators. A program uses many complex algorithms. One algorithm is repeated in seve...
A program uses a global 1D array of type string and a text file. An algorithm that forms part of the program is expressed as follows: • copy the fi...
A record structure is declared to hold data relating to components being produced in a factory: TYPE Component DECLARE Item ID : STRING DECLARE Rej...
A procedure TwoParts() will input a sequence of real values, one at a time. The procedure will: • process the sequence in two parts • form a first ...
A program is being designed in pseudocode. The program contains the following declaration: DECLARE Data : ARRAY[1:1000] OF STRING A procedure Array...
A program displays a progress bar to inform the user of the progress of tasks that take a significant time to complete, such as those involving fil...
Seven program modules form part of a program. A description of the relationship between the modules is summarised below. Any return values are stat...
A teacher is designing a program to process pseudocode projects written by her students. The program analyses a student project and extracts inform...
The TCP/IP protocol suite has four layers: Transport, Application, Link, Internet
Explain what is meant by non-composite and composite data types.
Describe the sequential method of file access.
Write this Reverse Polish Notation (RPN) in infix form: 5 2 + 9 3 - / 3 *
The diagram shows a logic circuit. [Figure 6.1]
Describe what is meant by a digital certificate.
A declarative programming language is used to represent the features that are available and the features that are unavailable on different body sty...
Explain what is meant by Deep Learning in relation to Artificial Intelligence (AI).
State a condition that must be true for an array to be searchable for a binary search.
Describe the effect of changing the allocation of bits used for the mantissa and for the exponent in a floating-point number with a fixed total num...
Outline why protocols are essential for communication between computers.
Explain what is meant by the term non-composite data type and give an example of a non-composite data type. Example
Sheila has a customer called Fred. Fred wants to send Sheila a confidential document as part of a transaction. Explain how Fred uses asymmetric enc...
Write this infix expression in Reverse Polish Notation (RPN): (7 – 2 + 8) / (9 – 5)
Outline what is meant by direct access as a method of file access.
Complete the pseudocode to find an item in a 1D array Widgets of type STRING, using a linear search. DECLARE Widgets : ARRAY[1:50000] OF STRING DEC...
Outline two benefits and two limitations of a virtual machine. Benefit 1 Benefit 2 Limitation 1 Limitation 2
A declarative programming language is used to allow clients to choose daily activities at the beach. 01 activity(paddleboarding). 02 activity(saili...
Explain what is meant by Reinforcement Learning in relation to Artificial Intelligence.
A program needs to take integer numbers as input, sort the numbers and then search for a specific number.
A computer program will store data about trees. The user can enter their requirements for a tree and a suitable tree will be selected. The program ...
A program reads data from the user and stores the data that is valid in a linear queue. The queue is stored as a global 1D array, QueueData, of str...
A program is being developed to help the manager of a shop control the stock.
A program is being developed to calculate the pay of employees working for a company. A function CalculateBonus () calculates bonus pay based on t...
A student has been asked to create a simple guessing game program. This program will generate a random integer value between 1 and 100. It will the...
Study the algorithm: DECLARE Chars : ARRAY[1:4] OF CHAR DECLARE I, J : INTEGER DECLARE Key : CHAR I ← 2 Chars[1] ← 'D' Chars[2] ← 'T' Chars[3] ← '...
Stacks and queues are both abstract data types. A stack uses a top-of-stack pointer to indicate the location of the last item added to the stack. ...
A program monitors the speed of vehicles as they move around a large building site. Each vehicle contains a sensor which reads an integer value th...
A program is being developed to implement a customer loyalty scheme for a coffee shop. The programmer has decided that the following data items ne...
Refer to the insert for the list of pseudocode functions and operators. A program is being developed to control the production line in a factory.
A program to calculate the pay of employees working for a company is being designed.
An algorithm is designed to generate and output two unique random integers. Each integer value is between -10 and 10 inclusive. If both integers o...
An algorithm will: • input 100 integer values, one value at a time • store the first value input into the first location of the array Number • sto...
An automated digital camera system is used to take a sequence of pictures of animals in a garden. During the design of the system, a state-transiti...
Two arrays Data and Pointer are accessed by the procedure Place() Data and Pointer are both global arrays of type INTEGER The contents of these t...
A program is being developed to implement a customer loyalty scheme for a coffee shop. Each customer has a unique customer ID starting at 10001 wi...
A program is being developed for the management of a sports centre.
A programmer uses a number of Abstract Data Types (ADT) in the programs that she is developing. (a) A stack using memory locations 400 to 409 is us...
A programmer has been asked to create a module RollDice() to simulate multiple rolls of a dice. This module will be used as part of a program for a...
A programmer is developing a new stock control program for a shop owner to produce sales reports.
A module Parity() takes a string as a parameter. The parameter has the identifier BitString and it represents a binary value. The module will conca...