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 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: '+' '...
A teacher is designing a program to perform simple syntax checks on programs written by students. Student programs are submitted as text files, whi...
Refer to the insert for the list of pseudocode functions and operators. 1 (a) A programmer is developing an algorithm to solve a problem. Part of t...
2 (a) An algorithm will process data from a test taken by a group of students. The algorithm will prompt and input the name and test mark for each ...
3 A stack is used in a program to store string data which needs to be accessed in several modules.
4 The program flowchart represents a simple algorithm.
5 Examine the following pseudocode. IF A = TRUE THEN IF B = TRUE THEN IF C = TRUE THEN CALL Sub1() ELSE CALL Sub2() ENDIF...
6 (a) The factorial of an integer number is the product of all the integers from that number down to 1. In general, the factorial of n is n × (n-1)...
7 A teacher is designing a program to perform simple syntax checks on programs written by students. Two global 1D arrays are used to store the synt...
A program is required for a shopping website.
A program is being designed for a smartphone to allow users to send money to the charity of their choice. Decomposition will be used to break the p...
An algorithm is needed to process a sequence of numbers. Numbers may be positive or negative and may be integer or decimal. The algorithm will: • p...
A program contains a 1D array DataItem with 100 elements. State the one additional piece of information required before the array can be declared.
A text string contains three data items concatenated as shown: <StockID><Description><Cost> Item lengths are: Item Length StockID 5 Description 32 ...
Components are weighed during manufacture. Weights are measured to the nearest whole gram. Components that weigh at least 3 grams more than the max...
A teacher is designing a program to perform simple syntax checks on programs written by students. Two global 1D arrays are used to store the syntax...
Real numbers are stored in a computer system using floating-point representation with: • 8 bits for the mantissa • 8 bits for the exponent • two's ...
Outline the functions of the Transport and Internet layers of the TCP/IP protocol suite.
State what is meant by the term enumerated data type.
Draw one line to connect each stage of compilation to its most appropriate description. Stage of compilation Description Lexical analysis minimis...
Write the infix expression in Reverse Polish Notation (RPN). a * b + b - d + 15
A message is encrypted using a private key and sent to an individual using asymmetric encryption.
Complete the Karnaugh map (K-map) for the Boolean expression. Z = Ā. B. C. D + Ā. B. C. D + A. B. C. D + A. B. C. D + A. B. C. D + A. B. C. D AB 00...
Virtual memory, paging and segmentation are used in memory management.
Deep learning is used in Artificial Intelligence (AI).
Define these Object-Oriented Programming (OOP) terms: Instance Inheritance Polymorphism
The array Names [0:99] is in alphabetical order. Complete this pseudocode binary search algorithm. Lower ← 0 Mid ← 0 Exit ← FALSE OUTPUT "Enter the...
Normalised floating-point numbers are stored in a computer system using two's complement for both the mantissa and the exponent with: • 11 bits fo...
Lexical analysis and syntax analysis are stages in the compilation of a program.
Explain why a protocol is used in communication between computers.
A program to manage regular flight details at an airport requires some user-defined data types.
Describe what is meant by a virtual machine. Include in your answer two benefits and two drawbacks of using a virtual machine.
State two differences between symmetric and asymmetric encryption.
Supervised and unsupervised learning are two categories of machine learning. Describe supervised learning and unsupervised learning.
Draw a logic circuit for an SR flip-flop and label the inputs. [Figure X.X]
Explain the need for scheduling in process management.
Define Encapsulation:
A simplified linked list is used to store the names of flowers in alphabetical order. It is implemented using two 1D arrays: • Flower stores the n...
Outline the functions of the Transport and Internet layers of the TCP/IP protocol suite. Transport layer Internet layer