Six original Cambridge-style questions on decomposition, structure diagrams, flowcharts and pseudocode.
Draw and name the flowchart symbols used for: (a) the start of a flowchart; (b) Total ← Total + Price; (c) OUTPUT Total; (d) Price > 100?
A smart thermostat keeps a room at a temperature chosen by the user. Identify one input, one process, one output and one item of storage.
A program for a school canteen lets students order lunch. Draw a structure diagram with the top-level box "Canteen ordering" and three sub-systems below it.
State the purpose of this algorithm.
Total ← 0
FOR Day ← 1 TO 7
INPUT Steps
Total ← Total + Steps
NEXT Day
OUTPUT TotalExplain one difference between a structure diagram and a flowchart.
A student draws a flowchart in which a decision diamond Age >= 18? has only one line coming out of it. Explain the error and how to correct it.
Mark this once you have attempted all six and checked your working. It records a Practiced badge on the topic and adds a one-time bonus. Revealing the solutions alone does not count.