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.
Riya has created the following logo as a vector graphic. [Figure showing a rectangle with the letter 'R' inside it]
A shop sells plants to customers. The shop manager has a relational database to keep track of the sales. The database, PLANTSALES, has the followi...
A computer has system software.
The Von Neumann model for a computer system uses registers.
Sylvia is testing a program that has been written by her colleague. Her colleague tells her that the program does not contain any syntax errors.
An algorithm to sort a 1D array into ascending order is described as follows: • move the largest value to the end • keep repeating until the array...
The diagram below represents a queue Abstract Data Type (ADT) that can hold a maximum of eight items. The operation of this queue may be summarise...
A program controls the heating system in a sports hall. Part of the program involves reading a value from a sensor. The sensor produces a numeric ...
The following data items will be recorded each time a student successfully logs on to the school network: Data item Example data Student ID ...
A mobile phone has a touchscreen. The screen is represented by a grid, divided into 800 rows and 1280 columns. The grid is represented by a 2D arr...
(a) An algorithm will: 1. input an integer value 2. jump to step 6 if the value is zero 3. sum and count the positive values 4. sum and count the n...
A programmer is writing a program to help manage clubs in a school. Data will be stored about each student in the school and each student may join ...
The following is a procedure design in pseudocode. Line numbers are given for reference only. 10 PROCEDURE Check(InString : STRING) 11 DECLARE Odd...
A company has several departments. Each department stores the name, email address and the status of each employee in that department in its own tex...
An algorithm to sort a 1D array into ascending order is described as follows: • move the largest value to the end • keep repeating until the array ...
A program controls the heating system in a sports hall. Part of the program involves reading a value from a sensor. The sensor produces a numeric v...
Numbers are stored in a computer using floating-point representation with: • 12 bits for the mantissa • 4 bits for the exponent • two's complement ...
Draw one line from each programming paradigm to its most appropriate description. [Figure 2.1]
Enumerated and pointer are two non-composite data types.
The following syntax diagrams for a particular programming language show the syntax of: • a digit • a capital letter • a character. [Figure 4.1]
Compare sequential and serial methods of file organisation.
Explain how packet switching is used to transfer messages across the internet.
(a) Write the Boolean expression that corresponds to the given truth table as a sum-of-products. INPUT OUTPUT A B C D Z 0 0 0 0 0 0 0 0 1 ...
Describe the purpose of the Secure Sockets Layer (SSL) and Transport Layer Security (TLS) protocols.
(a) The diagram shown represents an artificial neural network. [Figure 9.1]
The function StackFull() checks whether a stack is full. The function uses the variable TopOfStack to represent the pointer to the most recent pos...
Draw one line from each programming paradigm to its most appropriate description. Programming paradigm Declarative Imperative Low-level Object-ori...
Write the Boolean expression that corresponds to the given truth table as a sum-of-products. INPUT OUTPUT A B C D Z 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 ...
The diagram shown represents an artificial neural network.
State three essential features of recursion.
Study the following pseudocode for a recursive function. FUNCTION Unknown(BYVAL X, BYVAL Y : INTEGER) RETURNS INTEGER IF X < Y THEN OUTPUT X + Y RE...
A program, written using object-oriented programming, stores pictures as objects. The program stores the dimensions of the picture (width and heigh...
An ordered binary tree stores integer data in ascending numerical order. The data for the binary tree is stored in a 2D array with the following st...
Compilers and interpreters translate programs written in a high-level language into a low-level language.
Convert the two's complement binary integer into denary. 10010110
A greenhouse has an automatic window. The window (X) operates according to the following criteria: [Table: Parameter, Description of parameter, Bi...
State the difference between data verification and data validation.
A relational database, GARDEN, has the following tables: OWNER(OwnerID, FirstName, TelephoneNo, TreeID, TreePosition) TREE(TreeID, ScientificName, ...
A student uses a networked laptop computer to send an email to a colleague. The student records a sound file.
The following table shows part of the instruction set for a processor. The processor has one general purpose register, the Accumulator (ACC), and a...
The following bitmap image has a resolution of 4096 × 4096 pixels and a colour depth of 24 bits per pixel. [Figure: Black rectangle with a white ar...
One use of Artificial Intelligence (AI) is for facial recognition software.
A Local Area Network (LAN) consists of four computers, one server and a switch. The LAN uses a star topology. A router is attached to one of the d...
Refer to the insert for the list of pseudocode functions and operators. (a) An algorithm includes a number of complex calculations. A programmer i...
A system is being developed to help manage a car hire business. A customer may hire a car for a number of days. An abstract model needs to be produ...
A 1D array Data of type integer contains 200 elements. Each element has a unique value. An algorithm is required to search for the largest value an...
The following diagram shows an Abstract Data Type (ADT) representation of an ordered linked list. The data item stored in each node is a single cha...
A program uses two 1D arrays of type integer. Array1 contains 600 elements and Array2 contains 200 elements. Array1 contains sample values read fro...
The following pseudocode algorithm attempts to check whether a string is a valid email address. FUNCTION IsValid(InString : STRING) RETURNS BOOLEAN...
A simple arithmetic expression is stored as a string in the format: <Value1><Operator><Value2> An operator character is one of the following: '+' '...