pxt-calliope/docs/reference/js/lessons/snowflake-fall/quiz.md
2016-04-01 16:22:47 -07:00

43 lines
803 B
Markdown

# snowflake fall quiz
create a snowflake fall animation.
## Name
## Directions
Use the hints in the [snowflake fall activity](/microbit/lessons/snowflake-fall/activity) to answer this quiz!
## 1. In reference to an animation, what is an "interval"?
<br />
## 2. What is the interval of the animation?
```
basic.showAnimation(`
. . . . .
. . # . .
. # # # .
. . # . .
. . . . .
`, 400)
```
<br/>
## 3. How can we make this animation never stop displaying on the BBC micro:bit?
![](/static/mb/lessons/snowflake-fall-0.png)
<br/>
## 4. Write the code to create a forever loop that shows an animation of these images. Change the interval from 400 to 800 to make the animation go twice as slow!
![](/static/mb/lessons/snowflake-fall-1.png)
![](/static/mb/lessons/snowflake-fall-2.png)
<br/>