انتقل للمحتوى
Robo EgyptRobo Egypt
☰ Course contents
Robo Block: home
0. Lab tour1
1. Getting started5
2. Motion5
3. Looks and sound5
4. Events4
5. Loops5
6. Conditions and sensing4
7. Variables and randomness4
8. Project: the “Catch Robo” game3
9. Messages: characters talk to each other4
10. Clones: one character, many copies4
11. My Blocks: make a new block3
12. Operators and time4
13. The pro project: a jumping game4

The program runs in order

Section 1: Getting startedLesson 1.3 · ⏱ 6 min

The computer runs the blocks from top to bottom, one block after another. If you change the order, the result changes.

Blocks: when 🚩 clicked, say (Hello!) for (2) seconds, say (I am Robo) for (2) seconds, say (Let's code!) for (2) seconds
🖥️ What happens on the stage?
Robo says Hello! then I am Robo then Let's code!, each sentence for two seconds, in order.
📌 Note
These ordered steps are called an algorithm: a clear recipe, step by step, like a recipe for making tea.

📌 Another example: the countdown

The order matters a lot here: if we put “Go!” first, the countdown is ruined.

Blocks: when 🚩 clicked, say (3) for (1) seconds, say (2) for (1) seconds, say (1) for (1) seconds, say (Go! 🚀) for (2) seconds
The first number
The first number
Go!
Go!
✍️ Practise
Swap the first two sentences, and before you click the flag, predict: what will Robo say first?
✍️ Practise here in the lessonor open the lab in a new page ↗

🎯 Challenge yourself

Easy

Make Robo say “Good morning ☀️” then “How are you?”.

👀 Show the solution
Blocks: when 🚩 clicked, say (Good morning ☀️) for (2) seconds, say (How are you?) for (2) seconds
The second sentence after the first
The second sentence after the first
Medium

Make Robo count from 1 to 5, one second for each number.

👀 Show the solution
Blocks: when 🚩 clicked, say (1) for (1) seconds, say (2) for (1) seconds, say (3) for (1) seconds, say (4) for (1) seconds, say (5) for (1) seconds
Reached 5
Reached 5
Hard

Write a riddle: Robo asks, then thinks, then says the answer.

👀 Show the solution
Blocks: when 🚩 clicked, say (What has teeth but never bites?) for (3) seconds, think (Hmm...) for (2) seconds, say (A comb! 😄) for (2) seconds
The answer at the end
The answer at the end
Finished the lesson? Mark it so your progress counts.