AdvertisementYour brand could be hereYour brand hereOn every Darslab page · students, parents and teachersinfo@darslab.comAsk for pricesPricesinfo@darslab.com
☰ Contents · Computing

The flowchart and the linear algorithm

Lessons 22–24 · 3 lessons · F.M. Zakirova, M.R. Zakirova. Informatics and Information Technology Grade 2. Novda Edutainment, 2024
24

Making a flowchart of a linear algorithm

Textbook: pp. 62–65
GoalBreak a simple job into exact actions and make a flowchart for a linear algorithm.
New words
action · harakatcorrectly made · to‘g‘ri tuzilganexact · aniqwall · devor
Explanation

To make a flowchart we split a job into separate actions. Each action must be exact and clear. A correctly made algorithm always gives the result once all actions are done. Commands like “take whatever you need” are not an algorithm, because they are not exact.

!Careful!
“Take whatever you need” is not an algorithm: the action is not exact.
★

—

Not at the star yet: add commands

🧹 Where will I use this?
In real life

Cleaning the classroom is big. We split it into small exact actions.

Try it today

Split one small job into three exact actions.

Worked examples
Startboil waterput tea in the potpour hot wateradd sugarstirEnd
“Making tea”: (Start) → [boil water] → [put tea in the pot] → [pour hot water] → [add sugar] → [stir] → (End).
A robot reaches a battery between two walls: ↑ → → ↓ — 4 actions, 5 arrows, 2 ovals.
Class activity

“Soup” flowchart: groups write 5 actions for making soup on cards, put them in order, copy them onto oval and rectangle papers and join them with arrows.

Practice
1
How many rectangles does the “Making tea” flowchart above have?
2
How many arrows does the same flowchart have?
3
Can “Take whatever you need!” be an algorithm? Why?
Story of the Week · The Khwarizmi WayAziz’s first toothClose the week: all of this week’s subjects in one storyRead →