Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

CKQT-Scratch - Variable Number and String

Total questions: 30

Worksheet time: 30mins

Name
Class
Date
1.

If this script is given to a sprite, what will the sprite say?

a)

5

b)

6

c)

30

d)

11

2.

If this script is given to a sprite, what will the sprite say?

a)

14

b)

10

c)

-10

d)

4

3.

If this script is given to a sprite, what will the sprite say?

a)

3

b)

9

c)

2

d)

8

4.

If this script is given to a sprite, what will the sprite say?

a)

3

b)

9

c)

5

d)

8

5.

If this script is given to a sprite, what will the sprite say?

a)

7

b)

9

c)

5

d)

8

6.

Data can be stored in a Scratch program, what is data saved in?

a)

Stage

b)

Variable

c)

Variant

d)

Code drawer

7.

Which code block allows scratch to draw on the stage?

a)

Pen Down

b)

Pen Up

c)

Pen In

d)

Pen Out

8.

It is possible to add maths into Scratch, what is the Scratch Key Word used for it?

a)

Operators

b)

Calculators

c)

Calculations

d)

Operations

9.

Which block allows you to make decisions (choices)?

a)
b)
c)
d)
10.

Which of the following symbols means "greater than"?

a)

<

b)

**

c)

/

d)

>

11.

Which of the following statements best describes the term 'programming'?

a)

A set of instructions

b)

A group of words

c)

Building blocks

d)

Entertainment on the TV

12.

Leo is writing a "Digital Pet" program in Scratch. What is Leo using here to store how thirsty his pet is?

a)

A costume

b)

A sprite

c)

A function

d)

A variable

13.

______________are used to hold values.

a)

Data

b)

Variables

c)

Strings

d)

Input Unit

14.

Using ___________ operators, you can combine two or more relational operators to produce a single true/false result

a)

Arithmetic

b)

Relational

c)

Logical

d)

Operational

15.

The "X block" is known as a...

a)

logical test

b)

variable

c)

random number

d)

sensing bock

16.

Which block will appear after creating the new variable?

a)
b)
c)
d)
17.

Johan is creating a math quiz in Scratch. He wants the program to show output as "The solution is 45". Which block should he add to complete the output?

a)
b)
c)
d)
18.

What is the function of having the join operator in this program?

a)

to join two different inputs together

b)

to join two different outputs together

c)

to join two different questions together

d)

to join two random numbers together

19.

A logical test is a test that has the answer True or False. Which block cannot be used as logical test?

a)
b)
c)
d)
20.

A faiground ride is only for children older than 6. What block is suitable to use to complete the program?

a)
b)
c)
d)
21.

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

22.

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

23.

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

24.

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?

25.

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

a)
b)
c)
d)
26.

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)
27.

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

28.

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

29.

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

30.

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