pxt-calliope/docs/reference/js/lessons/lucky-7/quiz-answers.md
2016-03-25 16:47:20 -07:00

39 lines
776 B
Markdown

# lucky 7 quiz answers
Show a number on the BBC micro:bit. #LED #screen #show #math #docs #input
This is the answer key for the [lucky 7 quiz](/microbit/lessons/lucky-7/quiz).
## 1. Describe what `basic->show number` does?
Answers may vary. This will show a number on the LED screen, one digit at a time (scrolling from left to right).
## 2. Draw every LED that is ON after running this code
```
basic.showNumber(7, 150)
```
<br/>
![](/static/mb/lessons/lucky-7-0.png)
## 3. Draw every LED that is ON after running this code
```
basic.showNumber(21, 150)
```
![](/static/mb/lessons/lucky-7-1.png)
## 4. Write the code that will be used to display the number 3 on the BBC micro:bit.
![](/static/mb/lessons/lucky-7-2.png)
<br/>
```
basic.showNumber(3, 150)
```