Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Blockly Programming Quiz [Level 1B]

Total questions: 9

Worksheet time: 5mins

Name
Class
Date
1.

What is the result of this code? [Repeat 2 times] → [Repeat 3 times] → [Move Forward]

a)

Move forward 3 steps

b)

Move forward 5 steps

c)

Move forward 6 steps

d)

Move forward 2 steps

2.

Which block structure correctly checks if a key is pressed AND the path is clear before moving?

a)

If (Key Pressed)

b)

If (Path Clear)

c)

If (Key Pressed AND Path Clear)

d)

Repeat Until (Path Clear)

3.

Which block type helps your program make decisions?

a)

Loop

b)

Event

c)

Conditional

d)

Motion

4.

What will this code do? [If Path Clear] → [Move Forward] → [Else] → [Turn Right]

a)

Always move forward

b)

Move forward only if the path is clear, otherwise turn right

c)

Always turn right

d)

Do nothing

5.

Which statement is true about nested loops?

a)

They make code easier to understand

b)

They allow repeating patterns inside other repeating patterns

c)

They stop all code from running

d)

They only work with music blocks

6.

What’s the error in this logic? [Repeat Until Touching Goal] → [Move Forward] → [If Obstacle Ahead] → [Move Forward]

a)

The character will skip obstacles

b)

The goal will disappear

c)

It moves forward even if an obstacle is there

d)

The repeat will never stop

7.

You want your character to move in a square. Which logic is correct?

a)

Repeat 4 → Move Forward

b)

Repeat 4 → Move Forward → Turn Right

c)

Repeat 2 → Move Forward → Turn Right

d)

Move Forward → Turn Right

8.

If you use a Forever loop without a stop condition, what might happen?

a)

The program finishes quickly

b)

The character rests

c)

The program runs endlessly

d)

The blocks will disappear

9.

You want your character to collect 5 diamonds placed on a path. Which block structure works best?

a)

If Touching Diamond → Say “Diamond!”

b)

Repeat 5 → Move Forward → Collect

c)

Repeat Until No More Diamonds → Move Forward

d)

Move Forward → Collect