2016-03-26 00:47:20 +01:00
|
|
|
# smiley blocks quiz
|
|
|
|
|
|
|
|
Make a smiley face blink
|
|
|
|
|
|
|
|
## Name
|
|
|
|
|
|
|
|
## Directions
|
|
|
|
|
2016-04-13 17:27:45 +02:00
|
|
|
Use the hints in the [Smiley](/lessons/smiley/activity) activity to answer this quiz!
|
2016-03-26 00:47:20 +01:00
|
|
|
|
|
|
|
## 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)
|
|
|
|
|