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

Inputs and outputs

Week 28 · Unit 12: Be a problem solver · 3 lessons
Answers are for parents and teachers.
1
Name the input and the output of three machines or activities at home, such as a doorbell, a remote control or a switch.
2
Write an algorithm that asks for a number, doubles it, adds 1 and shows the answer. Trace it with the input 5.
3
Write a reset algorithm for a fish sprite. The input is clicking the green flag. The outputs are costume fish-a and the position x: −100, y: 30.
4
Make a number machine for your family: write a secret two-step rule on a card, such as “add 2, then double”. Let them give numbers and say the outputs. Can they guess the rule?
5
(if you have a computer or tablet) In Scratch, make a sprite go to x: −150, y: −60 when the green flag is clicked. Move it by hand and click the green flag. What happens?