From ba6c9f9d9270a5f19edc8163f93e30ccf199892e Mon Sep 17 00:00:00 2001 From: Michael Elliot Braun Date: Wed, 30 Mar 2016 16:10:27 -0700 Subject: [PATCH] updating lesson links --- docs/lessons/catch-the-egg-game/quiz.md | 4 +- docs/lessons/compass.md | 3 +- docs/lessons/compass/activity.md | 6 +-- docs/lessons/compass/challenges.md | 6 +-- docs/lessons/die-roll/quiz.md | 2 +- docs/lessons/digi-yoyo/quiz.md | 2 +- docs/lessons/glowing-pendulum/quiz.md | 2 +- docs/lessons/guess-the-number/quiz.md | 2 +- docs/lessons/looper/quiz.md | 2 +- docs/lessons/magic-8/quiz.md | 2 +- docs/lessons/night-light/quiz.md | 2 +- docs/lessons/rock-paper-scissors/quiz.md | 2 +- .../rotation-animation/quiz-answers.md | 36 ++++++++++++++---- docs/lessons/rotation-animation/quiz.md | 38 +++++++++++++++---- docs/lessons/spinner/quiz.md | 2 +- docs/lessons/strobe-light/quiz.md | 2 +- docs/lessons/truth-or-dare/quiz.md | 2 +- docs/lessons/zoomer.md | 4 +- docs/lessons/zoomer/quiz.md | 2 +- 19 files changed, 83 insertions(+), 38 deletions(-) diff --git a/docs/lessons/catch-the-egg-game/quiz.md b/docs/lessons/catch-the-egg-game/quiz.md index 339c4fbf..35a087f2 100644 --- a/docs/lessons/catch-the-egg-game/quiz.md +++ b/docs/lessons/catch-the-egg-game/quiz.md @@ -6,11 +6,11 @@ Programming a game of catch the egg using the accelerometer. ## Directions -Use this activity document to guide your work in the [catch the egg tutorial](/microbit/lessons/catch-the-egg-game/tutorial) +Use this activity document to guide your work in the [catch the egg challenges](/microbit/lessons/catch-the-egg-game/challenges) Answer the questions while completing the tutorial. Pay attention to the dialogues! -## 1. Write the data type for the global variables 'basket' and 'egg'. +## 1. Write the data type for the variables 'basket' and 'egg'.
diff --git a/docs/lessons/compass.md b/docs/lessons/compass.md index b2827ced..9d368f66 100644 --- a/docs/lessons/compass.md +++ b/docs/lessons/compass.md @@ -12,7 +12,8 @@ If (Conditionals) * [activity](/microbit/lessons/compass/activity) * [challenges](/microbit/lessons/compass/challenges) - +* [quiz](/microbit/lessons/compass/quiz) +* [quiz answers](/microbit/lessons/compass/quiz-answers) ## Prior learning/place of lesson in scheme of work diff --git a/docs/lessons/compass/activity.md b/docs/lessons/compass/activity.md index 943ef8f6..c4031140 100644 --- a/docs/lessons/compass/activity.md +++ b/docs/lessons/compass/activity.md @@ -41,7 +41,7 @@ If `degrees` is less than 135, the micro:bit is mostly pointing East. Display `E ```blocks - let degrees = null; + let degrees = 0; basic.forever(() => { degrees = input.compassHeading(); if (degrees < 45) { @@ -57,7 +57,7 @@ If `degrees` is less than 225, the micro:bit is mostly pointing South. Display ` ```blocks - let degrees = null; + let degrees = 0; basic.forever(() => { degrees = input.compassHeading(); if (degrees < 45) { @@ -76,7 +76,7 @@ basic.forever(() => { If none of these conditions returned true, then the micro:bit must be pointing West. Display `W` on the micro:bit. ```blocks - let degrees = null; + let degrees = 0; basic.forever(() => { degrees = input.compassHeading(); if (degrees < 45) { diff --git a/docs/lessons/compass/challenges.md b/docs/lessons/compass/challenges.md index b61fc71b..4603b7b9 100644 --- a/docs/lessons/compass/challenges.md +++ b/docs/lessons/compass/challenges.md @@ -7,7 +7,7 @@ Display the direction that the micro:bit is facing using the compass Complete the following [guided tutorial](/microbit/lessons/compass/activity), your code should look like this: ```blocks - let degrees = null; + let degrees = 0; basic.forever(() => { degrees = input.compassHeading(); if (degrees < 45) { @@ -30,7 +30,7 @@ basic.forever(() => { Instead of displaying `N` when the BBC micro:bit is pointing North, display a star to indicate the north star. ```blocks - let degrees = null; + let degrees = 0; basic.forever(() => { degrees = input.compassHeading(); if (degrees < 45) { @@ -61,7 +61,7 @@ basic.forever(() => { Instead of displaying just `N`, `W`, `S`, or `E`, display the full word. ```blocks - let degrees = null; + let degrees = 0; basic.forever(() => { degrees = input.compassHeading(); if (degrees < 45) { diff --git a/docs/lessons/die-roll/quiz.md b/docs/lessons/die-roll/quiz.md index 2592c6a2..e97e7364 100644 --- a/docs/lessons/die-roll/quiz.md +++ b/docs/lessons/die-roll/quiz.md @@ -6,7 +6,7 @@ Create a die when the BBC micro:bit is shaken ## Directions -Use this activity document to guide your work in the [die roll tutorial](/microbit/lessons/die-roll/tutorial). +Use this activity document to guide your work in the [die roll tutorial](/microbit/lessons/die-roll/activity). Answer the questions while completing the tutorial. Pay attention to the dialogues! diff --git a/docs/lessons/digi-yoyo/quiz.md b/docs/lessons/digi-yoyo/quiz.md index de9aecf2..0f97309c 100644 --- a/docs/lessons/digi-yoyo/quiz.md +++ b/docs/lessons/digi-yoyo/quiz.md @@ -6,7 +6,7 @@ Create a counter with a while loop ## Directions -Use this activity document to guide your work in the [digi yoyo tutorial](/microbit/lessons/digi-yoyo/tutorial) +Use this activity document to guide your work in the [digi yoyo tutorial](/microbit/lessons/digi-yoyo/activity) Answer the questions while completing the tutorial. Pay attention to the dialogues! diff --git a/docs/lessons/glowing-pendulum/quiz.md b/docs/lessons/glowing-pendulum/quiz.md index f2dc9a7d..2ca42dff 100644 --- a/docs/lessons/glowing-pendulum/quiz.md +++ b/docs/lessons/glowing-pendulum/quiz.md @@ -6,7 +6,7 @@ construct a pendulum that glows using acceleration #LED #number #math #accelerat ## Directions -Use this activity document to guide your work in the [glowing pendulum tutorial](/microbit/lessons/glowing-pendulum/tutorial) +Use this activity document to guide your work in the [glowing pendulum tutorial](/microbit/lessons/glowing-pendulum/activity) Answer the questions while completing the tutorial. Pay attention to the dialogues! diff --git a/docs/lessons/guess-the-number/quiz.md b/docs/lessons/guess-the-number/quiz.md index b7511109..aed4df30 100644 --- a/docs/lessons/guess-the-number/quiz.md +++ b/docs/lessons/guess-the-number/quiz.md @@ -6,7 +6,7 @@ Learn how to generate a random number on the micro:bit. #math #random #docs ## Directions -Use this activity document to guide your work in the [guess the number tutorial](/microbit/lessons/guess-the-number/tutorial). +Use this activity document to guide your work in the [guess the number tutorial](/microbit/lessons/guess-the-number/activity). Answer the questions while completing the tutorial. Pay attention to the dialogues! diff --git a/docs/lessons/looper/quiz.md b/docs/lessons/looper/quiz.md index 8cbe593e..a6ed1adf 100644 --- a/docs/lessons/looper/quiz.md +++ b/docs/lessons/looper/quiz.md @@ -6,7 +6,7 @@ Learn how to create a series of numbers with a for loop. #LED #screen #plot #doc ## Directions -Use this activity document to guide your work in the [looper tutorial](/microbit/lessons/looper/tutorial) +Use this activity document to guide your work in the [looper tutorial](/microbit/lessons/looper/activity) Answer the questions while completing the tutorial. Pay attention to the dialogues! diff --git a/docs/lessons/magic-8/quiz.md b/docs/lessons/magic-8/quiz.md index ed2cd13a..3244d112 100644 --- a/docs/lessons/magic-8/quiz.md +++ b/docs/lessons/magic-8/quiz.md @@ -6,7 +6,7 @@ create a magic 8 ball on the BBC micro:bit #math #random #docs ## Directions -Use this activity document to guide your work in the [magic 8 tutorial](/microbit/lessons/magic-8/tutorial). +Use this activity document to guide your work in the [magic 8 tutorial](/microbit/lessons/magic-8/activity). Answer the questions while completing the tutorial. Pay attention to the dialogues! diff --git a/docs/lessons/night-light/quiz.md b/docs/lessons/night-light/quiz.md index 0c6ce527..c4d15768 100644 --- a/docs/lessons/night-light/quiz.md +++ b/docs/lessons/night-light/quiz.md @@ -6,7 +6,7 @@ change the brightness of the BBC micro:bit #LED #image #brightness #fade #docs ## Directions -Use this activity document to guide your work in the [night light tutorial](/microbit/lessons/night-light/tutorial) +Use this activity document to guide your work in the [night light tutorial](/microbit/lessons/night-light/activity) Answer the questions while completing the tutorial. Pay attention to the dialogues! diff --git a/docs/lessons/rock-paper-scissors/quiz.md b/docs/lessons/rock-paper-scissors/quiz.md index 2841da06..0703ef85 100644 --- a/docs/lessons/rock-paper-scissors/quiz.md +++ b/docs/lessons/rock-paper-scissors/quiz.md @@ -6,7 +6,7 @@ shift an image horizontally across the display with offset #offset #screen #var ## Directions -Use this activity document to guide your work in the [rock paper scissors tutorial](/microbit/lessons/rock-paper-scissors/tutorial). +Use this activity document to guide your work in the [rock paper scissors tutorial](/microbit/lessons/rock-paper-scissors/activity). Answer the questions while completing the tutorial. Pay attention to the dialogues! diff --git a/docs/lessons/rotation-animation/quiz-answers.md b/docs/lessons/rotation-animation/quiz-answers.md index 38d86043..a8abae77 100644 --- a/docs/lessons/rotation-animation/quiz-answers.md +++ b/docs/lessons/rotation-animation/quiz-answers.md @@ -48,13 +48,35 @@ It is a **while** loop that will be executed only if the ** variable** called `r ## 4. If the rectangle below represents the BBC micro:bit, shade the areas that will be displayed. Explain why that particular area is shaded. ```blocks -basic.showAnimation(` -# . . . . . . # . . . . . . # . . . . . -. # . . . . . # . . . . . # . . . . . . -. . # . . . . # . . . . # . . # # # # # -. . . # . . . # . . . # . . . . . . . . -. . . . # . . # . . # . . . . . . . . . -`, 400) +basic.showLeds(` + . . # . . + . . # . . + . . # . . + . . # . . + . . # . . + `) +basic.showLeds(` + . . . . . + . . . . . + # # # # # + . . . . . + . . . . . + `) +basic.showLeds(` + . . . . # + . . . # . + . . # . . + . # . . . + # . . . . + `) +basic.showLeds(` + . . . . # + . . . # . + . . # . . + . # . . . + # . . . . + `) + ``` diff --git a/docs/lessons/rotation-animation/quiz.md b/docs/lessons/rotation-animation/quiz.md index b9505fab..7991c5cb 100644 --- a/docs/lessons/rotation-animation/quiz.md +++ b/docs/lessons/rotation-animation/quiz.md @@ -6,7 +6,7 @@ Learn how to create a rotating image with a while loop. #image #loop #while #do ## Directions -Use this activity document to guide your work in the [rotation animation tutorial](/microbit/lessons/rotation-animation/tutorial). +Use this activity document to guide your work in the [rotation animation tutorial](/microbit/lessons/rotation-animation/activity). Answer the questions while completing the tutorial. Pay attention to the dialogues! @@ -46,13 +46,35 @@ while (rotating) { ## 4. Draw the areas on the micro:bits to illustrate the code below. Explain why you chose to draw in those areas. ```blocks -basic.showAnimation(` -# . . . . . . # . . . . . . # . . . . . -. # . . . . . # . . . . . # . . . . . . -. . # . . . . # . . . . # . . # # # # # -. . . # . . . # . . . # . . . . . . . . -. . . . # . . # . . # . . . . . . . . . -`, 400) +basic.showLeds(` + . . # . . + . . # . . + . . # . . + . . # . . + . . # . . + `) +basic.showLeds(` + . . . . . + . . . . . + # # # # # + . . . . . + . . . . . + `) +basic.showLeds(` + . . . . # + . . . # . + . . # . . + . # . . . + # . . . . + `) +basic.showLeds(` + . . . . # + . . . # . + . . # . . + . # . . . + # . . . . + `) + ``` ![](/static/mb/lessons/looper-2.png) diff --git a/docs/lessons/spinner/quiz.md b/docs/lessons/spinner/quiz.md index 9f5d2768..a11e71b9 100644 --- a/docs/lessons/spinner/quiz.md +++ b/docs/lessons/spinner/quiz.md @@ -6,7 +6,7 @@ a spin the BBC micro:bit game with the input on shake #math #random #docs #shake ## Directions -Use this activity document to guide your work in the [spinner tutorial](/microbit/lessons/spinner/tutorial). +Use this activity document to guide your work in the [spinner tutorial](/microbit/lessons/spinner/activity). Answer the questions while completing the tutorial. Pay attention to the dialogues! diff --git a/docs/lessons/strobe-light/quiz.md b/docs/lessons/strobe-light/quiz.md index 90c82b35..30f58564 100644 --- a/docs/lessons/strobe-light/quiz.md +++ b/docs/lessons/strobe-light/quiz.md @@ -6,7 +6,7 @@ Learn how to create a blinking LED script with a for loop. #LED #screen #plot #d ## Directions -Use this activity document to guide your work in the [strobe light tutorial](/microbit/lessons/strobe-light/tutorial) +Use this activity document to guide your work in the [strobe light tutorial](/microbit/lessons/strobe-light/activity) Answer the questions while completing the tutorial. Pay attention to the dialogues! diff --git a/docs/lessons/truth-or-dare/quiz.md b/docs/lessons/truth-or-dare/quiz.md index c7e783d1..66fee197 100644 --- a/docs/lessons/truth-or-dare/quiz.md +++ b/docs/lessons/truth-or-dare/quiz.md @@ -6,7 +6,7 @@ a multi-player game that forces each player to reveal a secret or something funn ## Directions -Use this activity document to guide your work in the [truth or dare tutorial](/microbit/lessons/truth-or-dare/tutorial). +Use this activity document to guide your work in the [truth or dare tutorial](/microbit/lessons/truth-or-dare/activity). Answer the questions while completing the tutorial. Pay attention to the dialogues! diff --git a/docs/lessons/zoomer.md b/docs/lessons/zoomer.md index fada8b35..81765572 100644 --- a/docs/lessons/zoomer.md +++ b/docs/lessons/zoomer.md @@ -12,6 +12,8 @@ Acceleration * [activity](/microbit/lessons/zoomer/activity) * [challenges](/microbit/lessons/zoomer/challenges) +* [quiz](/microbit/lessons/zoomer/quiz) +* [quiz answers](/microbit/lessons/zoomer/quiz-answers) ## Prior learning/place of lesson in scheme of work @@ -21,12 +23,10 @@ Learn how to get the **acceleration**, `acceleration` in one of three specified ```docs basic.forever(() => { - }) let x = 0 input.acceleration(Dimension.X) if (true) { - } input.buttonIsPressed(Button.A) basic.showNumber(0) diff --git a/docs/lessons/zoomer/quiz.md b/docs/lessons/zoomer/quiz.md index 3a9f293b..a7ab18a2 100644 --- a/docs/lessons/zoomer/quiz.md +++ b/docs/lessons/zoomer/quiz.md @@ -6,7 +6,7 @@ Measure the acceleration on the micro:bit in the "z" direction #LED #number #mat ## Directions -Use this activity document to guide your work in the [zoomer tutorial](/microbit/lessons/zoomer/tutorial) +Use this activity document to guide your work in the [zoomer tutorial](/microbit/lessons/zoomer/activity) Answer the questions while completing the tutorial. Pay attention to the dialogues!