انتقل للمحتوى
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

Practice questions

Section 7: Variables and randomnessLesson 7.4 · ⏱ 8 min
  1. Make a counter: the up arrow adds to the variable, and the down arrow takes away from it.
  2. Make a dice: when Robo is clicked he says a random number from 1 to 6.

Test yourself

1. What is a variable?
2. Why do we put set score to 0 at the flag?
Finished the lesson? Mark it so your progress counts.