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 | |
|---|---|---|
| 1[Add 1 to count] | AA yes or no question is drawn in a rectangle. A rectangle is only for a step. Questions need a diamond. | |
| 2<Is it raining?> | BA rectangle: one step, or action, for the computer to do | |
| 3Arrows join the shapes and show the order to follow, from start to end | C(Start) --> [Ask name] --> (End) | |
| 4An input and output box shows information going into or coming out of the algorithm | DA diamond: a yes or no question that splits the path | |
| 5[Is it raining?] | E/Input: age/ | |
| 6<Is it raining?> --> [Take umbrella] | FThe diamond has only one arrow coming out. A decision needs two arrows, one labelled Yes and one labelled No. |
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 uses an oval for start and end, a rectangle for a step and a diamond for a yes or no question, all joined by arrows that show the order.Rectangle: Pack my bag
Oval: EndOval: Start
Rectangle: Get a pencil
Diamond: Is it sharp?Oval: Start
Rectangle: Get a pencil
Diamond: Is it sharp?Start -> Get a pencil -> Sharpen itDiamond: Is it raining?
Yes -> Take an umbrella
No -> Go outside