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

Order, algorithms and repetition

Lessons 13–16 · 4 lessons · Informatics and IT Grade 1. Novda Edutainment, 2023
14

Steps in order (algorithms)

Textbook pp. 34–35
GoalMake and follow a sequence of steps to do a task (an algorithm).
New words
action, step · amalalgorithm · algoritminstruction · buyruqrecipe · retsept
Explanation

To do a task we carry out steps in an exact order. Such a list of steps is called an algorithm. A recipe is an algorithm too: if a step is missing or out of place, the result fails. Computers and robots also work by algorithms.

≡Algorithm
An algorithm is a list of steps in an exact order for doing a task.
1.2.3.4.

0 / 4 — choose the next one

🎲 Where will I use this?
In real life

We explain a game's rules to a friend step by step. If the order is clear, they do not get lost.

Try it today

Tell the rules of a game in two steps.

Worked examples
Startboil waterrinse the teapotadd tea leavespour hot waterwait a few minutesEnd
Making tea: boil water → rinse the teapot → add tea leaves → pour hot water → wait a few minutes.
Washing hands: turn on the tap → wet → soap → rinse → dry.
Class activity

“Robot game”: one child is the robot, another gives instructions: “2 steps forward, turn right, raise your hand.” The robot does only exactly what it is told.

Practice
1
When washing hands, what comes after soaping?
2
Order for frying an egg: crack the egg, heat the pan, add oil
3
What is an exact order of steps called?
Story of the Week · The Khwarizmi WayThe New Year treeClose the week: all of this week’s subjects in one storyRead →