AQA A-Level Computer Science AS Paper 1, June 2025: Question 10
4 marks ยท Easy difficulty ยท Short Answer
Answer questions about the structure, representation, and development stage of a hierarchy chart for a Skeleton Program.
Practise this questionQuestion
Question text
10 Figure 6 shows an incomplete hierarchy chart for part of the Skeleton Program.
Figure 6
10.1 What does a box in a hierarchy chart represent?
[1 mark]
10.2 What should be written in box (a) in Figure 6?
[1 mark]
10.3 What should be written in box (b) in Figure 6?
[1 mark]
10.4 State the stage of software development when a hierarchy chart is
normally developed.
[1 mark]
Mark scheme
Show the mark scheme
10 1 Mark is for AO1 (knowledge) 1
Subroutine/procedure/function/method;
A. module/block of code
10 2 Mark is for AO2 (analyse) 1
PirateWalks/PirateDigs;
I. case and spacing
10 3 Mark is for AO2 (analyse) 1
PirateDigs/PirateWalks;
R. if given in 10.2
I. case and spacing
10 4 Mark is for AO1 (understanding) 1
(During the) design (stage);
R. more than one stage given
How to answer it
Hierarchy Charts & Program Decomposition
This question assesses your foundational understanding of top-down modular design and the Software Development Life Cycle (SDLC), applied directly to the pre-release Skeleton Program:
- The purpose and standard components of a structure / hierarchy chart.
- Tracing modular dependencies and identifying subroutines called by parent routines.
- Identifying the specific stage in software development where architecture planning occurs.
Question 10.1
Meaning of a Box in a Hierarchy Chart
โ Correct Answer
Any one of the following terms:
- Subroutine
- Procedure
- Function
- Method
- Also accepted: Module / block of code
๐ก Key Knowledge
A hierarchy chart (structure chart) breaks down a system top-down into smaller, manageable units:
- Each box represents a discrete subprogram / subroutine.
- Each connecting line represents a call relationship (the upper box calls the lower box).
- Hierarchy charts show program structure, not flow of control, decisions, or loops.
๐ง Exam Technique
Use precise formal computing terms. While "module" or "block of code" is allowed in the mark scheme, answering with subroutine, procedure, or function is standard textbook terminology that guarantees marks across all exam boards.
โ Common Errors
- Confusing structure charts with flowcharts: Stating that a box represents a "step", "instruction", "process", or "condition".
- Stating that a box is a "variable", "parameter", or "data structure".
Questions 10.2 & 10.3
Identifying Subroutines in the Skeleton Program
โ Correct Answers
For boxes (a) and (b) (in either order):
- 10.2: PirateWalks (or PirateDigs )
- 10.3: PirateDigs (or PirateWalks )
Note: The mark scheme ignores casing and spaces, but rejects duplicate entries.
๐ก Key Knowledge: Code Tracing
In the pre-released Skeleton Program, inspecting the subroutine GetPirateAction reveals how it delegates tasks:
- It prompts for an action or chooses an action for the pirate.
- If the pirate walks, it calls PirateWalks(...) .
- If the pirate digs, it calls PirateDigs(...) .
- Because both are invoked directly by GetPirateAction , they sit as direct child nodes under it.
๐ง Exam Technique
When revising the Skeleton Program before Paper 1:
- Construct a full subroutine call graph (who calls whom). Questions testing the modular layout of the Skeleton Program appear frequently.
- Ensure you don't repeat the same identifier in both 10.2 and 10.3.
โ Common Errors
- Writing subroutines called from the main program rather than from GetPirateAction (e.g., writing DisplayGrid or CheckGameOver ).
- Writing the same subroutine name in both boxes, forfeiting the mark for 10.3.
Question 10.4
Software Development Lifecycle (SDLC) Stage
โ Correct Answer
Design (or "During the design stage")
๐ก Key Knowledge: SDLC Stages
- Analysis: Defining requirements, user interviews, formulating problem specification.
- Design: Planning algorithms, structure charts, data structures, UI mockups, and validation rules before coding.
- Implementation (Coding): Translating designs into source code.
- Testing: Verifying code with normal, boundary, and erroneous data.
- Evaluation & Maintenance: Assessing criteria against user needs and fixing post-deployment issues.
๐ง Exam Technique: Single Clear Term
Notice the explicit mark scheme instruction: "R. more than one stage given". Writing "Analysis and Design" or "Design / Implementation" scores 0 marks. When asked to "State the stage", give exactly one definitive stage.
โ Common Errors
- Writing "Implementation" or "Coding" โ hierarchy charts are a planning tool created prior to writing program code.
- Hedging bets by naming multiple stages (e.g. "Planning and Analysis" or "Design/Development").
Topics
4.1 Fundamentals of programming ยท 4.1.2 Programming paradigms ยท 4.1.1 Programming
Question and mark scheme from the AQA A-Level Computer Science examination, AS Paper 1, June 2025. QuestionVault is an independent revision resource; questions remain the copyright of the awarding body.