Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.
Shade in the A or B circle for each question.
Draw a line connecting each item on the left to its match on the right.
| Left column | Right column | |
|---|---|---|
| 1Subroutine symbol labelled Get Marks | AA call in the main flowchart that runs the Get Marks sub-problem, which has its own separate flowchart | |
| 2Main flowchart: START, Get Marks, Calculate Grade, Show Result, END | BBoxes: Get Marks, Calculate Grade, Show Result -> Flowcharts: Get Marks, Calculate Grade, Show Result | |
| 3Every bottom-level box in the structure diagram needs its own flowchart | CBox Show Result -> symbol Show Result in main -> flowchart Show Result drawn, tick | |
| 4Check that every box has been drawn by matching each box to a subroutine symbol and a sub-flowchart | DOne bottom-level box has no flowchart, so the solution is incomplete and that sub-problem is never solved | |
| 5Main flowchart: START, rectangle Get Marks, rectangle Calculate Grade, END | EA main flowchart that is only a list of calls, one subroutine symbol per sub-problem, in order | |
| 6Structure diagram has 3 bottom boxes but only 2 sub-flowcharts are drawn | FThe sub-problems are drawn as ordinary process rectangles instead of subroutine symbols, so they are not calls to separate flowcharts |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
main flowchart — A flowchart that calls each sub-problem from the structure diagram with a subroutine symbol. Each sub-problem then gets its own separate flowchart.Structure box: CalcAverage
Main flowchart: CALL CalcAverageBottom-level box: ShowResult
Main flowchart: CALL ShowResultBottom boxes: GetMarks, CalcAvg, ShowResult
Sub-flowcharts to draw: 3Sub-flowchart for the box GetMarks:
It has its own START and END ovalsBoxes: GetMarks, CalcAvg, ShowResult
Main calls: GetMarks, CalcAvg, ShowResult