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 | |
|---|---|---|
| 1A rectangle with double lines down both sides, labelled CalculateTotal | AMain flowchart: Start, then the symbols CheckPassword and LoadMenu, then End. The decisions and loops are drawn in their own flowcharts | |
| 2A separate flowchart for CalculateTotal that begins with its own Start and finishes with its own End | BStructure diagram boxes: GetMarks, CalculateAverage, ShowGrade. Main flowchart: Start, then three double-sided rectangles with those names, then End | |
| 3Each box in the second level of a structure diagram becomes one subroutine symbol in the main flowchart | CThe separate flowchart is missing its own Start and End. It should begin with a Start terminator (with the subroutine name) and finish with an End terminator. | |
| 4The main flowchart stays short because the detailed steps are hidden inside the subroutine flowcharts | DThe detailed steps of the subroutine, drawn apart from the main flowchart | |
| 5A plain process rectangle (no double side lines) labelled CalculateTotal used to call a subroutine | EA subroutine symbol: a call to the subroutine CalculateTotal, whose steps are drawn in a separate flowchart | |
| 6A subroutine flowchart for CalculateTotal with no Start or End terminator, only the steps | FA plain rectangle is a process symbol, not a subroutine symbol. A subroutine call needs a rectangle with double side lines. |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
Subroutine symbol — A rectangle with double side lines. It stands for a call to a subroutine whose steps are drawn in a separate flowchart, which keeps the main flowchart short.CALL GetMarks()PROCEDURE GetMarks()
INPUT Mark
ENDPROCEDURE// Subroutine symbol: double side linesPROCEDURE GetMarks()
INPUT Mark
ENDPROCEDUREStart -> CALL GetMarks() -> End