2016-03-26 00:47:20 +01:00
|
|
|
# smiley blocks quiz
|
|
|
|
|
|
|
|
Make a smiley face blink
|
|
|
|
|
|
|
|
## Name
|
|
|
|
|
|
|
|
## Directions
|
|
|
|
|
|
|
|
Use the hints in the [Smiley](/microbit/lessons/smiley/activity) activity to answer this quiz!
|
|
|
|
|
|
|
|
## 1. Describe what `show LEDs` does
|
|
|
|
|
|
|
|
|
|
|
|
## 2. Why is there an extra empty frame after the smiley face?
|
|
|
|
|
|
|
|
![](/static/mb/lessons/smiley-0.png)
|
|
|
|
|
2016-03-29 20:57:50 +02:00
|
|
|
|
2016-03-26 00:47:20 +01:00
|
|
|
|
|
|
|
## 3. Draw the image created with this code
|
|
|
|
|
2016-03-29 20:57:50 +02:00
|
|
|
```blocks
|
|
|
|
basic.showLeds(`
|
|
|
|
. # . # .
|
|
|
|
. # . # .
|
|
|
|
. . . . .
|
|
|
|
# . . . #
|
|
|
|
. # # # .
|
|
|
|
`)
|
|
|
|
```
|
2016-03-26 00:47:20 +01:00
|
|
|
|
|
|
|
![](/static/mb/empty-microbit.png)
|
|
|
|
|
|
|
|
## 4. Draw the images created with this code
|
|
|
|
|
2016-03-29 20:57:50 +02:00
|
|
|
```blocks
|
|
|
|
basic.showLeds(`
|
|
|
|
. # . # .
|
|
|
|
. # . # .
|
|
|
|
. . . . .
|
|
|
|
# . . . #
|
|
|
|
. # # # .
|
|
|
|
`)
|
|
|
|
basic.showLeds(`
|
|
|
|
. . . . .
|
|
|
|
. . . . .
|
|
|
|
. . . . .
|
|
|
|
. . . . .
|
|
|
|
. . . . .
|
|
|
|
`)
|
|
|
|
```
|
2016-03-26 00:47:20 +01:00
|
|
|
|
|
|
|
![](/static/mb/lessons/looper-3.png)
|
|
|
|
|