Skip to main content

Cambridge Past Paper Questions

Browse 23,045questions from 25 years of O-Level & A-Level exams. Click any question to practice.

A-LevelComputer ScienceData StructuresOct/Nov 2021

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...

A-LevelComputer ScienceSystem SoftwareOct/Nov 2022

Compilers and interpreters translate programs written in a high-level language into a low-level language.

A-LevelComputer ScienceData RepresentationOct/Nov 2022

A-LevelComputer ScienceLogic Gates and Boolean AlgebraOct/Nov 2022

A greenhouse has an automatic window. The window (X) operates according to the following criteria: [Table: Parameter, Description of parameter, Bi...

A-LevelComputer ScienceData Validation and VerificationOct/Nov 2022

A-LevelComputer ScienceDatabase and Data ModellingOct/Nov 2022

A relational database, GARDEN, has the following tables: OWNER(OwnerID, FirstName, TelephoneNo, TreeID, TreePosition) TREE(TreeID, ScientificName, ...

A-LevelComputer ScienceCommunication and Internet TechnologiesOct/Nov 2022

A student uses a networked laptop computer to send an email to a colleague. The student records a sound file.

A-LevelComputer ScienceProcessor Architecture and Assembly LanguageOct/Nov 2022

The following table shows part of the instruction set for a processor. The processor has one general purpose register, the Accumulator (ACC), and a...

A-LevelComputer ScienceData RepresentationOct/Nov 2022

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...

A-LevelComputer ScienceArtificial IntelligenceOct/Nov 2022

One use of Artificial Intelligence (AI) is for facial recognition software.

A-LevelComputer ScienceCommunication and Internet TechnologiesOct/Nov 2022

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...

A-LevelComputer ScienceProgramming ParadigmsOct/Nov 2022

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-LevelComputer ScienceAbstractionOct/Nov 2022

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-LevelComputer ScienceAlgorithmsOct/Nov 2022

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...

A-LevelComputer ScienceData StructuresOct/Nov 2022

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-LevelComputer ScienceProgrammingOct/Nov 2022

A program uses two 1D arrays of type integer. Array1 contains 600 elements and Array2 contains 200 elements. Array1 contains sample values read fro...

A-LevelComputer ScienceProgrammingOct/Nov 2022

The following pseudocode algorithm attempts to check whether a string is a valid email address. FUNCTION IsValid(InString : STRING) RETURNS BOOLEAN...

A-LevelComputer ScienceProgrammingOct/Nov 2022

A simple arithmetic expression is stored as a string in the format: <Value1><Operator><Value2> An operator character is one of the following: '+' '...

A-LevelComputer ScienceFile ProcessingOct/Nov 2022

A teacher is designing a program to perform simple syntax checks on programs written by students. Student programs are submitted as text files, whi...

A-LevelComputer ScienceProgramming ConceptsOct/Nov 2022

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...

A-LevelComputer ScienceFile HandlingOct/Nov 2022

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 ...

A-LevelComputer ScienceData StructuresOct/Nov 2022

3 A stack is used in a program to store string data which needs to be accessed in several modules.

A-LevelComputer ScienceAlgorithmsOct/Nov 2022

4 The program flowchart represents a simple algorithm.

A-LevelComputer ScienceBoolean AlgebraOct/Nov 2022

5 Examine the following pseudocode. IF A = TRUE THEN IF B = TRUE THEN IF C = TRUE THEN CALL Sub1() ELSE CALL Sub2() ENDIF...

A-LevelComputer ScienceProgramming ConceptsOct/Nov 2022

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)...

A-LevelComputer ScienceAlgorithmsOct/Nov 2022

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-LevelComputer ScienceProgramming FundamentalsOct/Nov 2022

A program is required for a shopping website.

A-LevelComputer ScienceProgramming ParadigmsOct/Nov 2022

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...

A-LevelComputer ScienceAlgorithm Design and Problem SolvingOct/Nov 2022

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-LevelComputer ScienceData Structures and AlgorithmsOct/Nov 2022

A-LevelComputer ScienceProgramming FundamentalsOct/Nov 2022

A-LevelComputer ScienceAlgorithm Design and Problem SolvingOct/Nov 2022

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-LevelComputer ScienceData Structures and AlgorithmsOct/Nov 2022

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...

A-LevelComputer ScienceData RepresentationOct/Nov 2022

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 ...

A-LevelComputer ScienceNetworkingOct/Nov 2022

Outline the functions of the Transport and Internet layers of the TCP/IP protocol suite.

A-LevelComputer ScienceData Structures and ProgrammingOct/Nov 2022

A-LevelComputer ScienceTranslatorsOct/Nov 2022

Draw one line to connect each stage of compilation to its most appropriate description. Stage of compilation Description Lexical analysis minimis...

A-LevelComputer ScienceData Structures and AlgorithmsOct/Nov 2022

A-LevelComputer ScienceSecurityOct/Nov 2022

A message is encrypted using a private key and sent to an individual using asymmetric encryption.

A-LevelComputer ScienceLogic Gates and Boolean AlgebraOct/Nov 2022

A-LevelComputer ScienceOperating SystemsOct/Nov 2022

Virtual memory, paging and segmentation are used in memory management.

A-LevelComputer ScienceArtificial IntelligenceOct/Nov 2022

Deep learning is used in Artificial Intelligence (AI).

A-LevelComputer ScienceObject-Oriented ProgrammingOct/Nov 2022

A-LevelComputer ScienceAlgorithmsOct/Nov 2022

A-LevelComputer ScienceData RepresentationOct/Nov 2022

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...

A-LevelComputer ScienceTranslatorsOct/Nov 2022

Lexical analysis and syntax analysis are stages in the compilation of a program.

A-LevelComputer ScienceNetworkingOct/Nov 2022

A-LevelComputer ScienceProgrammingOct/Nov 2022

A program to manage regular flight details at an airport requires some user-defined data types.

A-LevelComputer ScienceVirtual MachinesOct/Nov 2022

Describe what is meant by a virtual machine. Include in your answer two benefits and two drawbacks of using a virtual machine.

A-LevelComputer ScienceSecurityOct/Nov 2022

← PreviousPage 142 of 461Next →

© 2026 Oracle Prep — The AI-Powered Cambridge Exam Engine