Rhea has drawn a rectangle 30cm by 20cm. Her teacher now asks Rhea to draw a rectangle 15cm by 10cm using the hedgehog.Rhea’s first line of code was: Forward 30cm.What is Rhea’s new first line of code?

🎲 Try a Random Question  |  Total Questions in Quiz: 20  |  🧠 Study this quiz with Flashcards
This question is part of a full practice quiz:
Grades 3, 4 and 5 - Computer Science - Elementary School - Writing Code — practice the complete quiz, review flashcards, or try a random question.

Rhea is using a computer to draw shapes. A hedgehog on the computer screen walks round the different shapes. Rhea is writing code to get the hedgehog to draw the correct shape on the computer screen. In the quiz below, Rhea is programming the hedgehog to draw a rectangle. The rectangle must be 30cm long and 20cm deep.

Tom has a character on his computer screen. The character is called Henry. Tom wants to animate Henry and make him walk around the screen. In the quiz below, what code is Tom writing to make Henry walk?

Remember, all the steps in a program have to be in the correct order.


Rhea has drawn a rectangle 30cm by 20cm. Her teacher now asks Rhea to draw a rectangle 15cm by 10cm using the hedgehog.<br /><br />Rhea’s first line of code was: Forward 30cm.<br /><br />What is Rhea’s new first line of code?