



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Objective. To identify algorithms with clear instructions. To demonstrate building algorithms with clear instructions. Keywords. Algorithms. Instructions.
Typology: Summaries
1 / 5
This page cannot be seen from the preview
Don't miss anything!




You will aim to learn the following objectives and keywords during this lesson.
Learning
Objective
To identify algorithms with clear instructions
To demonstrate building algorithms with clear instructions
Keywords
Algorithms
Instructions
Concept How it is used
Algorithms are step by step instructions
but how they are laid out is equally as
Important.
If the instructions are not
clear then the program cannot follow and
create the output as expected.
The instructions need to be clear and
precise so the program can work.
Garbage in, Garbage Out: If the instructions
are not clear , then the output will not work.
Scenario 1 Scenario 2
You are sitting in your favourite lesson and
have received the task to complete.
How do you know what to do in the task?
What do you do if you cannot understand
the task?
Think like a computer; if you cannot
understand, you cannot complete the task!
Imagine you are a toddler and learning
how to get yourself dressed?
How do you know how to put
trousers on?
What happens if the instructions be
muddled?
Can you think where you have struggled to understand instructions?
Where else do you need clear instructions?
In your group, one of you should turn around and put the three blocks together, and then
without showing the others in your group try and describe how to build it.
Step by Step instructions (Algorithm) Draw your Lego structure
Everything we do relies on following rules and wherever you go will result in a new set
of rules. If these rules are not clear you are likely to struggle to follow them correctly.
How did you find describing your Lego structure to another in step by step instructions?
How can you control MiRo to move forward and backward?
You are going to create a program that will control the movement. Think about the
steps you would need to add to the algorithm. How might this be written out…
Can you write some instructions out for the algorithm to move below?
How are we going to make sure that MiRo does this the same every time?
Using this algorithm as your plan, create and run the program in the MiRoSIM.
Step Image
Add 1 x
Program
Start block
(^2) Add 1 x
Move
Forwards
block 3 Set the speed to ‘fastest’
Add 1 x
Wait block
Add 1 x
Move
Forwards
block
Set the direction to ‘backwards’
and the speed to ‘fastest’
Add 1 x
Wait block
8 Click Simulator Play or Robot Play
Step Image
Add 1 x
Start
Turning
Left block
3 Set the speed to fastest
Add 1 x
Wait block
Add 1 x
Stop
Turning
block
8 Click Simulator Play or Robot Play