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 shape | Aif answer == "4": print("Correct!") else: print("Wrong!") | |
| 2Oval shape | B# Rectangle: display a message print("Hello!") | |
| 3A rectangle in a flowchart represents a process step or action | CWrong — start and end are shown with an oval, not a rectangle | |
| 4A diamond maps to an if/else decision in code | DWrong — flowcharts are planning tools drawn before writing any code | |
| 5# Rectangle = start or end of program | ERepresents a yes/no decision point in a flowchart | |
| 6# Flowcharts are drawn after coding is done | FMarks the start or end of a flowchart program |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
flowchart — A visual diagram that maps a program's logic before coding, using ovals for start/end, rectangles for steps, and diamonds for yes/no decisions# Oval shape = start or end of program# Rectangle shape = a step or action# Diamond shape = a yes/no decision# Arrows show the direction of flow# Plan with a flowchart before coding