Description
A step by step computer programming lesson in Scratch with an introduction to the Scratch workspace leading up to the exercise.
Lesson 4: If-Then-Else (Conditionals Continued!)
In this script we explore conditionals a little farther by playing around with an "if-then-else" block. A simple math question is randomly generated and based on whether the answer given is right or wrong, the alien gives you feedback.
In this example you'll:
- Learn about variables
- Create random numbers
- Learn how to join strings in Scratch
- Use IF-THEN-ELSE Statements
Full solution can be found here: lesson4.
Full Coding Lesson in Scratch: Introduction To Conditional Statements (Lesson 4)
Highlights
Description
A step by step computer programming lesson in Scratch with an introduction to the Scratch workspace leading up to the exercise.
Lesson 4: If-Then-Else (Conditionals Continued!)
In this script we explore conditionals a little farther by playing around with an "if-then-else" block. A simple math question is randomly generated and based on whether the answer given is right or wrong, the alien gives you feedback.
In this example you'll:
- Learn about variables
- Create random numbers
- Learn how to join strings in Scratch
- Use IF-THEN-ELSE Statements
Full solution can be found here: lesson4.




