2016-03-26 00:47:20 +01:00
|
|
|
# lucky 7 quiz
|
|
|
|
|
2016-04-02 01:22:47 +02:00
|
|
|
Show a number on the BBC micro:bit.
|
2016-03-26 00:47:20 +01:00
|
|
|
|
|
|
|
## Name
|
|
|
|
|
|
|
|
## Directions
|
|
|
|
|
2016-04-13 17:27:45 +02:00
|
|
|
Use this activity document to guide your work in the [lucky 7 tutorial](/lessons/lucky-7/tutorial).
|
2016-03-26 00:47:20 +01:00
|
|
|
|
|
|
|
Answer the questions while completing the tutorial. Pay attention to the dialogues!
|
|
|
|
|
|
|
|
## 1. Describe what "basic->show number" does?
|
|
|
|
|
|
|
|
<br/>
|
|
|
|
|
|
|
|
## 2. Draw every LED that is ON after running this code
|
|
|
|
|
|
|
|
```
|
|
|
|
basic.showNumber(7, 150)
|
|
|
|
```
|
|
|
|
|
|
|
|
![](/static/mb/empty-microbit.png)
|
|
|
|
|
|
|
|
<br/>
|
|
|
|
|
|
|
|
## 3. Draw every LED that is ON after running this code
|
|
|
|
|
|
|
|
```
|
|
|
|
basic.showNumber(21, 150)
|
|
|
|
```
|
|
|
|
|
|
|
|
![](/static/mb/lessons/answering-machine-4.png)
|
|
|
|
|
|
|
|
<br/>
|
|
|
|
|
|
|
|
## 4. Write the code that will be used to display the number 3 on the BBC micro:bit.
|
|
|
|
|
|
|
|
![](/static/mb/lessons/lucky-7-3.png)
|
|
|
|
|
|
|
|
<br/>
|
|
|
|
|
|
|
|
<br/>
|
|
|
|
|