wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

eduBlocks 1

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

I want to print a string. Which print block to use: A or B?

a)

A

b)

B

2.

I want to print the value of a variable. Which print block do I use: A or B?

a)

A

b)

B

3.

What will be printed?

a)

0,1,2,3,4

b)

1,2,3,4,5

c)

i,i,i,i,i

4.

What will be printed?

a)

Hello World Once

b)

Endless Hello World

c)

Error

5.

What will be printed?

a)

Hello World Once

b)

Endless Hello World

c)

Nothing

6.

What happens if you remove the break block

a)

Hello World will printed once

b)

Hello World will be printed endlessly

c)

Error

7.

What will be printed?

a)

Hello World Once

b)

Endless Hello World

c)

Hello World 4 times

8.

What will be printed?

a)

0,1,2

b)

dog, cat, hamster

c)

dog, dog, dog

9.

What will be printed?

a)

0,1,2,3,4

b)

5 different random numbers from 1 to 5

c)

all 1s, all2s, all3s, all4s or all5s

10.

What will be printed?

a)

Endless dog, cat, hamster randomly

b)

dog, cat, hamster randomly once

c)

Endless 0, 1, 2 randomly