pxt-calliope/docs/reference/js/lessons/lucky-7/quiz.md

45 lines
787 B
Markdown
Raw Normal View History

2016-03-26 00:47:20 +01:00
# lucky 7 quiz
Show a number on the BBC micro:bit. #LED #screen #show #math #docs #input
## Name
## Directions
Use this activity document to guide your work in the [lucky 7 tutorial](/microbit/lessons/lucky-7/tutorial).
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/>