This quiz addresses part of the requirements of the National Curriculum KS1 for children aged 5 and 6 in years 1 and 2 in Computing. Specifically it looks at how to write a simple code to draw shapes on a computer screen. It is one of 20 quizzes to help you find out about how computers work, and how they affect all our lives.
Ella is using a computer to draw shapes. A hedgehog on the computer screen walks round the different shapes. Ella is writing code to get the hedgehog to draw the correct shape on the computer screen. In this quiz, Ella is programming the hedgehog to draw a rectangle. The rectangle must be 30cm long and 20cm deep.
|
|
||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
|
|
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
|