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.
Consider the logic expression: Z = (R OR NOT T) XOR (NOT S AND T)
A database table called SoftDrinks stores details of the soft drinks sold by a small shop. [Table with Field and Example data: Name=Cola, Supplier=...
The one-dimensional (1D) array Clubs [] is used to store the names of 12 cricket clubs in a local sports league. The two-dimensional (2D) array Sta...
Tick (✔) one box to identify a method used to design and construct a solution to a computing problem. A analysis B coding C flowchart D testing
Four logic functions and five standard symbols for logic gates are shown. Draw one line to link each logic function to its standard symbol. Not all...
Identify three different tasks in the analysis stage of the program development life cycle.
A program needs to make sure the characters input for a product code meet these rules: • The product code is six characters in length. • The first ...
A high-level programming language makes use of arithmetic, Boolean and logical operators. State how each type of operator is used. Give an example ...
Totalling and counting are standard methods of solution. Numbers are input. The number 9999.9 is the last number to be input and is ignored.
An algorithm has been written in pseudocode to find and display the maximum and minimum values in an array of 1000 positive numbers. The array List...
A logic circuit is to be built to control the opening of a safe used to store money. There are two keys, A and B, and a time switch C. The safe can...
This flowchart represents an algorithm. [Figure showing a flowchart] (a) The array List[1:5] used in the flowchart contains this data: List[1] 15 L...
A television subscription service has a new database table named Contract to store details of their subscribers' contracts. The table contains thes...
A one-player game uses the two-dimensional (2D) array Grid[] to store the location of a secret cell to be found by the player in 10 moves. Each row...
The size of a file can be measured using different data storage units.
A clothes store has a ticket system to allow customers to speak to a personal shopper. The ticket displays a ticket number in hexadecimal, for exam...
An image is converted to binary to be represented by a computer. Complete the table with the missing terms and definition about representing an ima...
A restaurant has an electronic ordering system. The system allows customers to select the food they want to order. The data for the order is transm...
Data is processed by the central processing unit (CPU) in a computer that has a Von Neumann architecture.
Data can be encrypted using asymmetric encryption.
A student's computer has primary storage. One example of primary storage is random access memory (RAM).
A robot is used to move car parts in a factory.
Each employee in a finance company has a computer and an electronic account.
A computer stores data temporarily in random access memory (RAM).
A student has an image file stored on their computer.
A programmer writes a program to store and sort all the data for the books in her home library.
An employee uses a computer that has a Von Neumann architecture to complete many different tasks in their working day.
A hospital has computers and technology that it uses when caring for its patients.
Tick (✔) one box to identify the type of test to only check for the largest or smallest acceptable value. A normal test data B abnormal test data C...
Four requirements for validating inputs and five types of validation check are given.
The following pseudocode algorithm uses a count-controlled loop to read in 10 names and store them in the array Names [] FOR Count ← 1 TO 10 OUTPUT...
A telephone number with 13 characters is input. The first character is a '+', followed by a 2-digit country code, for example: +20XXXXXXXXXxx where...
Two library routines used in programming are MOD and DIV. State the purpose of each of the library routines. Give one example pseudocode statement ...
An algorithm has been written in pseudocode to generate a random integer between 1 and 100 inclusive and store the value in N. The user enters a gu...
Consider the logic expression: X = (A AND B) XOR (B OR NOT C)
A bus company has set up a new database table called BUS to store details of the buses leaving the main bus terminal. RouteID Destination Stops Dri...
The variables A and B are used in a program. A holds a whole number and B holds text.
The flowchart represents an algorithm to calculate grades. [Figure showing flowchart]
The one-dimensional (1D) array CompetitorName[] contains the names of 25 competitors in a tournament that includes five events. Another two-dimensi...
Tick (✔) one box to complete the description of abstraction. Abstraction is part of the analysis stage of the development life cycle. Abstraction m...
A fence measuring 2 metres in height and 20 metres in length needs painting. The area of the fence needs to be calculated so that enough paint for ...
A range check is used to validate that the input temperature is an integer between –100 and 0, inclusive. Suggest suitable normal, abnormal, extrem...
State one reason for using a verification check when inputting data.
This pseudocode algorithm should allow 500 names of people and their heights to be entered and stored in two one-dimensional (1D) arrays. The name ...
This pseudocode is an algorithm. DECLARE Word : STRING DECLARE V1 : INTEGER DECLARE V2 : INTEGER DECLARE Number : INTEGER DECLARE Index : INTEGER D...
The flowchart shows an algorithm that is used to input 50 numbers. Each number is stored in the variable Value when it is input. Any number input t...
Draw the symbol for an XOR logic gate and complete the truth table for it. XOR logic gate symbol: Truth table: A B X 0 0 0 1 1 0 1 1
A database table, CapitalCity, stores data about capital cities from around the world. Field | Description ------|------------- Identification | a ...
There are a number of security risks associated with using the Internet. Name three of these risks. For each, state why it is a risk and describe h...
Seven computer terms and seven descriptions are shown below. Draw a line to link each computer term to its most appropriate description. Computer ...