A Level Computer Science 9618, topic 11.2
Constructs: past paper questions
40 Cambridge A Level Computer Science 9618 questions on Constructs (11.2) from 22 papers, 2023 to 2026. Open the paper or try a question free.
Practising builds a set from this topic, free with an account. One question opens straight away, with no account.
- Questions
- 40
- Papers
- 22
- Years
- 2023 to 2026
- Total marks
- 337
- Average per question
- 8.4 marks
- Largest question
- 22 marks
By type: Structured 40
How hard the questions are
- Recall12
- Apply16
- Analyse12
- Not banded0
Derived from the command word Cambridge prints in each question, banded by a fixed table beside the syllabus's own definitions. A question printing no command word is unbanded: unknown, not middling.
Command words
- writeRecall20 questions
write an answer in a specific way
- completeApply14 questions
add information to an incomplete diagram or table
- explainAnalyse7 questions
set out purposes or reasons / make the relationships between things clear / say why and/or how and support with relevant evidence
- stateRecall7 questions
express in clear terms
- describeApply6 questions
state the points of a topic / give characteristics and main features
- constructApply4 questions
- identifyRecall4 questions
name/select/recognise
- giveRecall3 questions
produce an answer from a given source or recall/memory
- suggestAnalyse3 questions
apply knowledge and understanding to situations where there are a range of valid responses in order to make proposals / put forward considerations
- evaluateAnalyse2 questions
judge or calculate the quality, importance, amount, or value of something
Where the questions come from
By year
- 20265
- 20258
- 202416
- 202311
By session
- May/June21
- Oct/Nov19
By paper
- Paper 239
- Paper 41
Questions on this topic
Showing 30 of 40, spread across the years. Open one to write your answer and have it marked.
- Try this questionQuestion 1May/June 2026, paper 21Structured2 marks
Study this pseudocode: FOR i ← 3 TO 12 STEP 3 OUTPUT i, i * i NEXT i Identify the type of construct used in this pseudocode.
- Try this questionQuestion 5Oct/Nov 2025, paper 21Structured6 marks
A program is being designed in pseudocode.
- Try this questionQuestion 1Oct/Nov 2024, paper 21Structured9 marks
Refer to the insert for the list of pseudocode functions and operators. 1 A program will calculate the tax payable based on the cost of an item.
- Try this questionQuestion 1Oct/Nov 2023, paper 21Structured11 marks
Refer to the insert for the list of pseudocode functions and operators.
- Try this questionQuestion 2May/June 2026, paper 21Structured7 marks
A washing machine contains: • two trays for the washing powder • a user interface display • five sensors.
- Try this questionQuestion 1Oct/Nov 2025, paper 22Structured11 marks
Refer to the insert for the list of pseudocode functions and operators. The table contains pseudocode examples. Each example may contain statements that relate to one or more of: • selection • iteration (repetition) • subroutines (procedures or functions).
- Try this questionQuestion 2Oct/Nov 2024, paper 21Structured6 marks
2 A program uses three global integer variables HH, MM and SS to represent the current time in hours, minutes and seconds using the 24-hour clock notation. Midnight would be represented as 00:00:00 (HH:MM:SS).
- Try this questionQuestion 2Oct/Nov 2023, paper 21Structured7 marks
An algorithm is expressed as follows: • input 100 numbers, one at a time • keep a total of all numbers input that have a value between 30 and 70 inclusive and output this total after the last number has been input.
- Try this questionQuestion 5May/June 2026, paper 21Structured5 marks
Electric light bulbs are advertised online with the price showing: $1.75 each or 20 bulbs for $30.00 A pseudocode function BulbCost() • takes the quantity of bulbs purchased as its single parameter • returns the total cost in dollars.
- Try this questionQuestion 2Oct/Nov 2025, paper 23Structured8 marks
A program contains a global 1D array of type STRING containing 65 elements. An existing text file is used to store the data in the array. Only non-blank elements (those that do not contain an empty string) are written to the text file.
- Try this questionQuestion 6Oct/Nov 2024, paper 21Structured9 marks
6 A factory produces food items. The items must be used within a certain number of days after their production date. The number of days is known as the shelf life.
- Try this questionQuestion 2Oct/Nov 2023, paper 22Structured7 marksHas a diagram
An algorithm will: 1. input a sequence of integer values, one at a time 2. ignore all values until the value 27 is input, then sum the remaining values in the sequence 3.
- Try this questionQuestion 6May/June 2026, paper 22Structured18 marks
6 A program is being developed to encrypt a message. The following terms are used in the encryption technique to be used: | term | definition | |---|---| | plain text | The original message before it is encrypted. | | cipher text | The encrypted version of the plain text.
- Try this questionQuestion 5Oct/Nov 2025, paper 23Structured8 marks
A global 1D array Num of integers contains four elements. A program assigns values to these elements as shown: Num[1] ← 1 Num[2] ← 2 Num[3] ← 5 Num[4] ← 3 A procedure Process() manipulates the values in the array.
- Try this questionQuestion 2Oct/Nov 2024, paper 22Structured9 marks
A program is being developed to process bank card information. When a card number is displayed, all the characters except the last four are replaced with the asterisk character '*'. Card numbers are stored as strings.
- Try this questionQuestion 4Oct/Nov 2023, paper 22Structured9 marks
A procedure Count() will: 1. input a value (all values will be positive integers) 2. count the number of odd values and count the number of even values 3.
- Try this questionQuestion 1May/June 2026, paper 23Structured2 marks
Refer to the insert for the list of pseudocode functions and operators. Study the pseudocode. i ← 1 REPEAT OUTPUT i*i i ← i + 1 UNTIL i = 6 Identify the type of programming construct used in the pseudocode.
- Try this questionQuestion 1May/June 2025, paper 21Structured12 marks
Refer to the insert for the list of pseudocode functions and operators. 1 A program is being developed to help the manager of a shop control the stock. An identifier table has been used during the design stage.
- Try this questionQuestion 4Oct/Nov 2024, paper 22Structured6 marks
A global integer variable Tick is always incremented every millisecond (1000 times per second) regardless of the other programs running. The value of Tick can be read by any program but the value should not be changed. Assume that the value of Tick does not overflow.
- Try this questionQuestion 4Oct/Nov 2023, paper 23Structured7 marks
A procedure RandList() will output a sequence of 25 random integers, where each integer is larger than the previous one. Write pseudocode for procedure RandList().
- Try this questionQuestion 3May/June 2025, paper 21Structured8 marks
A student has been asked to create a simple guessing game program. This program will generate a random integer value between 1 and 100. It will then repeatedly prompt the user to input an integer value until they input the randomly generated value.
- Try this questionQuestion 5Oct/Nov 2024, paper 22Structured7 marks
A program contains a global 1D array Data with 100 elements of type INTEGER.
- Try this questionQuestion 6Oct/Nov 2023, paper 23Structured6 marks
A function TestNum() will take a six-digit string as a parameter.
- Try this questionQuestion 3May/June 2025, paper 22Structured8 marks
An algorithm is designed to generate and output two unique random integers. Each integer value is between –10 and 10 inclusive. If both integers output are negative, a third random integer between 30 and 35 inclusive will be generated and output.
- Try this questionQuestion 1Oct/Nov 2024, paper 23Structured10 marks
Refer to the insert for the list of pseudocode functions and operators. The following table contains pseudocode examples. Each example may contain statements that relate to one or more of the following: • selection • iteration (repetition) • subroutine (procedure or function).
- Try this questionQuestion 8Oct/Nov 2023, paper 23Structured20 marks
A class of students are developing a program to send data between computers. Many computers are connected together to form a wired network. Serial ports are used to connect one computer to another.
- Try this questionQuestion 5May/June 2025, paper 23Structured8 marks
A module Parity() takes a string as a parameter. The parameter has the identifier BitString and it represents a binary value.
- Try this questionQuestion 2Oct/Nov 2024, paper 23Structured7 marks
An algorithm will: 1. prompt and input a sequence of 100 integer values, one at a time 2. sum the positive integers 3.
- Try this questionQuestion 4May/June 2023, paper 21Structured6 marks
Function Replace() will: 1. take three parameters: • a string (the original string) • a char (the original character) • a char (the new character) 2. form a new string from the original string where all instances of the original character are replaced by the new character 3.
- Try this questionQuestion 2May/June 2024, paper 21Structured7 marksHas a diagram
An algorithm has three steps. It will: 1. repeatedly input a pair of numeric values A and B 2.






