Unit/Lesson/
Subject Grade Date Block week classwork
Topic
Flowchart
15/10/202
ICT 6 3
1 6 s& 1 out of 7
algorithms
Use sequence, selection and repetition to solve complex
problems.
Objectives:
Learning
Define problem.
Outcome
/Objective: Define problem solving.
Define flowcharts.
Draw flowchart standard shapes.
Solve problems using flowcharts.
………………………………………………………
G6
Student Name: ……………………………………………………… Class
………. A/B
Block 2
Sheet1
Page 1 of 7 Nile Egyptian School _ October – )مدارس النيل المرصية (فرع أكتوبر
Introduction
What does a problem mean??
It is a question that needs an answer.
OR A goal you want to achieve.
OR A situation that requires a solution.
NOTE → Every problem even in our daily life needs a sequence to be solved.
A sequence: Is a group of series of steps arranged in a logic.
Let’s take an example from your daily life:
You have asked your mom to make you a cake.
Sure, you will enter the kitchen to
1. Prepare the ingredients.
2. Mix the ingredients in a certain sequence in order to get a delicious cake.
3. Put the mix in the oven for 30 mins.
4. The cake is ready.
What is a flowchart?
A flowchart is a diagram that uses standard shapes to solve a problem in a
Uses of a flowchart:
• To explain and show the sequence of steps of solving a problem.
• To plan for a computer program.
Page 2 of 7 Nile Egyptian School _ October – )مدارس النيل المرصية (فرع أكتوبر
What is meant by an Algorithm?
• Is a set of series of steps Or guidelines that describes how to perform a task.
• A step-by-step instruction arranged logically to solve a problem.
Think of both flowchart and algorithm?
Algorithm is written before drawing the flowchart.
*Algorithm is a written series of solution steps in a logic.
*Flowchart is a diagram of algorithm steps.
Which means that:
Algorithm is represented by
drawing a flowchart.
Page 3 of 7 Nile Egyptian School _ October – )مدارس النيل المرصية (فرع أكتوبر
FLOWCHART SYMBOLS
Symbol Name Function
Is used to indicate the start and end of a
flowchart.
Start written in the terminal shape to indicate the
Start / End beginning of a flowchart.
End or Stop is written in the terminal shape to
indicate the end of the flowchart.
Arrows are used to connect the shapes in a
Arrow/
flowchart, used to indicate the order of
Flow line operation.
Input / A parallelogram is used to read data (input) or to
Output print (output).
A rectangle is used to show the processing that
Process takes place in the flowchart
A diamond with two branches is used to show the
decision-making step in a flowchart
yes A question is specified in the diamond.
is? -Decision
OR
if -Questioning The next step in the sequence is based on the
-Branching answer to the question which is “Yes” or “No”.
No -Condition NOTE:
At least two arrows must come out of the diamond
shape.
Page 4 of 7 Nile Egyptian School _ October – )مدارس النيل المرصية (فرع أكتوبر
Let’s start solving some problems
Draw a flowchart for making a cup of tea
Algorithm Flowchart
Start
1- Start
2- Input Tea, Sugar, boiler, Water Input Tea, Sugar ,
boiler , Water
3- put water in the boiler
4- Turn on the boiler Put water in boiler
5- Bring cup
6- put sugar, tea Turn on the boiler
7- put boiled water
Bring cup
8- Mix
9- Output hot Tea cup Put sugar, tea
10- End
Put boiled water
Mix
Output hot Tea cup
End
End
Page 5 of 7 Nile Egyptian School _ October – )مدارس النيل المرصية (فرع أكتوبر
Draw a flowchart for setting alarm to get out of bed
Algorithm Flowchart
[Link]
[Link] alarm
[Link] the snooze button or not?
[Link] out of bed
[Link]
[Link]
Page 6 of 7 Nile Egyptian School _ October – )مدارس النيل المرصية (فرع أكتوبر
Draw a flowchart print out the Sum of two numbers
entered by the user?
As seen in the problem there is no numbers to sum, So we suppose two
Variables instead . As you do in math’s with ( x , y ) variables
First number → x
Second number → y
SO ,, Sum = x+y
Algorithm Flowchart
1- Start Start
2- Input x ,y
Input x , y
3- Sum = x+y
4- Output Sum
Sum = x+y
5- End
Output Sum
End
Page 7 of 7 Nile Egyptian School _ October – )مدارس النيل المرصية (فرع أكتوبر