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.
Four descriptions of stages in the program development life cycle are shown. Draw one line to link each description to its most appropriate program...
Tick (✔) one box to show the name of the data structure used to store a collection of data of the same data type. A Array B Constant C Function D V...
Describe what is meant by data validation.
Explain the purpose of the library routines DIV and ROUND
An algorithm has been written in pseudocode to allow some numbers to be input. All the positive numbers that are input are totalled and this total ...
State two features that should be included to create a maintainable program. Give a reason why each feature should be used.
The flowchart represents an algorithm. [Figure 7.1 - Flowchart diagram showing the algorithm's flow] The table represents the two-dimensional (2D) ...
The function LENGTH(Phrase) calculates the length of a string Phrase
Consider this logic expression. Z = (NOT A OR B) AND (B XOR C)
A database table called TVRange shows the main features and prices of a range of televisions. | TVCode | ScreenSize | Satellite | SmartTV | Sou...
A one-dimensional (1D) array Days[] contains the names of the days of the week. A two-dimensional (2D) array Readings [] is used to store 24 temper...
Tick (✔) one box to identify the first stage of the program development life cycle. A Analysis B Coding C Design D Testing
Four logic gates and five standard symbols for logic gates are shown. Draw one line to link each logic gate to its standard symbol. Not all standar...
Identify three different ways the design of a solution to a problem can be presented. 1 2 3
A program needs to make sure the value input for a measurement meets the following rules: • the value is a positive number • a value is always inpu...
Circle five file-handling operations. calculate close count create input open output print read sort search test total write
State three different features of a high-level programming language that a programmer could use to make sure that their program will be easier to u...
An algorithm has been written in pseudocode to calculate a check digit for a four-digit number. The algorithm then outputs the five-digit number in...
Consider this logic expression. X = (A OR B) AND (NOT B AND C) Complete the truth table for this logic expression. A B C Working space X 0 0 0 0 0 ...
This flowchart represents an algorithm. [Figure 9.1]
A music streaming service has a new database table named Songs to store details of songs available for streaming. The table contains the fields: • ...
The variables P and Q are used to store data in a program. P stores a string. Q stores a character.
A two-dimensional (2D) array Account[] contains account holders' names and passwords for a banking program. A 2D array AccDetails[] has three colum...
A student has a portable tablet computer.
Hypertext markup language (HTML) colour codes can be represented as hexadecimal.
The binary number 10100011 is stored in random access memory (RAM). A logical left shift of three places is performed on the binary number.
Data packets are transmitted across a network from one computer to another computer.
A computer uses both random access memory (RAM) and secondary storage.
A computer needs firmware and system software to operate.
Data is encrypted to keep it safe during transmission. Complete the paragraph about asymmetric encryption. Use the terms from the list. Some of the...
A farmer uses an automated robot to plant seeds in the field.
A company owner has installed a new network. Data is correct before it is transmitted across the network. The company owner is concerned that data ...
Data can be measured in bits.
Data can be transmitted from one device to another.
Binary is a base 2 number system.
A student uses both system software and application software on their computer.
Instructions are processed by a central processing unit (CPU) in a computer.
The table contains statements about error detection methods. Complete the table by giving the correct error detection method for each statement.
A computer has both a media access control (MAC) address and an internet protocol (IP) address.
A company has a website that is suffering a distributed denial of service (DDoS) attack.
A company uses both solid-state and optical secondary storage.
A garage uses an expert system to help diagnose any problems with cars that need repair.
A company has a website. Users use the internet and the world wide web to access the website.
Tick (✔) one box to complete this sentence.
Four descriptions of programming concepts and five programming concepts are shown.
State what is meant by the data types integer and real. Give an example of each.
This pseudocode algorithm is intended to allow, at random, between 1 and 20 values to be entered and totalled. The total and average of the entered...
Write the pseudocode statements to perform this task: • accept the input of a whole number from 1 to 4 inclusive • use a CASE statement to: Ο outpu...
The flowchart represents an algorithm. [Figure 6.1 (Flowchart)]
Outline why it is useful to store data in a file.