WorksheetsBlockly Programming Quiz [Level 1B]
Total questions: 9
Worksheet time: 5mins
What is the result of this code? [Repeat 2 times] → [Repeat 3 times] → [Move Forward]
Move forward 3 steps
Move forward 5 steps
Move forward 6 steps
Move forward 2 steps
Which block structure correctly checks if a key is pressed AND the path is clear before moving?
If (Key Pressed)
If (Path Clear)
If (Key Pressed AND Path Clear)
Repeat Until (Path Clear)
Which block type helps your program make decisions?
Loop
Event
Conditional
Motion
What will this code do? [If Path Clear] → [Move Forward] → [Else] → [Turn Right]
Always move forward
Move forward only if the path is clear, otherwise turn right
Always turn right
Do nothing
Which statement is true about nested loops?
They make code easier to understand
They allow repeating patterns inside other repeating patterns
They stop all code from running
They only work with music blocks
What’s the error in this logic? [Repeat Until Touching Goal] → [Move Forward] → [If Obstacle Ahead] → [Move Forward]
The character will skip obstacles
The goal will disappear
It moves forward even if an obstacle is there
The repeat will never stop
You want your character to move in a square. Which logic is correct?
Repeat 4 → Move Forward
Repeat 4 → Move Forward → Turn Right
Repeat 2 → Move Forward → Turn Right
Move Forward → Turn Right
If you use a Forever loop without a stop condition, what might happen?
The program finishes quickly
The character rests
The program runs endlessly
The blocks will disappear
You want your character to collect 5 diamonds placed on a path. Which block structure works best?
If Touching Diamond → Say “Diamond!”
Repeat 5 → Move Forward → Collect
Repeat Until No More Diamonds → Move Forward
Move Forward → Collect
