wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Year 7 Scratch

Total questions: 20

Worksheet time: 11mins

Name
Class
Date
1.

Which one of the following segments of code would be the most precise block to use to draw a blue square in Scratch?

a)
b)
c)
d)
2.

Would the following program correctly play the nursery rhyme Hot Cross Buns?

a)

Yes

b)

No

3.

What would the output of “say weather” be at the end of this program?

a)

rain

b)

cloudy

c)

rain, sun, rain, cloudy

d)

weather

4.

What value would be held by the ‘name1’ variable and the ‘name2’ variable at the end of this program?

a)

name1 = Jordan

name2 = Riley

b)

name1 = Riley

name2 = Jordan

c)

name1 = Jordan

name2 = Jordan

d)

name1 = Riley

name2 = Riley

5.

What will be the output of this program when it is executed? (What will the sprite say)?

a)

Good afternoon

b)

How are you?

c)

Good afternoon

How are you?

d)

Nothing will be outputted/said

6.

What will be the output of this program when it is executed? (What will the sprite say)?

a)

Good afternoon

How are you?

b)

How are you?

c)

Good morning

Good afternoon

How are you?

d)

Good morning

How are you?

7.

Which of the conditions would evaluate to ‘True’ with the following inputs?

a)
b)
c)
d)
8.

Which of the following blocks of code would make the Scratch Cat say “1, 2, 3” leaving a second in between each number?

a)
b)
c)
d)
9.

What will be outputted (what will be said) when the following program is executed?

a)

Sun, Rain, It’s raining

b)

Sun, Rain, Rain

c)

Sun, Rain, Rain, It’s raining

d)

Sun, It’s raining

10.

What will be the output of this program when it is executed? (What will the sprite say)?

a)

10, 11, Lunchtime, 12

b)

10, 11, Lunchtime, 13

c)

10, 11, 12, 13

d)

10, 11, Lunchtime, 12, 13

11.

Which of these sets of instructions is not a subroutine

a)
b)
c)
d)
12.

A large program has been broken down into subroutines to make the problem more manageable to solve. What is this process called?

a)

Abstraction

b)

Decomposition

c)

Sequence

d)

Selection

e)

Iteration

13.

A learner has created the following piece of code to check if a password is correct or not. They want to improve it so that it will only give a maximum of three attempts before locking them out of the game for 60 seconds. What programming construct should they use for this?

a)

A Forever loop

b)

A Repeat until loop

c)

A Repeat 3 loop

d)

Three If/else statements

14.

A learner has created the following block of code, when will the loop terminate?

a)

When ‘number’ holds the value ‘3’

b)

When ‘number’ holds the value ‘4’

c)

When ‘number’ is higher than ‘3’

d)

Never

15.

What will be the output of this program when it is executed? (What will the sprite say?)

a)

Nothing

b)

1, 2, 3, 4

c)

1, 2, 3, 4, 5

d)

1, 2, 3, 4, 5, 6

16.

All of the blocks of code below will execute a countdown timer. Select the most appropriate block for this purpose when using Scratch.

a)
b)
c)
d)
17.

The following block of code was used to create a shopping list and then replace a list item in ‘shopping_list’. Which item was replaced with ‘flour’?

a)

milk

b)

cheese

c)

bread

d)

butter

18.

What will be the output of this program when it is executed? (What will the sprite say?)

a)

cheese

b)

biscuits

c)

crisps

d)

milk

19.

What will be the output of this program when it is executed? (What will the sprite say?)

a)

Sugar added

b)

Milk

c)

Cheese

d)

Biscuits

20.

A learner is using the Translate block to translate a list of words. What will be the output of this program when it is executed? (What will the sprite say?)

a)

hello, goodbye, yes, no

b)

hello, Hello, Hello, Hello

c)

salut, au revoir, oui, non

d)

salut, salut, salut, salut