update quizzes
This commit is contained in:
@ -16,28 +16,33 @@ A function that will run code when the BBC micro:bit screen is facing up and ver
|
||||
|
||||
<br/>
|
||||
|
||||
## 2. Consider the following directions
|
||||
## 2. Write the condition that detects when the BBC micro:bit logo is facing up and vertically orientated.
|
||||
|
||||
The `logo up` event is raised when...
|
||||
|
||||
* the screen is facing up and the board is horizontal
|
||||
* the screen is facing down and the board is horizontal
|
||||
* the board is vertical and the logo is facing up
|
||||
|
||||
Write the condition that detects when the BBC micro:bit logo is facing up and vertically orientated.
|
||||
|
||||
<br/>
|
||||
|
||||
```
|
||||
```blocks
|
||||
input.onLogoUp(() => {
|
||||
})
|
||||
```
|
||||
|
||||
<br/>
|
||||
|
||||
## 3. Consider the following animation
|
||||
## 3. Write the code to display a downward pointing arrow when the logo is down.
|
||||
|
||||

|
||||
|
||||
Write the code to display a downward pointing arrow when the logo is down.
|
||||
|
||||
|
||||
<br/>
|
||||
|
||||
```
|
||||
```blocks
|
||||
input.onLogoDown(() => {
|
||||
basic.plotImage(`
|
||||
. . # . .
|
||||
|
Reference in New Issue
Block a user