pxt-calliope/olddocs/js/lessons/glowing-sword/quiz.md

47 lines
783 B
Markdown
Raw Permalink Normal View History

2016-03-26 00:47:20 +01:00
# glowing sword quiz
2016-04-02 01:22:47 +02:00
make a glowing sword.
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 [glowing sword tutorial](/lessons/glowing-sword/tutorial)
2016-03-26 00:47:20 +01:00
Answer the questions while completing the tutorial. Pay attention to the dialogues!
## 1. Describe what "led -> fade out" does?
<br />
## 2. Rewrite the second line of code to decrease the speed of the fade out for the longest amount of time Hint: 1000 milliseconds is longest amount of time for a fade out.
```
basic.plotImage(`
. . . . #
# . . # .
. # # . .
. # # . .
# . . # .
`)
led.fadeOut(700)
```
<br/>
## 3. What will cause the image to fade back in twice as fast as it faded out?
```
basic.plotImage(`
. . . . #
# . . # .
. # # . .
. # # . .
# . . # .
`)
led.fadeOut(1000)
```
<br/>