2016-03-25 16:47:20 -07:00
|
|
|
# lucky 7 blocks quiz
|
|
|
|
|
|
|
|
Show a number on the micro:bit
|
|
|
|
|
|
|
|
## Name
|
|
|
|
|
|
|
|
## Directions
|
|
|
|
|
2016-04-13 08:27:45 -07:00
|
|
|
Use this activity document to guide your work in the [lucky 7 activity](/lessons/lucky-7/activity).
|
2016-03-25 16:47:20 -07:00
|
|
|
|
|
|
|
Answer the questions while completing the tutorial. Pay attention to the dialogues!
|
|
|
|
|
|
|
|
## 1. Describe what "show number" does?
|
|
|
|
|
2016-03-28 16:23:18 -07:00
|
|
|
|
2016-03-25 16:47:20 -07:00
|
|
|
|
|
|
|
## 2. Draw every LED that is ON after running this code
|
|
|
|
|
2016-03-28 16:23:18 -07:00
|
|
|
```blocks
|
|
|
|
basic.showNumber(7)
|
|
|
|
```
|
2016-03-25 16:47:20 -07:00
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
## 3. Draw every LED that is ON after running this code
|
|
|
|
|
2016-03-28 16:23:18 -07:00
|
|
|
```blocks
|
|
|
|
basic.showNumber(21)
|
|
|
|
```
|
|
|
|
|
2016-03-25 16:47:20 -07:00
|
|
|
|
|
|
|

|
|
|
|
|
2016-03-28 16:23:18 -07:00
|
|
|
|
2016-03-25 16:47:20 -07:00
|
|
|
|
|
|
|
## 4. Write the code that will be used to display the number 3 on the micro:bit.
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
|