moved remaining quizzes
This commit is contained in:
35
docs/lessons/zoomer/quiz-answers.md
Normal file
35
docs/lessons/zoomer/quiz-answers.md
Normal file
@ -0,0 +1,35 @@
|
||||
# zoomer quiz answers
|
||||
|
||||
Measure the acceleration on the micro:bit in the "z" direction #LED #number #math #acceleration #docs
|
||||
|
||||
This is the answer key for the [zoomer quiz](/microbit/lessons/zoomer/quiz).
|
||||
|
||||
## 1. What is 'acceleration'?
|
||||
|
||||
Acceleration is amount of force being applied to the BBC micro:bit in one of three specified directions.
|
||||
|
||||
## 2. Consider the following directions
|
||||
|
||||
Write the line of code to measure the acceleration and then store in it a variable.
|
||||
|
||||
<br/>
|
||||
|
||||
```
|
||||
let accX_ = input.acceleration("x")
|
||||
```
|
||||
|
||||
Note: acceleration does not have be measured in the "x" direction. It can also be in the "y" or "z" direction.
|
||||
|
||||
## 3. Consider the following directions
|
||||
|
||||
After storing the acceleration in a variable, write the code to show acceleration on the BBC micro:bit as a number
|
||||
|
||||
<br/>
|
||||
|
||||
```
|
||||
let accX = input.acceleration("x")
|
||||
basic.showNumber(accX_, 150)
|
||||
```
|
||||
|
||||
Note: make sure the same variable name ("acc x" in this case) is the same in both lines of code..
|
||||
|
24
docs/lessons/zoomer/quiz.md
Normal file
24
docs/lessons/zoomer/quiz.md
Normal file
@ -0,0 +1,24 @@
|
||||
# zoomer quiz
|
||||
|
||||
Measure the acceleration on the micro:bit in the "z" direction #LED #number #math #acceleration #docs
|
||||
|
||||
## Name
|
||||
|
||||
## Directions
|
||||
|
||||
Use this activity document to guide your work in the [zoomer tutorial](/microbit/lessons/zoomer/tutorial)
|
||||
|
||||
Answer the questions while completing the tutorial. Pay attention to the dialogues!
|
||||
|
||||
## 1. What is 'acceleration'?
|
||||
|
||||
<br/>
|
||||
|
||||
## 2. Write the line of code to measure the acceleration and then store in it a variable.
|
||||
|
||||
<br/>
|
||||
|
||||
## 3. After storing the acceleration in a variable, write the code to show acceleration on the BBC micro:bit as a number.
|
||||
|
||||
<br/>
|
||||
|
Reference in New Issue
Block a user