fix quiz
This commit is contained in:
parent
12dbdf8530
commit
162902fabc
@ -10,31 +10,29 @@ Use this activity document to guide your work in the [bop it tutorial](/lessons/
|
|||||||
|
|
||||||
Answer the questions while completing the tutorial. Pay attention to the dialogues!
|
Answer the questions while completing the tutorial. Pay attention to the dialogues!
|
||||||
|
|
||||||
## 1. Write the code that will store the global variable named 'action' and returns a random number between 0 and 2
|
### 1. Write the code that will store the global variable named 'action' and returns a random number between 0 and 2
|
||||||
|
|
||||||
<br/>
|
<br/>
|
||||||
|
|
||||||
## 2. Write the code that will display the string, "PUSH A" if the global variable called 'action' is equal to 0
|
### 2. Write the code that will display the string, "PUSH A" if the global variable called 'action' is equal to 0
|
||||||
|
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
## 3. Write the code that increments the score if button A is pressed when the global variable called 'action' is equal to 1
|
### 3. Write the code that increments the score if button A is pressed when the global variable called 'action' is equal to 1
|
||||||
|
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
## 4. Write the code that will display the string "LOGO DOWN" if the global variable called 'action' is equal to 1
|
### 4. Write the code that will display the string "LOGO DOWN" if the global variable called 'action' is equal to 1
|
||||||
|
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
## 5. Write the code that increments the score if the BBC micro:bit logo is tilted down when the global variable called 'action' is equal to 1
|
### 5. Write the code that increments the score if the BBC micro:bit logo is tilted down when the global variable called 'action' is equal to 1
|
||||||
|
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
<br />
|
### 6. Write the code that will display the string "SHAKE" if the global variable called 'action' is equal to 2
|
||||||
|
|
||||||
## 6. Write the code that will display the string "SHAKE" if the global variable called 'action' is equal to 2
|
|
||||||
|
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
## 7. Write the code that increments the score if the BBC micro:bit is shaken when the global variable called 'action' is equal to 2
|
### 7. Write the code that increments the score if the BBC micro:bit is shaken when the global variable called 'action' is equal to 2
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user