pxt-calliope/docs/reference/js/lessons/snowflake-fall/quiz.md

43 lines
827 B
Markdown
Raw Normal View History

2016-03-26 00:47:20 +01:00
# snowflake fall quiz
create a snowflake fall animation #animation#forever #docs
## 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/>