You are on page 1of 10

LEGO Coding 2018 – 2019

To design, write and debug programs that include simulating or controlling physical
systems
Programming

To use variables and forms of input and output in my programs

To detect and correct errors in algorithms and programs (debug)

Date: _______________________________ Names:____________________________


LO: To design, write and debug programs that include simulating or controlling physical systems.
There are too many fish in the pond! Can you help?

Your job is to build a young alligator to keep the fish numbers down using the printed instructions. You will need to build an
alligator with jaws that open and close. It will also needs to sense when fish are close so that they can be caught: using a sensor
to detect whenever a fish swims through its jaws. Good luck!

Draw the algorithm for your alligator here.

Challenge yourself to incorporate sounds for when the alligators mouth open and closes.
Date: _______________________________

LO: To detect and correct errors in algorithms and programs (debug)

I have the incorrect algorithm for my dancing birds. Can you


help me to debug my algorithms?

Task: Create your own dancing birds and an algorithm that


works using these incorrect instructions.

Draw the algorithm for your dancing birds so that the birds spin.

Challenge yourself to incorporate music or sounds for the birds to dance too – record your amended algorithm here.
Date: _______________________________

LO: To use variables and forms of input and output in my programs

Task: using your solution of the above algorithm – what different variables could you
change to create in order to design a new program? List them beliow:

__________________________________________________

_________________________________________________________________________
_

Show how you have redesigned the algorithm to include some of the variables.

Challenge yourself to incorporate music or sounds for the birds to dance too – record your amended algorithm here.
Date: ________________________________
LO: To design, write and debug programs that include simulating or controlling physical systems
To use variables and forms of input and output in my programs
To detect and correct errors in algorithms and programs (debug)

Marty the Monkey has lost the beat!

Can you help Marty the monkey play alternative beats as the Lego men and ladies are getting tired of his music.

Task: follow the instructions to build Marty the drumming monkey. Then using the program blocks design a new algorithm that
makes Marty play different beats.

Show your new algorithm here:


Date: ________________________________
LO: To use variables and forms of input and output in my programs

In your groups – using the algorithms you have formulated so far, can you create a program that combines both the ‘Dancing
Birds’ and the ‘Drumming monkey’.

Draw your combined program below.


Date: ________________________________
LO: To design, write and debug programs that include simulating or controlling physical systems
To use variables and forms of input and output in my programs
To detect and correct errors in algorithms and programs (debug)

TASK: to re-design a model and its program using


any of the models you have created so far either
individually or in combination.
What we designed
_______________________________________________________________________________

__________________________________________________________________________________________
_______________

__________________________________________________________________________________________
_______________

We designed it to
_______________________________________________________________________________

__________________________________________________________________________________________
_______________

__________________________________________________________________________________________
_______________

We used this block because ________________________________________

________________________________________________________________________________
________________________________________________________________________________

We used this block because ________________________________________

________________________________________________________________________________
________________________________________________________________________________

Our Programs – The algorithms we have used …


Self-assessment

How did we solve the problem? How successful was the outcome?

__________________________________________________________________________________________
__________________________________________________________________________________________
_____________________________

__________________________________________________________________________________________
__________________________________________________________________________________________
______________________________

What were the difficult parts of solving the problem? Why were they difficult?

__________________________________________________________________________________________
__________________________________________________________________________________________
______________________________

__________________________________________________________________________________________
__________________________________________________________________________________________
______________________________

How did we work together to apply what we have learnt about programming?

__________________________________________________________________________________________
__________________________________________________________________________________________
______________________________

__________________________________________________________________________________________
__________________________________________________________________________________________
______________________________

What were we most successful at as a group? Why?


__________________________________________________________________________________________
__________________________________________________________________________________________
______________________________

__________________________________________________________________________________________
__________________________________________________________________________________________
______________________________

What have we learnt from our teamwork and project?

__________________________________________________________________________________________
__________________________________________________________________________________________
______________________________

__________________________________________________________________________________________
__________________________________________________________________________________________
______________________________

You might also like