A Level Computer Science 9618, topic 11.3
Structured Programming: past paper questions
53 Cambridge A Level Computer Science 9618 questions on Structured Programming (11.3) from 23 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
- 53
- Papers
- 23
- Years
- 2023 to 2026
- Total marks
- 557
- Average per question
- 10.5 marks
- Largest question
- 20 marks
By type: Structured 53
How hard the questions are
- Recall17
- Apply16
- Analyse20
- 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
- writeRecall32 questions
write an answer in a specific way
- completeApply15 questions
add information to an incomplete diagram or table
- explainAnalyse15 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
- useApply7 questions
- describeApply6 questions
state the points of a topic / give characteristics and main features
- identifyRecall4 questions
name/select/recognise
- commentAnalyse3 questions
give an informed opinion
- nameRecall3 questions
- calculateApply2 questions
work out from given facts, figures or information
Where the questions come from
By year
- 20266
- 20259
- 202419
- 202319
By session
- May/June30
- Oct/Nov23
By paper
- Paper 11
- Paper 249
- Paper 43
Questions on this topic
Showing 30 of 53, spread across the years. Open one to write your answer and have it marked.
- 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 6Oct/Nov 2025, paper 22Structured7 marks
A string function Compare() will compare two strings.
- 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 4Oct/Nov 2023, paper 21Structured9 marks
A global array is declared in pseudocode as follows: DECLARE Data : ARRAY[1:150] OF STRING A function TooMany() will: 1. take two parameters: • a string (the search string) • an integer (the maximum value) 2.
- Try this questionQuestion 6May/June 2026, paper 21Structured12 marks
Fence parts are manufactured by a number of similar machines. The length of the part must fall within a certain range. Parts not within the length range are rejected.
- Try this questionQuestion 7Oct/Nov 2025, paper 22Structured6 marksHas a diagram
The structure chart shows part of a program design: Explain the meaning of the curved arrow symbol in this structure chart.
- Try this questionQuestion 4Oct/Nov 2024, paper 21Structured10 marks
4 A program includes the following assignment statement: Result ← STR_TO_NUM(x) / STR_TO_NUM(y) When the program evaluates the expression in the statement, it performs a calculation. Variable Result is of type real and variables x and y are of type string.
- Try this questionQuestion 6Oct/Nov 2023, paper 21Structured9 marks
The pseudocode OUTPUT command starts each output on a new line. A new procedure MyOutput() will take a string and a Boolean parameter.
- Try this questionQuestion 5May/June 2026, paper 22Structured10 marks
5 A programmer has defined a global 1D array Numbers of type INTEGER, which can store 1000 integers. The lower bound of the array Numbers is set to 1. Each element of the array has been initialised with a random integer in the range 200 to 99999.
- Try this questionQuestion 8Oct/Nov 2025, paper 22Structured18 marks
A program is being developed to manage student book loans from a college library. The programmer has defined a record type to define each loan.
- Try this questionQuestion 7Oct/Nov 2024, paper 21Structured7 marksHas a diagram
7 A program contains six modules with headers as follows: | Pseudocode module header | | :--- | | PROCEDURE Connect() | | FUNCTION Activate(H1 : STRING, Code…
- Try this questionQuestion 8Oct/Nov 2023, paper 21Structured19 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 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 1Oct/Nov 2025, paper 23Structured10 marks
A user requires a program that implements complex data encryption to a recognised international standard. A programmer has started the design of the program. The programmer decides to use a library routine to provide part of the solution.
- Try this questionQuestion 8Oct/Nov 2024, paper 21Structured15 marks
8 An exam paper has a maximum of 75 marks. One of five pass grades (A to E) is assigned, depending on the mark obtained. The lowest mark for a given grade is known as the grade boundary.
- Try this questionQuestion 6Oct/Nov 2023, paper 22Structured9 marks
A procedure CreateFiles() will take two parameters: • a string representing a file name • an integer representing the number of files to be created.
- Try this questionQuestion 5May/June 2026, paper 23Structured11 marks
Data is stored about people who have attended a job interview. Each interview is held at one of three office locations.
- Try this questionQuestion 7May/June 2025, paper 21Structured18 marks
A program is being developed to implement a customer loyalty scheme for a coffee shop.
- 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 7Oct/Nov 2023, paper 22Structured6 marksHas a diagram
A program contains six modules: Pseudocode module header PROCEDURE Module-A() PROCEDURE Module-X(T1 : INTEGER, S2 : REAL) PROCEDURE Reset(BYREF Code : INTEGER)…
- Try this questionQuestion 8May/June 2026, paper 23Structured19 marksHas a diagram
A warehouse stores stock in bins. A bin is a container which stores the stock items; each bin can store many identical items. The warehouse is organised on three different levels – level 0 (ground level), then level 1 and level 2.
- Try this questionQuestion 1May/June 2025, paper 23Structured14 marks
A program is being developed for the management of a sports centre. The programmer developing the software decides to use modules (procedures or functions) and local variables. They also decide not to use global variables.
- 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 23Structured7 marks
A programmer has been asked to create a module RollDice() to simulate multiple rolls of a dice. This module will be used as part of a program for a game.
- Try this questionQuestion 6Oct/Nov 2024, paper 23Structured7 marks
In some countries, on the third Sunday in March, daylight saving time begins when clocks move forward by one hour. A module AdjustClock() will take an integer parameter representing a year.
- Try this questionQuestion 6Oct/Nov 2023, paper 23Structured6 marks
A function TestNum() will take a six-digit string as a parameter.
- Try this questionQuestion 6May/June 2025, paper 23Structured9 marksHas a diagram
Study the structure chart: Some of the parameter data types are: • R and V are of type INTEGER • T is of type REAL • U is of type STRING • W is of type BOOLEAN. Some of the modules in the structure chart are functions, others are procedures.
- Try this questionQuestion 8May/June 2024, paper 12Structured10 marks
A programmer uses an Integrated Development Environment (IDE) to write a computer program.
- Try this questionQuestion 7Oct/Nov 2023, paper 23Structured7 marksHas a diagram
A structure chart shows the modular structure of a program: [Structure Chart showing Module-A() calling Sub-Y1() with parameter T1, calling Sub-Y2() with…






