SDD  ·  Revision  ·  Section B

Structure Diagram or Pseudocode?
Design Technique Drill

Software Design & Development revision Approx 30–40 min 8 scenarios  ·  justification practice
Recap: A structure diagram is a graphical, top-down/left-to-right tree that breaks a program into steps and sub-steps — good for showing the overall shape of a solution at a glance. Pseudocode is a text-based design of numbered main steps and refinements, each refinement mapping to roughly one line of real code — good for detailed, coding-ready logic.  → SDD3 — Structure Diagrams & Flowcharts  ·  SDD4 — Pseudocode
How to use this drill: Read each scenario carefully — the clue is in what the design needs to do: give an overview, or map closely onto code. Select Structure Diagram or Pseudocode, then write a justification using evidence from the scenario. Reveal the model answer to check your reasoning.
Your choices and justifications are saved automatically.
Section B — Structure Diagram or Pseudocode?

Eight scenarios. Select a design technique, justify your choice using the scenario, then check the model answer. Scenarios 5 and 8 are marked DISCUSS — either answer can be correct if well-justified.

Scenario 1 of 8 Ready to start coding

A pupil has finished analysis for a program that asks for three test scores, calculates the average, and displays a pass/fail message. She now needs a design detailed enough that she can translate it into Python almost line by line, including the exact order of getting inputs, doing the calculation, and checking the condition.

Expected: Pseudocode Pseudocode is suitable. Its main steps and refinements are written so that each refinement maps to roughly one line of real code, which is exactly what the pupil needs before translating the design into Python. The scenario specifically asks for a design detailed enough to code almost line by line — pseudocode's numbered structure (1, 1.1, 1.2…) gives that level of precision, which a structure diagram's boxes do not.
Scenario 2 of 8 Explaining the plan to a client

A development team is meeting a client who has no programming background. The team wants to show the overall shape of the proposed booking system — the major stages such as checking availability, taking payment, and confirming the booking — without getting into detailed calculations or exact wording.

Expected: Structure Diagram A structure diagram is suitable. It is a graphical, top-down/left-to-right breakdown of the program into steps and sub-steps, which lets a non-technical client see the overall shape of the system — the major stages — at a glance. The client does not need detailed calculations, which is what a structure diagram deliberately leaves out compared with pseudocode.
Scenario 3 of 8 Loop with a nested decision

A programmer is designing a section of code that loops through 30 pupil scores, and for each one checks whether it is above 50 to decide whether to add it to a pass counter. He wants the design to show the exact nesting of the loop and the decision, numbered clearly enough that he can convert each line straight into code.

Expected: Pseudocode Pseudocode is suitable. FOR / END FOR and IF / END IF constructs, shown with indentation and numbered refinements, let the programmer show exactly how the decision is nested inside the loop, in a form ready to convert directly into code. The scenario explicitly wants a design he can convert straight into code, which is what pseudocode's line-by-line refinements are built for.
Scenario 4 of 8 Design review whiteboard session

A team is reviewing the design of a large stock-control program with many steps. They want to sketch the whole program's breakdown on a whiteboard so everyone can see all the major sections and their sub-steps at once, and quickly spot whether any section of the program has been forgotten.

Expected: Structure Diagram A structure diagram is suitable. Its tree layout, read top-down and left-to-right, shows every major section and sub-step of the program at once, making it easy to see the whole design in one view and to notice if a section is missing. This visual overview is harder to get from pseudocode, where sections are read sequentially as numbered text rather than seen all at once.
Scenario 5 of 8 Coursework design evidence Discuss

A pupil is producing design evidence for an assignment. The task requires a design for a moderately complex program with two nested loops and a selection. The marking instructions say the design must "clearly show the program's overall structure" and must also "be detailed enough to implement."

Expected: Either — if justified using the scenario If choosing Structure Diagram: The marking instructions ask the design to "clearly show the program's overall structure" — a structure diagram's tree layout does this directly, letting a marker see the nested loops and selection at a glance.

If choosing Pseudocode: The instructions also require the design to be "detailed enough to implement" — pseudocode's numbered main steps and refinements give the line-by-line detail a structure diagram's boxes do not.

Exam note: A weak answer picks one technique and ignores the other requirement in the scenario. A strong answer names both requirements from the marking instructions and explains which one the chosen technique satisfies — or notes that, in practice, this pupil might use both together.
Scenario 6 of 8 Precise sequence of calculations

A developer is designing a program that converts a temperature from Celsius to Fahrenheit, then to Kelvin, displaying each result in turn. She needs the design to specify the exact order of the calculations and exactly what is displayed after each one, ready to be typed directly into an editor as code.

Expected: Pseudocode Pseudocode is suitable. Numbered main steps and refinements can specify the exact order of the three calculations and the display statement after each one, at a level of detail close enough to real code to be typed almost directly into an editor — which is precisely what the developer needs here.
Scenario 7 of 8 Teaching S3 the idea of top-down design

A teacher is introducing S3 pupils to program design for the first time, before they have written any code. She wants pupils to see how a simple quiz program breaks down into "get question," "check answer," and "show score," without needing to understand any programming syntax yet.

Expected: Structure Diagram A structure diagram is suitable. It breaks the quiz down into steps and sub-steps as a graphical tree, letting pupils see the top-down organisation of "get question," "check answer," and "show score" without needing to understand any programming syntax — exactly right for pupils before they have met code.
Scenario 8 of 8 Full project design documentation Discuss

A small software company is producing the design documentation for a new stock-ordering system before implementation begins. The documentation will be read by project managers, who want to understand the system's overall shape, and by the developers who will actually write the code from it.

Expected: Either — if justified using the scenario If choosing Structure Diagram: The project managers need to understand the system's overall shape — a structure diagram communicates that visually without requiring the reader to follow detailed, code-like steps.

If choosing Pseudocode: The developers who will write the code need design detail close to real code — pseudocode's main steps and refinements give them that starting point directly.

Exam note: The two audiences named in the scenario — managers and developers — want different things from the design. The strongest answers notice that a real project would likely produce both documents, and justify a single choice only by explaining which audience the question is really asking about.
Marker's eye view — why candidates lose marks

Candidates can usually define structure diagrams and pseudocode separately, but lose marks when asked to justify choosing one over the other for a given scenario. The most common error is a vague preference — "pseudocode is more detailed" or "a diagram is easier to read" — without tying that feature to what the scenario actually needs the design to do.

The second common error is forgetting that both techniques represent the same underlying logic — the choice is about audience and purpose, not correctness. A structure diagram is not "wrong" for a complex algorithm; it is simply less suited to showing the exact sequence of steps a programmer will type. Use precise vocabulary — main steps and refinements, top-down, left-to-right, maps to one line of code, overall structure — and attach each term to a clue in the scenario.

For the two Discuss scenarios: name your choice, link it to one specific requirement or audience named in the scenario, and where the scenario clearly asks for both things a design can offer, say so rather than picking a side and ignoring the rest of the evidence.