23 lines
585 B
Markdown
23 lines
585 B
Markdown
|
# flashing heart blocks quiz answers
|
||
|
|
||
|
Learn how to create an image with a variable.
|
||
|
|
||
|
This is the answer key for the [flashing heart quiz](/microbit/lessons/flashing-heart/quiz).
|
||
|
|
||
|
## 1. Describe what pause does
|
||
|
|
||
|
Pause program execution for the specified number of milliseconds.
|
||
|
|
||
|
## 2. Write the code that leaves an image on the screen for 1 second (1000 milliseconds)
|
||
|
|
||
|
<br/>
|
||
|
|
||
|
![](/static/mb/blocks/lessons/flashing-heart-5.jpg)
|
||
|
|
||
|
## 3. Write the code that leaves an image on the screen for 1.5 seconds (1500 milliseconds)
|
||
|
|
||
|
![](/static/mb/blocks/lessons/flashing-heart-6.jpg)
|
||
|
|
||
|
<br/>
|
||
|
|