Title: Kodu
1Kodu
2What We Are Learning
- ALL LEVELS
- We are learning the basics of programming
- Know the meaning of the terms sequence
- Understand how these would be used in a program.
- LEVEL 4
- Be able to use selection and sequence in their
Kodu world. - LEVEL 5
- Complete advanced sequencing
3REMINDER Flow Charts - Sequence
- A flow chart is a way to show the sequence of
events. - You have to make sure that all of the steps are
in the correct order.
4TASK 1- Put the sequence of events in the correct
order to make Kodu move towards an apple, eat it
and return to his original position. You should
join them using lines.
Start
Stop
Pick up apple
Move forward
Eat apple
Move forward
Turn around
5TASK 2- CHALLENGE Write a program below to take
a number, square it (multiply by itself) and
display the number.
Output number
Answer Number Number
Stop
Input number
Start
6Task 3- Create a program to Kodu move towards an
apple, jump onto a rock if the space bar is
pushed, eat the apple and turn around. You should
join them using lines.
Start
Pick up apple
Stop
Has space bar been pushed?
Jump on rock
Move forward
Turn around
Eat apple
7TASK 4- Try producing a flow chart for a program
not related to Kodu. The program should take a
number, square it and display the number. If the
answer is even then it will output a relevant
message, and if it is odd then it will show a
different message.
Output Number is even
Answer Number Number
Is Answer even?
Stop
Output Number is odd
Start
Input number
8Update DiaryWhat Have You Learnt?I have
learnt that a sequence is..