2016-03-26 00:47:20 +01:00
|
|
|
# snowflake fall blocks quiz
|
|
|
|
|
|
|
|
Create a snowflake fall animation
|
|
|
|
|
|
|
|
## Name
|
|
|
|
|
|
|
|
## Directions
|
|
|
|
|
2016-04-13 17:27:45 +02:00
|
|
|
Use the hints in the [snowflake fall activity](/lessons/snowflake-fall/activity) to answer this quiz!
|
2016-03-26 00:47:20 +01:00
|
|
|
|
|
|
|
## 1. What is a forever loop?
|
|
|
|
|
2016-03-29 20:57:50 +02:00
|
|
|
|
2016-03-26 00:47:20 +01:00
|
|
|
|
|
|
|
## 2. Draw the picture that will be produced with this code
|
|
|
|
|
2016-03-29 20:57:50 +02:00
|
|
|
```blocks
|
|
|
|
basic.forever(() => {
|
|
|
|
basic.showLeds(`
|
|
|
|
. # . # .
|
|
|
|
# # # # #
|
|
|
|
# # # # #
|
|
|
|
. # # # .
|
|
|
|
. . # . .`);
|
|
|
|
});
|
|
|
|
|
|
|
|
```
|
2016-03-26 00:47:20 +01:00
|
|
|
|
|
|
|
![](/static/mb/empty-microbit.png)
|
|
|
|
|
2016-03-29 20:57:50 +02:00
|
|
|
|
2016-03-26 00:47:20 +01:00
|
|
|
|
|
|
|
## 3. Write the code for a forever loop and show LEDS for these images!
|
|
|
|
|
|
|
|
![](/static/mb/lessons/snowflake-fall-0.png)
|
|
|
|
|
2016-03-29 20:57:50 +02:00
|
|
|
|
2016-03-26 00:47:20 +01:00
|
|
|
|
|
|
|
## 4. Write the code for a forever loop and show LEDS for these images!
|
|
|
|
|
|
|
|
![](/static/mb/lessons/snowflake-fall-1.png)
|
|
|
|
|
|
|
|
![](/static/mb/lessons/snowflake-fall-2.png)
|
|
|
|
|
2016-03-29 20:57:50 +02:00
|
|
|
|
2016-03-26 00:47:20 +01:00
|
|
|
|