pxt-calliope/olddocs/lessons/smiley/quiz-answers.md
Tom Ball f4eca66648 move lessons out of web site
will move select lessons back to "educators" section
2016-06-14 11:49:58 -04:00

940 B

smiley blocks quiz answers

This is the answer key for the smiley quiz.

1. Describe what show LEDs does

A function that will display an image on the LED screen

2. Why is there an extra empty frame after the smiley face?


The extra empty image with show LED creates a blinking smiley, allowing the micro:bit to alternate between showing the smiley and the empty screen.

3. Draw the image created with this code

basic.showLeds(`
    . # . # .
    . # . # .
    . . . . .
    # . . . #
    . # # # .
    `)

4. Write the code to make this image

basic.showLeds(`
    . # . # .
    . # . # .
    . . . . .
    # . . . #
    . # # # .
    `)
basic.showLeds(`
    . . . . .
    . . . . .
    . . . . .
    . . . . .
    . . . . .
    `)