Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

L9 - Tera's Adventure: Investigate the Code

Total questions: 23

Worksheet time: 1hrs 11mins

Name
Class
Date
1.

I have opened Tera's Adventure Scratch Code at https://ncce.io/TerasAdventure

a)

True

b)

False

2.

How many forever loops are in Tera’s adventure, across all sprites?

3.
How many condition-controlled loops are in Tera’s adventure, across all sprites?
4.
How many count-controlled loops are in Tera’s adventure, across all sprites?
5.
How similar are the blocks of code on the star sprite and the snowflake sprite?
a)

Exactly the same

b)

Similar but the action when they touch Tera is different

c)

Not similar at all

6.
The star sprite also contains a Forever loop. Describe the role of the first two motion blocks inside the Forever loop.
4 lines
7.
Look at the Repeat until loop that is used with the star sprite. What condition needs to be ‘true’ for the loop to terminate?
a)
Touching an edge or touching Tera
b)
Not touching an edge or not touching Tera
c)
Game needs to have finished
8.
In the same Repeat until loop, what does the Move 15 steps block do?
4 lines
9.
The same Forever loop contains this block of code: What do you think this block of code is doing?
4 lines
10.
Looking at the same Forever loop, describe the purpose of its design.
4 lines
11.
The star sprite also contains this block of code. What do you think this block of code is used for? Why is it needed?
4 lines
12.
In the ‘Tera jump’ subroutine you can see this block of code. Why has this block of code been used instead of Turn 360 degrees’?
4 lines
13.
Why does the Play sound block need to be inside a Forever loop? What is its purpose?
4 lines
14.
This block of code is used as a countdown timer for the game. Which other type of loop could have been used for the same purpose? Describe how it could have been used.
4 lines
15.
In the ‘Tera angry’ subroutine, why has a Repeat (30) loop been used for the costume instead of a Repeat until loop?
4 lines
16.
This block of code uses a Forever loop. Could a Repeat until loop have been used instead? Explain your answer.
4 lines
17.
You are a programmer and have been asked to draw one single square in Scratch as efficiently as possible. Select the loop that you would use.
a)

Option 1 - Forever loop

b)

Option 2 - Count controlled iteration

c)

Option 3 - Condition controlled iteration

18.
Explain your reasons for selecting that option.
4 lines
19.
You are a programmer and have been asked to display a ten second countdown in Scratch. Select the loop that you would use.
a)

Option 1 - Condition controlled iteration

b)

Option 2 - Count controlled iteration

c)

Option 3

20.
Explain your reasons for selecting that option.
4 lines
21.
You are a programmer and have been asked to make a sprite dance until the game is stopped by the user in Scratch. Select the loop that you would use.
a)

Option 1

b)

Option 2

c)

Option 3

22.
Explain your reasons for selecting that option.
4 lines
23.

Explorer Task: Back to Tera. Can you modify part of the code to see if you can use an alternative loop to perform the same task as an existing loop?

You can pick an example from ‘the Tera sprite’ task to try.

Take a screenshot of your code and upload it here.

Remember, you are experimenting here. You can try different things. Some might work, some might not. As you can see, there are many ways to do the same thing in code.

4 lines