Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
4 views9 pages

Lesson 2

Uploaded by

senbeth11
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views9 pages

Lesson 2

Uploaded by

senbeth11
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

Lesson 2: Decisions in Flowcharts

Year 7 | 40 minutes | High-contrast slides

Computer Science

▶ Goal: Read and draw decision flowcharts correctly using standard shapes and clear
True/False branches.
▶ You need: mini-whiteboard & pen.

1/9
Keywords

Start/Stop (oval) Input/Output (parallelogram)


Process (rectangle) Decision (diamond)

Condition True False Branch

2/9
Do Now (5 minutes) — Shape Match

On mini-whiteboards, match each shape name to its purpose:


▶ Start/Stop (Begins or ends an algorithm)
▶ Input/Output (Data entering/leaving)
▶ Process (Action/step is performed)
▶ Decision (Yes/No or True/False choice)
Teacher prompt: “Which two shapes are used for reading or showing information?”

3/9
Teach (10 minutes): How to Draw a Decision
1. Write the condition inside the diamond.
2. Draw two arrows leaving the diamond and label them True and
False.
3. Each arrow leads to the next step (process or output). Only one
path is taken.

Start
Input colour
Decision: (colour = blue)?
True → Output “Blue”
False → Output “Not blue”
Stop

Tip: Put the True arrow to the right and the False arrow down/left 4/9
Guided Practice (10 minutes) — Label Each Shape

Trace and label the shapes for this algorithm:

1. Start
2. Input: number
3. Decision: (number ≥ 10)?
True → Output “Two digits or more”
False → Output “One digit”
4. Stop

Check for: Start/Stop = oval; Input/Output = parallelogram;


Process = rectangle; Decision = diamond.

5/9
Partner Task (12–15 minutes) — Investigate
On paper, draw this flowchart and test at least two inputs.

Start → Input: answer


Decision: (answer = 4)?
True → Output “Correct”
False → Output “Sorry, no”
Stop

Success criteria:
▶ Clear True/False labels on the decision arrows
▶ Each step connects to the next; only one path followed at each
decision
▶ Outputs are clearly shown
Extension: Add a second decision if the first is False (e.g., “Is answer
6/9
Common Mistakes & Fixes (5 minutes)

▶ Missing arrow labels → always add True/False.


▶ Writing actions inside the diamond → only the condition
goes in the diamond.
▶ Multiple exits from a process → processes have one exit;
decisions have two.

7/9
Exit Ticket (2–3 minutes)

Complete the sentence on a sticky note:

Prompt
“One mistake I must avoid when drawing decisions is
because .”

Collect as students leave; scan for misunderstandings to address next


lesson.

8/9
Teacher Notes (Quick Reference)

▶ Keep language anchored to True/False paths.


▶ Circulate during partner task: ask “What is your condition? Which path is
True?”
▶ Celebrate neat, readable flows; model one on the board.

9/9

You might also like