2016-03-26 00:47:20 +01:00
|
|
|
# answering machine blocks quiz
|
|
|
|
|
2016-04-02 01:22:47 +02:00
|
|
|
Create an answering machine on the 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 [answering machine activity](/lessons/answering-machine/activity).
|
2016-03-26 00:47:20 +01:00
|
|
|
|
|
|
|
Answer the questions while completing the activity. Pay attention to the dialogues!
|
|
|
|
|
|
|
|
## 1. Define what `show string` does?
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## 2. Draw which LED is ON after running this code
|
|
|
|
|
2016-03-29 01:32:31 +02:00
|
|
|
|
|
|
|
```blocks
|
|
|
|
basic.showString("Y")
|
|
|
|
|
|
|
|
```
|
|
|
|
|
2016-03-26 00:47:20 +01:00
|
|
|
![](/static/mb/empty-microbit.png)
|
|
|
|
|
|
|
|
|
|
|
|
## 3. Draw which LED is ON after running this code
|
|
|
|
|
2016-03-29 01:35:38 +02:00
|
|
|
|
|
|
|
```blocks
|
|
|
|
basic.showString("Hi")
|
|
|
|
|
|
|
|
```
|
|
|
|
|
2016-03-26 00:47:20 +01:00
|
|
|
|
|
|
|
![](/static/mb/lessons/answering-machine-4.png)
|
|
|
|
|
|
|
|
## 4. If the rectangle below represents the micro:bit, write the code to display the letter "Z".
|
|
|
|
|
2016-03-29 01:35:38 +02:00
|
|
|
```blocks
|
|
|
|
basic.showString("Z")
|
|
|
|
|
|
|
|
```
|
2016-03-26 00:47:20 +01:00
|
|
|
|
|
|
|
|