pxt-calliope/olddocs/lessons/blink/quiz-answers.md
Tom Ball f4eca66648 move lessons out of web site
will move select lessons back to "educators" section
2016-06-14 11:49:58 -04:00

1.2 KiB

blink blocks quiz answers

Learn how to create a blinking LED script.

This is the answer key for the blink quiz.

1. Describe what plot does?

Answers will vary. In general, plot refers to the code that turns on a specific LED. We specify the LED using x, y coordinates.

2. Draw which LED is ON after running this code

led.plot(2, 2)

By default, the position of an LED on Blink Tutorial is set to the centre of the screen. This code turns on the centre LED

3. Draw which LED is ON after running this code

led.plot(0, 0)

This code turns on specific LED. Plot turns on the specified LED on the LED screen. We specify the LED using x, y coordinates.

  • x - the x coordinate or horizontal position (0)
  • y - the y coordinate or vertical position (0)

4. Draw which LED is ON after running this code

led.plot(4, 4)

This code turns on specific LED. Plot turns on the specified LED on the LED screen. We specify the LED using x, y coordinates.

  • x - the x coordinate or horizontal position (4)
  • y - the y coordinate or vertical position (4)