Writing code means choosing clear instructions for a computer to follow. In this quiz, you will pick the right commands, put them in order, and fix simple mistakes.
|
|
||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
|
|
You can find more about this topic by visiting BBC Bitesize - What is a computer program?
The hedgehog walks 30cm right across the top of the screen
|
The hedgehog turns right, ready to go down the screen
|
||||||||||||||||||||||||
The hedgehog moves down the screen 20cm. Ella has drawn two sides of the rectangle
|
Tricky! If the hedgehog turns left, it will go off the screen in the wrong direction!
|
||||||||||||||||||||||||
The hedgehog has now drawn another side of the rectangle
|
Altogether, a rectangle has 4 sides. The hedgehog has drawn 3 of the sides so far
|
||||||||||||||||||||||||
If the hedgehog turns right, it is soon facing in the right direction
|
The hedgehog is now back where it started
|
||||||||||||||||||||||||
A rectangle has 4 sides. How many sides has a triangle?
|
How much smaller is 15cm than 30cm? - It is half as long
|