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 extra vertical lines at each side, containing CalculateTotal | AA rectangle with double side lines containing the name ShowMenu | |
| 2A rectangle with extra vertical lines at each side, containing PrintReport | BA plain rectangle is a process symbol, so it does not show a subroutine call. It needs extra vertical lines at each side. | |
| 3A subroutine symbol stands for a call to a subroutine, so the name of the subroutine is written inside it. | CA function call. The calculation is drawn as its own separate flowchart. | |
| 4The steps of a subroutine are not drawn inside the main flowchart. They are drawn as a separate, non-linked flowchart. | DMain flowchart: subroutine symbol labelled CheckPassword. Second flowchart: START, CheckPassword steps, END | |
| 5A plain process rectangle (no extra side lines) containing a call to CalculateTotal | EA procedure call. The steps of PrintReport are drawn as a separate flowchart. | |
| 6A subroutine symbol (rectangle with side lines) left empty, with the subroutine's steps drawn inside it as separate boxes | FThe subroutine's name must be written inside the symbol. Its steps belong in a separate flowchart, not inside the symbol. |
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 extra vertical lines at each side. It shows a call to a procedure or function that is drawn as a separate flowchart, with the subroutine's name written inside.CALL ShowMenu()Total ← AddTax(Price)PROCEDURE ShowMenu()
OUTPUT "Menu"
ENDPROCEDUREFUNCTION Double(N : INTEGER) RETURNS INTEGER
RETURN N * 2
ENDFUNCTIONFUNCTION Double(N : INTEGER) RETURNS INTEGER
RETURN N * 2
ENDFUNCTION