wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

KS3 Year 7 Summative from NCCE

Total questions: 20

Worksheet time: 11mins

Name
Class
Date
1.

Which one of the following segments of code would you find most appropriate to use in order to draw a blue square in Scratch?

a)

b)

c)

d)

2.

Would the program here play the Nursery rhyme "Hot Cross Buns" correctly?

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.

Select all the conditions that evaluate to ‘True’ with the inputs number 1 = 30 and number 2 = 90 ?

a)

number1>30 AND number2<91

b)

number1>30 OR number2<90

c)

number1>20 AND number2<100

d)

number1>20 OR number2<100

8.

Which of the following blocks of code would make the Scratch Cat sprite 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)  

13.

A learner has created the piece of code here 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 this 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 will execute a countdown timer. Select the most appropriate block for this purpose when using Scratch.

a)

b)

c)

d)

17.

The 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)

milk

b)

cheese

c)

biscuits

d)

crisps

19.

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

(a)  

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