Writing statements inside flowchart symbols

Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.

Writing statements inside flowchart symbols

Name:
Date:
Class:

Quick Questions

Shade in the A or B circle for each question.

1. Which text belongs in a process box that adds 1 to a counter?
A Add one to the count
B Count ← Count + 1
2. Which text is correct inside a decision diamond?
A Mark >= 50
B Is the mark 50 or more?
3. Which text is correct inside a parallelogram to read a value from the user?
A INPUT Mark
B Ask the user for the mark
4. Which process box shows the correct way to store a value in a variable?
A Total = 0
B Total ← 0
5. Which text is correct in a parallelogram to display a result?
A OUTPUT Total
B Show the total on screen

Match the Pairs

Draw a line connecting each item on the left to its match on the right.

Left columnRight column
1Total ← Total + Mark AA process box that adds Mark to Total and stores the result back in Total
2Mark >= 50 BA vague question is used instead of a precise condition. It should be Mark >= 50.
3A parallelogram that reads a value from the user into a variable uses the INPUT keyword CA decision diamond condition that asks if Mark is 50 or more, with Yes and No exits
4A parallelogram that shows a result to the user uses the OUTPUT keyword DA sentence is used instead of a pseudocode statement. It should be Count ← Count + 1.
5Process box: Add 1 to the counter EINPUT Mark
6Decision diamond: Is the mark high enough to pass? FOUTPUT Total

Definitions

Count ← Count + 1

Fill in the Blanks

Complete each line of code by filling in the missing parts.

1.
Count _ Count + 1
2.
Mark __ 50
3.
_____ Mark
4.
______ Total
5.
Total ← Total _ Mark

Spot the Error

Shade in the letter of the line that contains an error.

Question 1
A Para: INPUT Mark
B Box: Add Mark to Total
C Para: OUTPUT Total
Question 2
A Box: Count = 0
B Para: INPUT Mark
C Diamond: Mark >= 50
Question 3
A Para: Ask the user for Age
B Diamond: Age >= 18
C Para: OUTPUT "Adult"
Question 4
A Para: INPUT Mark
B Diamond: Mark >= 50
C Para: PRINT "Pass"
Question 5
A Box: Total ← 0
B Box: Count ← 0
C Para: INPUT Score
D Box: Total + Score ← Total

Answer Key

Writing statements inside flowchart symbols
Section A: Quick Questions
Q1
B — Count ← Count + 1
Q2
A — Mark >= 50
Q3
A — INPUT Mark
Q4
B — Total ← 0
Q5
A — OUTPUT Total
Section B: Match the Pairs
Q1
Total ← Total + Mark → A process box that adds Mark to Total and stores the result back in Total
Q2
Mark >= 50 → A decision diamond condition that asks if Mark is 50 or more, with Yes and No exits
Q3
A parallelogram that reads a value from the user into a variable uses the INPUT keyword → INPUT Mark
Q4
A parallelogram that shows a result to the user uses the OUTPUT keyword → OUTPUT Total
Q5
Process box: Add 1 to the counter → A sentence is used instead of a pseudocode statement. It should be Count ← Count + 1.
Q6
Decision diamond: Is the mark high enough to pass? → A vague question is used instead of a precise condition. It should be Mark >= 50.
Section C: Definitions
Q1
Count ← Count + 1 — Flowchart symbols hold precise pseudocode, not sentences. Process boxes use ← statements like this, decisions use conditions like Mark >= 50, parallelograms use INPUT or OUTPUT.
Section D: Fill in the Blanks
Q1
Count ← Count + 1
Q2
Mark >= 50
Q3
INPUT Mark
Q4
OUTPUT Total
Q5
Total ← Total + Mark
Section E: Spot the Error
Q1
B — Flowchart symbols must hold precise pseudocode, not sentences. The process box should say Total ← Total + Mark.
Q2
A — A process box sets a value with the assignment arrow ←, not =. It should be Count ← 0.
Q3
A — A parallelogram for input uses the INPUT keyword with the variable name, not a sentence. It should be INPUT Age.
Q4
C — Pseudocode uses the keyword OUTPUT for output, and PRINT is not a pseudocode keyword. It should be OUTPUT "Pass".
Q5
D — The arrow ← points from the value to the variable being set. The variable goes on the left, so it should be Total ← Total + Score.