Presentation is loading. Please wait.

Presentation is loading. Please wait.

I can program behaviours using inputs and outputs

Similar presentations


Presentation on theme: "I can program behaviours using inputs and outputs"— Presentation transcript:

1 I can program behaviours using inputs and outputs
Lesson 3

2 Demo What are the inputs and outputs on the puppy?

3 What are the inputs and outputs?

4 Challenge Can you make the puppy move forward? Can you then turn the program into a procedure?

5 Extension Challenges Can you: Make the puppy chase its tail (spin)?
Make it move forward, turn around 180 degrees, then move forward again, like the puppy is patrolling?

6 Investigation What do both of these sets of blocks do?
What is the difference between them?

7 Challenge Can you make the puppy spin around if you get too close?
What has to happen? How do we decompose the problem?

8 Making the puppy react What does this block of code do?

9 Remember to comment your code!
Right click the block and click “add comment”. Explain/summarise what the set of blocks does.

10 What have we learnt? What were your solutions?

11 Self-assessment Write your name and class at the top of the sheet.
Read the highlighted points and tick those that you feel you have achieved.


Download ppt "I can program behaviours using inputs and outputs"

Similar presentations


Ads by Google