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 | |
|---|---|---|
| 1Diamond labelled Yes / No: Is Mark >= 50? | AA decision symbol with two labelled exits, so the flowchart can follow either path depending on the data | |
| 2Parallelogram: INPUT Mark | BYes branch: OUTPUT "Pass" → Stop; No branch: OUTPUT "Fail" → Stop | |
| 3Every path through the flowchart must reach a Stop symbol | CThe decision has only one labelled exit, so the No path is missing and the flowchart cannot finish for some data | |
| 4Check the flowchart with test data such as 50 and 49 to follow each path | DTest Mark = 50 → Yes → Pass; Test Mark = 49 → No → Fail | |
| 5Diamond with one Yes exit and no No exit | EAn input symbol that reads a value from the user into the variable Mark | |
| 6Rectangle: INPUT Mark | FInput drawn in a process rectangle instead of a parallelogram |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
flowchart — A diagram that solves a problem using symbols for start, input, process, decision, output and stop, joined by arrows. Label each decision Yes or No and test every path to Stop.Parallelogram: INPUT Mark
Diamond: Mark >= 50?Diamond: Mark >= 50?
Yes arrow: OUTPUT "Pass"
No arrow: OUTPUT "Fail"OUTPUT "Pass" -> Stop
OUTPUT "Fail" -> StopRectangle: Total ← Total + MarkTest data: Mark = 50, expect Pass
Diamond: Mark >= 50?
Yes -> OUTPUT "Pass" -> Stop