Level 3 · Medium · Quiz adventures · Ages 8–10
Robot’s silly logic test
Free · No ads · No behavioral tracking. No account needed; progress stays in this browser. Privacy for families
Robot put a sock on its antenna. Help it think clearly!
What you learn
Sequences, loops and conditions solve different jobs.
Edit your program and press Run. Gold highlights the running instruction. Pause, Step and Undo step help you understand. There is no time limit.
Example program
rounds(4);
goal(8);
onAnswer {
if (isCorrect) {
addScore(2);
repeat(2) { sparkle(); }
say("goodjob");
} else {
addScore(0);
wobble();
say("tryagain");
}
}Make it your own
Change repeat to run the instructions inside { } several times. In tap, memory and quiz games, if checks a choice; else runs when the condition is false. In pixel art, color chooses a color and paint fills one square; movement commands change the pen position. Shows use pose, say and beat to change actors, speech and notes.
Quiz questions and explanations
Red, blue, red, blue… what comes next?
- red
- green
- blue
Read the explanation
The two-color pattern repeats.
repeat(3) { jump(); } makes how many jumps?
- 1
- 3
- 6
Read the explanation
The loop runs jump three times.
If the light is OFF, which branch runs in if(isOn)…else…?
- both
- if
- else
Read the explanation
A false condition chooses else.
What does a program give a computer?
- instructions
- sandwiches
- socks
Read the explanation
A program is a set of instructions.
Download the program to play offline. Only nicknames and progress are stored in your browser; programs and answers are not saved.