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.
Draw one line from each machine learning category to its most appropriate description. Machine learning category Description Supervised learning si...
A hashing algorithm is used to calculate storage locations for records in a random access file. It calculates hash values by using the function mod...
Two descriptions of user-defined data types are given. Give appropriate type declaration statements for each, including appropriate names.
State, with a reason, where it would be appropriate to use circuit switching.
Several syntax diagrams are shown.
Complete the Karnaugh map (K-map) for the following Boolean expression. Z = A.B.C.D + A.B.C.D + A.Β.C.D + Α.Β.C.D + A.B.C.D + A.B.C.D AB CD 00 01 1...
Outline the characteristics of massively parallel computers.
Encryption is used to alter data into a form that makes it meaningless if intercepted.
The pseudocode algorithm shown copies an active accounts text file ActiveFile.txt to an archive accounts text file ArchiveFile.txt, one line at a t...
Pseudocode is to be written to implement a queue Abstract Data Type (ADT) with items of the string data type. This will be implemented using the in...
Describe what is meant by recursion.
Numbers are stored in a computer using floating point representation with: • 10 bits for the mantissa • 6 bits for the exponent • two's complement ...
Describe how records are organised and accessed in a sequential file.
Several syntax diagrams are shown. [Figure 4.1]
Draw one line from each Object-Oriented Programming (OOP) term to its most appropriate description. [Figure 6.1]
Encryption is used to scramble data to make it meaningless if intercepted.
Write pseudocode statements to declare the composite data type, TAppointments, to hold data about patients for a dental clinic. It will include for...
State two examples of where it would be appropriate to use packet switching.
Describe the use of pipelining in Reduced Instruction Set Computers (RISC).
This truth table represents a logic circuit. [Figure 10.1]
State one category of machine learning.
The pseudocode shown represents a queue Abstract Data Type (ADT) with procedures for initialisation and to add new items. It is incomplete.
A Fibonacci sequence is a series of numbers formed by adding together the two preceding numbers, for example: 0, 1, 1, 2, ... This function calcula...
A program reads data from a file and searches for specific data.
A computer game is being designed that will include different vehicles. A prototype for the game is being developed using object-oriented programmi...
A program implements two stacks using 1D arrays. One stack stores the names of colours. One stack stores the names of animals.
A 1D array needs to store the names of 10 animals.
A business sells a single product. Customers can purchase one or more of this product. Each sale has an ID and a quantity, for example "ABC" and 2 ...
A company needs a computer program to store data about its employees. Part of the program is being written using object-oriented programming. The c...
Describe the operation of each of the following logic gates: NAND NOR XOR OR
A computer game is being designed that users will be able to play using a virtual reality (VR) headset.
An assessment board scans exam papers and stores the digitised papers on a server. Exam markers download the digitised papers to mark. The exam mar...
An assessment board wants to store the marks students achieved in exams in a database named RECORDS. Part of the database design includes these two...
The following table shows part of the instruction set for a processor. The processor has two registers: the Accumulator (ACC) and an Index Register...
A computer has an Operating System (OS). Memory management and process management are two OS tasks.
A computer stores binary data.
A programmer uses an Integrated Development Environment (IDE) to write a computer program. The IDE has both a compiler and an interpreter as built-...
An algorithm is developed in pseudocode before being coded in a programming language.
An algorithm has three steps. It will: 1. repeatedly input a pair of numeric values A and B 2. count the number of pairs that are input until A has...
The diagram shows an Abstract Data Type (ADT) representation of a linked list after data items have been added. • PS is the start pointer. • PF is ...
A global 1D array Data contains 100 elements of type integer. A function Check() will: • total the element values in odd index locations (1, 3, 5 ....
A global 1D array of strings contains three elements which are assigned values as shown: Data[1] ← "aaaaaa" Data[2] ← "bbbbbb" Data[3] ← "cccccc" P...
Three points on a grid form a triangle with sides of length A, B and C as shown in the example: y 10 9 8 7 6 5 C B 4 3 2 A 1 X 0 1 2 3 4 5 6 7 8 9 ...
A fitness club has a computerised membership system. The fitness club offers a number of different exercise classes. The following information is s...
A teacher is designing a program to process pseudocode projects written by her students. Each student project is stored in a text file. The process...
A program is being developed.
A factory needs a program to help manage its production of items. Data will be stored about each item. The data for each item will be held in a rec...
A triangle has sides of length A, B and C. [Figure of a triangle with sides A, B, C] In this example, A is the length of the longest side. This tri...
A program is being designed in pseudocode. The program contains a global 1D array Data of type string containing 200 elements. The first element ha...
A music player stores music in a digital form and has a display which shows the track being played. (a) Up to 16 characters can be displayed. Track...