2016-03-26 00:47:20 +01:00
|
|
|
# blink blocks quiz
|
|
|
|
|
2016-04-02 01:22:47 +02:00
|
|
|
Learn how to create a blinking LED script.
|
2016-03-26 00:47:20 +01:00
|
|
|
|
|
|
|
## Name
|
|
|
|
|
|
|
|
## Directions
|
|
|
|
|
|
|
|
Use this activity document to guide your work in the [blink activity](/microbit/lessons/blink/activity).
|
|
|
|
|
|
|
|
Answer the questions while completing the tutorial. Pay attention to the dialogues!
|
|
|
|
|
|
|
|
## 1. Describe what `plot` does?
|
|
|
|
|
2016-03-29 20:57:50 +02:00
|
|
|
|
2016-03-26 00:47:20 +01:00
|
|
|
|
|
|
|
## 2. Draw which LED is ON after running this code
|
|
|
|
|
2016-03-29 20:57:50 +02:00
|
|
|
```blocks
|
|
|
|
led.plot(2, 2)
|
|
|
|
|
|
|
|
```
|
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 20:57:50 +02:00
|
|
|
```blocks
|
|
|
|
led.plot(0, 0)
|
|
|
|
|
|
|
|
```
|
2016-03-26 00:47:20 +01:00
|
|
|
|
|
|
|
![](/static/mb/empty-microbit.png)
|
|
|
|
|
|
|
|
## 4. Draw which LED is ON after running this code
|
|
|
|
|
2016-03-29 20:57:50 +02:00
|
|
|
|
|
|
|
```blocks
|
|
|
|
led.plot(4, 4)
|
|
|
|
|
|
|
|
```
|
|
|
|
|
2016-03-26 00:47:20 +01:00
|
|
|
|
|
|
|
![](/static/mb/empty-microbit.png)
|
|
|
|
|