Cambridge Past Paper Questions
Browse 23,045questions from 25 years of O-Level & A-Level exams. Click any question to practice.
A program is being designed in pseudocode. The program contains the following declaration for the global array MyData: DECLARE MyData : ARRAY[1:100...
Students are learning about a simple check digit method for data validation. In this method, a single check digit is appended to the end of an orig...
There are several different ways to express an algorithm during the design of a program.
A program is being developed to manage student book loans from a college library. Students may borrow up to five books at a time from the library. ...
This pseudocode should allow 500 marks to be entered into the algorithm. If the mark is 80 or greater it is stored in an array for higher marks. If...
This flowchart represents an algorithm to divide three-digit numbers into hundreds, tens and units. The pre-defined function DIV gives the value o...
A school uses a database table, ASSESS, to keep a record of the internal assessments and the number of candidates for each of the subjects in its c...
Malware can be used to corrupt data stored on a computer.
A register stores the binary number: 1 1 1 0 0 0 1 1
A user’s computer has a central processing unit (CPU) that has a clock speed of 2 GHz. She wants to change it to a CPU that has a clock speed of 3 ...
A washing machine is an example of an embedded system.
A band is recording their new song. They need to consider the sample rate and sample resolution of their recording.
The table contains descriptions about data transmission methods. Complete the table by identifying which data transmission methods are described. D...
A train station has a ticket inspector who checks each customer’s ticket before they are allowed to get on the train. The train station wants a sys...
The table contains terms and descriptions about the internet. Complete the table with the missing terms and descriptions. Term Description t...
A business has a system that is described as having artificial intelligence (AI).
A manufacturing company uses an automated system in its manufacturing process.
Digital currency can be used to pay for products and services. Digital currencies are often tracked using digital ledgers.
Storage and memory are important components of a computer system.
A mobile telephone has built-in input and output devices.
Humans use a denary number system and computers use a binary number system.
A computer has a central processing unit (CPU).
An employee uses a web browser on their computer.
Errors can occur when data is transmitted.
A company uses cloud storage to store its data.
A photographer takes an image with a digital camera. The photographer sets the resolution and colour depth for the image.
Draw and annotate a diagram to represent the role of a router.
A computer has secondary storage.
A car repair garage uses an expert system.
Tick (✔) one box to complete the sentence.
A type of validation check is a length check. Another type of validation check is used to make sure that any date entered is in the dd/mm/yyyy styl...
Four pseudocode statements and five pseudocode uses are shown.
An algorithm has been written in pseudocode to allow the names of 50 cities and their countries to be entered and stored in a two-dimensional (2D) ...
Explain how variables and constants should be used when creating and running a program.
The flowchart represents an algorithm that performs a process on groups of values that are input. The algorithm will fail if the first value of any...
The string operation SUBSTRING(Quote, Start, Number) returns a string from Quote beginning at position Start that is Number characters long. The fi...
Explain why a programmer would use procedures and parameters when writing a program.
Consider the logic expression: Z = (A NAND B) OR NOT (B XOR C)
A database table called Horses stores details about the horses kept at a horse sanctuary. Code Breed BreedOrigin Gender Age Arrived H002 Arabian Sa...
A wood flooring company stores the names of up to 100 customers in a one-dimensional (1D) array Customers[]. A two-dimensional (2D) array Quotation...
Tick (✔) one box to show which term is an example of a verification check. A Double entry check B Format check C Length check D Presence check
Tick (✔) one box to show which library routine returns the remainder of a division. A DIV B MOD C RANDOM D ROUND
Four pseudocode descriptions and five pseudocode keywords are shown. Draw one line to link each pseudocode description to the most appropriate pseu...
A programmer is writing a data entry program for booking theatre seats. The programmer needs the program to accept only whole numbers that are grea...
An algorithm has been written in pseudocode to check if a new password is in a list of previously used passwords OldList[] If the password is not f...
There are three descriptions of logic gates. Each logic gate has two inputs A and B with one output X. Identify each logic gate. Complete a truth t...
A program uses both local variables and global variables. Describe two differences between local variables and global variables.
This is an algorithm to find if a batch of parts has been manufactured successfully.
A sanctuary for pheasants has set up a new database table called PheasantList to store details of the different species of bird at the sanctuary. P...