finished updated lessons

This commit is contained in:
Michael Elliot Braun 2016-03-29 16:17:34 -07:00
parent 6a932a9c5c
commit 8d1f59dc84
17 changed files with 194 additions and 613 deletions

View File

@ -18,14 +18,14 @@ Gets the compass heading of the micro:bit in degrees
## 2. Write the code that stores the compass heading into a local variable called 'degrees'.
```
```blocks
let degrees = input.compassHeading()
```
## 3. Write the 'If statement' that will check if the device is mostly pointing North. Display 'N' on the micro:bit
```
```blocks
if (degrees < 45) {
basic.showString("N", 150)
}
@ -34,7 +34,7 @@ if (degrees < 45) {
## 4. Write the 'If statement' that will check if the device is mostly pointing East. Display 'E' on the micro:bit
```
```blocks
if (degrees < 135) {
basic.showString("E", 150)
}
@ -43,7 +43,7 @@ if (degrees < 135) {
## 5. Write the 'If statement' that will check if the device is mostly pointing South. Display 'S' on the micro:bit
```
```blocks
if (degrees < 225) {
basic.showString("S", 150)
}

View File

@ -10,7 +10,7 @@ Answers may vary but a variable is a place where you can store and retrieve data
## 2. Draw the stored value for the variable called count
```
```blocks
let count = 0
```
@ -22,7 +22,7 @@ We create a **variable**, `count` to keep track of the current count. The number
## 3. Draw which LEDs are ON after running this code and pressing button "A" once. Explain you chose to draw that number
```
```blocks
let count_ = 0
input.onButtonPressed("A", () => {
count_ = count_ + 1
@ -38,7 +38,7 @@ We are only pressing on button pressed once. So the number to display on the mic
## 4. Draw which LEDs are ON after running this code and pressing button "A" three times. Explain you chose to draw that number
```
```blocks
count_ = 0
input.onButtonPressed("A", () => {
count_ = count_ + 1

View File

@ -16,7 +16,7 @@ Answer the questions while completing the tutorial. Pay attention to the dialogu
## 2. Draw the stored value for the variable called count
```
```blocks
let count = 0
```
@ -26,7 +26,7 @@ let count = 0
## 3. Draw which LEDs are ON after running this code and pressing button "A" once. Explain you chose to draw that number
```
```blocks
let count_ = 0
input.onButtonPressed("A", () => {
count_ = count_ + 1
@ -40,7 +40,7 @@ input.onButtonPressed("A", () => {
## 4. Draw which LEDs are ON after running this code and pressing button "A" three times. Explain you chose to draw that number
```
```blocks
count_ = 0
input.onButtonPressed("A", () => {
count_ = count_ + 1

View File

@ -17,15 +17,17 @@ Learn how to creating **conditionals**, `if condition do` to conditionally run c
## Documentation
* **show string** : [read more...](/microbit/reference/basic/show-string)
* **show number** : [read more...](/microbit/reference/basic/show-number)
* **on shake** : [read more...](/microbit/reference/input/on-gesture)
* **clear screen** : [read more...](/microbit/reference/basic/clear-screen)
* **variable** : [read more...](/microbit/reference/variables/var)
* **pick number** : [read more...](/microbit/blocks/math)
* **if** : [read more...](/microbit/reference/logic/if)
```docs
if (true) {
}
Math.random(3)
input.onGesture(Gesture.Shake, () => {
})
basic.showNumber(7)
basic.clearScreen()
basic.showString("Hello!")
```

View File

@ -13,19 +13,28 @@ On Logo Up
* [activity](/microbit/lessons/magic-logo/activity)
* [challenges](/microbit/lessons/magic-logo/challenges)
## Class
Year 7
## Prior learning/place of lesson in scheme of work
Learn how to plot image **on logo up**, `on logo up` to run code when the micro:bit screen is facing up and vertically orientated. We will be learning how to plot an image with the logo up, basic show LEDs, and logo down.
## Documentation
```docs
input.onLogoUp(() => {
* **on logo up** : [read more...](/microbit/functions/on-logo-up)
* **show leds** : [read more...](/microbit/reference/basic/show-leds)
* **on logo down** : [read more...](/microbit/functions/on-logo-down)
})
input.onLogoDown(() => {
})
basic.showLeds(`
. . . . .
. . . . .
. . # . .
. . . . .
. . . . .
`)
```
## Objectives
@ -33,43 +42,3 @@ Learn how to plot image **on logo up**, `on logo up` to run code when the micro:
* learn how to run code when the micro:bit screen is facing down and vertically orientated
* learn how to run code when the micro:bit screen is facing up and vertically orientated
## Progression Pathways / Computational Thinking Framework
#### Algorithms
* Represents solutions using a structured notation (AL) (AB)
* Can identify similarities and differences in situations and can use these to solve problems (pattern recognition)(GE)
#### Programming & Development
* Creates programs that implement algorithms to achieve given goals (AL)
#### Hardware & Processing
* Knows that computers collect data from various input devices, including sensors and application software (AB)
#### Communication Networks
* Demonstrates responsible use of technologies and online services, and knows a range of ways to report concerns Understands how search engines rank search results (AL)
#### Information Technology
* Collects, organizes, and presents data and information in digital content (AB)
* Recognises the audience when designing and creating digital content (EV)
Computational Thinking Concept: AB = Abstraction; DE = Decomposition; AL = Algorithmic Thinking; EV = Evaluation; GE = Generalisation
## Activity
* time: 20 min.
* [activity](/microbit/lessons/magic-logo/activity)
## Extended Activity
* time: 20 min.
* [challenges](/microbit/lessons/magic-logo/challenges)
## Homework
* Extended Activity: [challenges](/microbit/lessons/magic-logo/challenges)

View File

@ -13,19 +13,26 @@ Set Brightness
* [activity](/microbit/lessons/night-light/activity)
* [challenges](/microbit/lessons/night-light/challenges)
## Class
Year 7
## Prior learning/place of lesson in scheme of work
Learn how to **set brightness** of an image `set brightness` to set the brightness of the LED screen. We will be learning how to set the brightness of the LED screen using LED show LEDs, on button pressed and set brightness.
## Documentation
* **set brightness** : [read more...](/microbit/reference/led/set-brightness)
* **show LEDs** : [read more...](/microbit/reference/basic/show-leds)
* **on button pressed** : [read more...](/microbit/reference/input/on-button-pressed)
```docs
led.setBrightness(255)
input.onButtonPressed(Button.A, () => {
})
basic.showLeds(`
. . . . .
. . . . .
. . # . .
. . . . .
. . . . .
`)
```
## Objectives
@ -33,39 +40,3 @@ Learn how to **set brightness** of an image `set brightness` to set the brightne
* learn how to run code when an input button is pressed
* learn how to turn on all LEDs
## Progression Pathways / Computational Thinking Framework
#### Algorithms
* Uses diagrams to express solutions.(AB)
* Recognises that different algorithms exist for the same problem (AL) (GE)
* Represents solutions using a structured notation (AL) (AB)
* Can identify similarities and differences in situations and can use these to solve problems (pattern recognition)(GE)
#### Programming & Development
* Creates programs that implement algorithms to achieve given goals (AL)
* Selects the appropriate data types(AL) (AB
#### Information Technology
* Collects, organizes, and presents data and information in digital content (AB)
* Makes appropriate improvements to solutions based on feedback received, and can comment on the success of the solution (EV)
* Recognises ethical issues surrounding the application of information technology beyond school.
Computational Thinking Concept: AB = Abstraction; DE = Decomposition; AL = Algorithmic Thinking; EV = Evaluation; GE = Generalisation
## Activity
* time: 20 min.
* [activity](/microbit/lessons/night-light/activity)
## Extended Activity
* time: 20 min.
* [challenges](/microbit/lessons/night-light/challenges)
## Homework
* Extended Activity: [challenges](/microbit/lessons/night-light/challenges)

View File

@ -23,10 +23,20 @@ Learn how to create a **local variable**, `var t :=time` where you can store dat
## Documentation
* **on shake** : [read more...](/microbit/reference/input/on-gesture)
* **local variable** : [read more...](/microbit/reference/variables/var)
* **show LEDs** : [read more...](/microbit/reference/basic/show-leds)
* **pick random** : [read more...](/microbit/blocks/math)
```docs
input.onGesture(Gesture.Shake, () => {
})
Math.random(3)
let x = 0
basic.showLeds(`
. . . . .
. . . . .
. . # . .
. . . . .
. . . . .
`)
```
## Objectives

View File

@ -21,13 +21,27 @@ Learn how to create images that look like a rotating animation by using a while
## Documentation
* **variable**: [read more...](/microbit/reference/variables/var)
* **assignment operator**: [read more...](/microbit/reference/variables/assign)
* **while**: [read more...](/microbit/js/while)
* **Boolean condition (for the while loop)** : [read more...](/microbit/reference/types/boolean)
* **on button pressed**: [read more...](/microbit/reference/input/on-button-pressed)
* **show LEDs**: [read more...](/microbit/reference/basic/show-leds)
* **pause**: [read more...](/microbit/reference/basic/pause)
```docs
let x = 0
input.onButtonPressed(Button.A, () => {
})
basic.showLeds(`
. . . . .
. . . . .
. . # . .
. . . . .
. . . . .
`)
basic.pause(100)
while (true) {
basic.pause(20)
}
```
## Objectives
@ -39,41 +53,3 @@ Learn how to create images that look like a rotating animation by using a while
* learn how to show a series of image frames on the LED screen
* learn how to pause your code for the specified number of milliseconds
## Progression Pathways / Computational Thinking Framework
#### Algorithms
* Understands that iteration is the repetition of a process such as a loop. (AL)
* Represents solutions using a structured notation. (AL) (AB)
#### Programming & Development
* Creates programs that implement algorithms to achieve given goals. (AL)
* Declares and assigns variables.(AB)
#### Data & Data Representation
* Understands the difference between data and information. (AB)
* Defines data types: real numbers and Boolean. (AB)
#### Information Technology
* Collects, organises and presents data and information in digital content. (AB)
* Makes appropriate improvements to solutions based on feedback received, and can comment on the success of the solution. (EV)
Computational Thinking Concept: AB = Abstraction; DE = Decomposition; AL = Algorithmic Thinking; EV = Evaluation; GE = Generalisation
## Activity
* time: 20 min.
* [activity](/microbit/lessons/rotation-animation/activity)
## Extended Activity
* time: 20 min.
* [challenges](/microbit/lessons/rotation-animation/challenges)
## Homework
* Extended Activity: [challenges](/microbit/lessons/rotation-animation/challenges)

View File

@ -15,86 +15,31 @@ Clear Screen
* [quiz answers](/microbit/lessons/screen-wipe/quiz-answers)
* [challenges](/microbit/lessons/screen-wipe/challenges)
## Class
Year 7
## Prior learning/place of lesson in scheme of work
Learn how to **clear screen**, `clear screen` to turn off all the LED lights on the LED screen. We will be learning how to clear all LED lights on the LED screen using clear screen, input on button pressed as well as simple commands, such as show animation.
## What the teacher needs to know/QuickStart Computing Glossary
* Algorithm: An unambiguous set of rules or a precise step-by-step guide to solve a problem or achieve a particular objective.
* Hardware: The physical systems and components of digital devices; see also software.
* Input: Data provided to a computer system, such as via a keyboard, mouse, microphone, camera or physical sensors.
* Output: The information produced by a computer system for its user, typically on a screen, through speakers or on a printer, but possibly through the control of motors in physical systems.
* Programmable toys: Robots designed for children to use, accepting input, storing short sequences of simple instructions and moving according to this stored program.
* Simulation: Using a computer to model the state and behaviour of real-world (or imaginary) systems, including physical or social systems; an integral part of most computer games.
## Documentation
* **show LEDs** : [read more...](/microbit/reference/basic/show-leds)
* **on button pressed** : [read more...](/microbit/reference/input/on-button-pressed)
* **clear screen** : [read more...](/microbit/reference/basic/clear-screen)
```docs
basic.clearScreen()
basic.showLeds(`
. . . . .
. . . . .
. . # . .
. . . . .
. . . . .
`)
input.onButtonPressed(Button.A, () => {
})
## Resources
* Activity: [activity](/microbit/lessons/screen-wipe/activity)
* Activity: [quiz](/microbit/lessons/screen-wipe/quiz)
* Extended Activity: [challenges](/microbit/lessons/screen-wipe/challenges)
```
## Objectives
* learn how to show a series of images on the LED screen
* learn how to run code when an input button is pressed
* learn how to turn off all the LED lights on the LED screen
## Progression Pathways / Computational Thinking Framework
#### Algorithms
* Uses diagrams to express solutions.(AB)
* Uses logical reasoning to predict outputs, showing an awareness of inputs (AL)
* Shows an awareness of tasks best completed by humans or computers (EV)
* Designs solutions by decomposing a problem and creates a sub-solution for each of these parts. (DE) (AL) (AB)
* Recognises that different solutions exist for the same problem (AL) (AB) Understands that iteration is the repetition of a process such as a loop (AL)
* Recognises that different algorithms exist for the same problem (AL) (GE)
* Represents solutions using a structured notation (AL) (AB)
#### Programming & Development
* Creates programs that implement algorithms to achieve given goals (AL)
* Selects the appropriate data types(AL) (AB
#### Hardware & Processing
* Knows that computers collect data from various input devices, including sensors and application software (AB)
#### Communication Networks
* Demonstrates responsible use of technologies and online services, and knows a range of ways to report concerns Understands how search engines rank search results (AL)
#### Information Technology
* Collects, organizes, and presents data and information in digital content (AB)
* Recognises ethical issues surrounding the application of information technology beyond school.
* Designs criteria to critically evaluate the quality of solutions, uses the criteria to identify improvements and can make appropriate refinements to the solution (EV)
Computational Thinking Concept: AB = Abstraction; DE = Decomposition; AL = Algorithmic Thinking; EV = Evaluation; GE = Generalisation
## Activity
* time: 20 min.
* [activity](/microbit/lessons/screen-wipe/activity)
* [quiz](/microbit/lessons/screen-wipe/quiz)
## Extended Activity
* time: 20 min.
* [challenges](/microbit/lessons/screen-wipe/challenges)
## Homework
* Extended Activity: [challenges](/microbit/lessons/screen-wipe/challenges)

View File

@ -15,11 +15,7 @@ Show LEDs
* [quiz answers](/microbit/lessons/smiley/quiz-answers)
* [challenges](/microbit/lessons/smiley/challenges)
## Class
Year 7
## Prior learning / place of lesson in scheme of work
## Prior learning/place of lesson in scheme of work
Learn how to **show LEDs** to turn on a LED light pattern on the LED screen. We will be learning basic comments such as show LEDs and pause.
@ -28,57 +24,22 @@ Learn how to **show LEDs** to turn on a LED light pattern on the LED screen. We
* **show LEDs** : [read more...](/microbit/reference/basic/show-leds)
* **on button pressed** : [read more...](/microbit/reference/input/on-button-pressed)
```docs
input.onButtonPressed(Button.A, () => {
})
basic.showLeds(`
. . . . .
. . . . .
. . # . .
. . . . .
. . . . .
`)
```
## Objectives
* learn how to show LEDs on the LED screen
* learn how to run code when an input button is pressed
## Progression Pathways / Computational Thinking Framework
#### Algorithms
* Designs solutions (algorithms) that use repetition and two-way selection, ie if, then and else.(AL)
* Uses diagrams to express solutions.(AB)
* Uses logical reasoning to predict outputs, showing an awareness of inputs (AL)
* Recognises that different algorithms exist for the same problem (AL) (GE)
* Represents solutions using a structured notation (AL) (AB)
#### Programming & Development
* Creates programs that implement algorithms to achieve given goals (AL)
* Selects the appropriate data types(AL) (AB
#### Data & Data Representation
* Understands the difference between data and information(AB)
#### Hardware & Processing
* Understands the difference between hardware and application software, and their roles within a computer system (AB)
#### Communication Networks
* Demonstrates responsible use of technologies and online services, and knows a range of ways to report concerns (AL)
#### Information Technology
* Collects, organizes, and presents data and information in digital content (AB)
* Makes appropriate improvements to solutions based on feedback received, and can comment on the success of the solution (EV)
Computational Thinking Concept: AB = Abstraction; DE = Decomposition; AL = Algorithmic Thinking; EV = Evaluation; GE = Generalisation
## Activity
* time: 20 min.
* [activity](/microbit/lessons/smiley/activity)
* [quiz](/microbit/lessons/smiley/quiz)
## Extended Activity
* time: 20 min.
* [challenges](/microbit/lessons/smiley/challenges)
## Homework
* Extended Activity: [challenges](/microbit/lessons/smiley/challenges)

View File

@ -15,76 +15,27 @@ Forever
* [quiz answers](/microbit/lessons/snowflake-fall/quiz-answers)
* [challenges](/microbit/lessons/snowflake-fall/challenges)
## Class
Year 7
## Prior learning/place of lesson in scheme of work
Learn how to show LEDs with a, `pause` to pause program execution for a specified amount of milliseconds. We will be learning how to show images using forever loop as well as simple commands, such as pause and show LEDs.
## What the teacher needs to know/QuickStart Computing Glossary
* Algorithm: An unambiguous set of rules or a precise step-bystep guide to solve a problem or achieve a particular objective.
* Command: An instruction for the computer to execute, written in a particular programming language.
* Hardware: The physical systems and components of digital devices; see also software.
* Programmable toys: Robots designed for children to use, accepting input, storing short sequences of simple instructions and moving according to this stored program.
* Program: A stored set of instructions encoded in a language understood by the computer that does some form of computation, processing input and/or stored data to generate output.
* Simulation: Using a computer to model the state and behaviour of real-world (or imaginary) systems, including physical or social systems; an integral part of most computer games.
## Documentation
* **show LEDs** : [read more...](/microbit/reference/basic/show-leds)
* **pause** : [read more...](/microbit/reference/basic/pause)
* **forever** : [read more...](/microbit/reference/basic/forever)
## Resources
* Activity: [activity](/microbit/lessons/snowflake-fall/activity)
* Activity: [quiz](/microbit/lessons/snowflake-fall/quiz)
* Extended Activity: [challenges](/microbit/lessons/snowflake-fall/challenges)
## Objectives
* learn how to show an image on the LED screen
* learn how to pause a program for a specified amount of time in milliseconds
* learn how to repeat code in the background forever
## Progression Pathways / Computational Thinking Framework
#### Algorithms
* Uses diagrams to express solutions.(AB)
* Represents solutions using a structured notation (AL) (AB)
* Can identify similarities and differences in situations and can use these to solve problems (pattern recognition)(GE)
#### Programming & Development
* Creates programs that implement algorithms to achieve given goals (AL)
#### Communication Networks
* Demonstrates responsible use of technologies and online services, and knows a range of ways to report concerns Understands how search engines rank search results (AL)
#### Information Technology
* Collects, organizes, and presents data and information in digital content (AB)
* Makes appropriate improvements to solutions based on feedback received, and can comment on the success of the solution (EV)
Computational Thinking Concept: AB = Abstraction; DE = Decomposition; AL = Algorithmic Thinking; EV = Evaluation; GE = Generalisation
## Activity
* time: 20 min.
* [activity](/microbit/lessons/snowflake-fall/activity)
* [quiz](/microbit/lessons/snowflake-fall/quiz)
## Extended Activity
* time: 20 min.
* [challenges](/microbit/lessons/snowflake-fall/challenges)
## Homework
* Extended Activity: [challenges](/microbit/lessons/snowflake-fall/challenges)
```docs
basic.showLeds(`
. . . . .
. . . . .
. . # . .
. . . . .
. . . . .
`)
basic.pause(100)
basic.forever(() => {
})
```

View File

@ -13,22 +13,30 @@ If (Conditionals)
* [activity](/microbit/lessons/spinner/activity)
* [challenges](/microbit/lessons/spinner/challenges)
## Class
Year 7
## Prior learning/place of lesson in scheme of work
Learn how to use an if statement to run code run code depending on whether a condition is true or not. We will be learning how to create a die with If statements, On Shake, Variables, Assignment Operator, Pick Random and Show LEDs.
## Documentation
* **If** : [read more...](/microbit/blocks/if)
* **Variables** : [read more...](/microbit/reference/variables/var)
* **Assignment Operator** : [read more...](/microbit/reference/variables/assign)
* **On Shake** : [read more...](/microbit/reference/input/on-gesture)
* **Pick Random** : [read more...](/microbit/blocks/math)
* **Show LEDs** : [read more...](/microbit/reference/basic/show-leds)
```docs
if (true) {
}
let x = 0
input.onGesture(Gesture.Shake, () => {
})
Math.random(3)
basic.showLeds(`
. . . . .
. . . . .
. . # . .
. . . . .
. . . . .
`)
```
## Objectives
@ -40,54 +48,3 @@ Learn how to use an if statement to run code run code depending on whether a con
* learn how to conditionally run code depending on whether a condition is true or not
* learn how to show an image on the LED screen
## Progression Pathways / Computational Thinking Framework
#### Algorithms
* Designs solutions (algorithms) that use repetition and two-way selection, ie if, then and else.(AL)
* Uses logical reasoning to predict outputs, showing an awareness of inputs (AL)
* Designs solutions by decomposing a problem and creates a sub-solution for each of these parts. (DE) (AL) (AB)
* Represents solutions using a structured notation (AL) (AB)
#### Programming & Development
* Creates programs that implement algorithms to achieve given goals (AL)
* Declares and assigns variables(AB)
* Understands the difference between, and appropriately uses if and if, then and else statements(AL)
* Uses a range of operators and expressions e.g. Boolean, and applies them in the context of program control. (AL)
* Selects the appropriate data types(AL) (AB
#### Data & Data Representation
* Understands the difference between data and information(AB)
* Uses filters or can perform single criteria searches for information.(AL)
* Performs more complex searches for information e.g. using Boolean and relational operators(AL) (GE) (EV)
* Defines data types: real numbers and Boolean (AB)
#### Hardware & Processing
* Knows that computers collect data from various input devices, including sensors and application software (AB)
* Demonstrates responsible use of technologies and online services, and knows a range of ways to report concerns Understands how search engines rank search results (AL)
#### Information Technology
* Makes appropriate improvements to solutions based on feedback received, and can comment on the success of the solution (EV)
* Makes judgements about digital content when evaluating and repurposing it for a given audience (EV) (GE)
* Recognises ethical issues surrounding the application of information technology beyond school.
Computational Thinking Concept: AB = Abstraction; DE = Decomposition; AL = Algorithmic Thinking; EV = Evaluation; GE = Generalisation
## Activity
* time: 20 min.
* [activity](/microbit/lessons/spinner/activity)
## Extended Activity
* time: 20 min.
* [challenges](/microbit/lessons/spinner/challenges)
## Homework
* Extended Activity: [challenges](/microbit/lessons/spinner/challenges)

View File

@ -13,16 +13,17 @@ For Loop
* [activity](/microbit/lessons/strobe-light/activity)
* [challenges](/microbit/lessons/strobe-light/challenges)
## Class
Year 7
## Documentation
* **For Loop**: [read more...](/microbit/reference/loops/for)
* **Plot**: [read more...](/microbit/reference/led/plot)
* **Unplot**: [read more...](/microbit/reference/led/unplot)
* **Pause**: [read more...](/microbit/reference/basic/pause)
```docs
led.plot(0, 0)
led.unplot(0, 0)
for (let i = 0; i < 5; i++) {
}
basic.pause(100)
```
## Objectives
@ -30,44 +31,3 @@ Year 7
* learn how to turn on a LED light on the LED screen. Specify with LED using x, y coordinates
* learn how to turn off a LED light on the LED screen. Specify which LED which x, y coordinates
* learn how to pause program execution for the specified number of milliseconds
## Progression Pathways / Computational Thinking Framework
#### Algorithms
* Uses logical reasoning to predict outputs, showing an awareness of inputs. (AL)
* Understands that iteration is the repetition of a process such as a loop. (AL)
* Represents solutions using a structured notation. (AL) (AB)
#### Programming & Development
* Creates programs that implement algorithms to achieve given goals. (AL)
* Uses a variable and relational operators within a loop to govern termination. (AL) (GE)
* Uses a range of operators and expressions e.g. Boolean, and applies them in the context of program control. (AL)
#### Data & Data Representation
* Understands the difference between data and information. (AB)
* Defines data types: real numbers and Boolean. (AB)
#### Information Technology
* Collects, organises and presents data and information in digital content. (AB)
* Makes appropriate improvements to solutions based on feedback received, and can comment on the success of the solution. (EV)
Computational Thinking Concept: AB = Abstraction; DE = Decomposition; AL = Algorithmic Thinking; EV = Evaluation; GE = Generalisation
## Activity
* time: 10 min.
* [activity](/microbit/lessons/strobe-light/activity)
## Extended Activity
* time: 20 min.
* [challenges](/microbit/lessons/strobe-light/challenges)
## Homework
* Extended Activity: [challenges](/microbit/lessons/strobe-light/challenges)

View File

@ -11,67 +11,25 @@ Temperature
* [activity](/microbit/lessons/temperature/activity)
* [challenges](/microbit/lessons/temperature/challenges)
## Class
Year 7
## Prior learning/place of lesson in scheme of work
Learn how to get the ambient temperature (degree Celsius °C). The temperature is inferred from the the surface temperature of the various chips on the micro:bit. We will be learning how to get the temperature using on shake, local variables, as well as simple commands such as show number.
## Documentation
* **on shake** : [read more...](/microbit/reference/input/on-gesture)
* **local variable** : [read more...](/microbit/reference/variables/var)
* **temperature** : [read more...](/microbit/reference/input/temperature)
* **show number** : [read more...](/microbit/reference/basic/show-number)
* **show string** : [read more...](/microbit/reference/basic/show-string)
```docs
input.temperature()
let x = 0
basic.showNumber(7)
basic.showString("Hello!")
input.onGesture(Gesture.Shake, () => {
})
```
## Objectives
* learn how to create a variable to store data
* learn how to get the ambient temperature (degree Celsius °C). The temperature is inferred from the the surface temperature of the various chips on the micro:bit.
* learn how to show a number on the LED screen
## Progression Pathways / Computational Thinking Framework
#### Algorithms
* Uses logical reasoning to predict outputs, showing an awareness of inputs (AL)
* Designs solutions by decomposing a problem and creates a sub-solution for each of these parts. (DE) (AL) (AB)
* Recognises that different algorithms exist for the same problem (AL) (GE)
* Represents solutions using a structured notation (AL) (AB)
#### Programming & Development
* Creates programs that implement algorithms to achieve given goals (AL)
* Declares and assigns variables(AB)
* Understands the difference between, and appropriately uses if and if, then and else statements(AL)
* Selects the appropriate data types(AL) (AB
#### Communication Networks
* Demonstrates responsible use of technologies and online services, and knows a range of ways to report concerns Understands how search engines rank search results (AL)
#### Information Technology
* Collects, organizes, and presents data and information in digital content (AB)
* Makes appropriate improvements to solutions based on feedback received, and can comment on the success of the solution (EV)
* Recognises ethical issues surrounding the application of information technology beyond school.
Computational Thinking Concept: AB = Abstraction; DE = Decomposition; AL = Algorithmic Thinking; EV = Evaluation; GE = Generalisation
## Activity
* time: 20 min.
* [activity](/microbit/lessons/temperature/activity)
## Extended Activity
* time: 20 min.
* [challenges](/microbit/lessons/temperature/challenges)
## Homework
* Extended Activity: [challenges](/microbit/lessons/temperature/challenges)

View File

@ -12,9 +12,7 @@ The Watch
* [activity](/microbit/lessons/the-watch/activity)
## Class
Year 7
## Prior learning/place of lesson in scheme of work
@ -23,9 +21,3 @@ Learn how to design the BBC micro:bit watch with household supplies.
## Objectives
* learn how to design and make the watch with the BBC micro:bit
## Activity
* time: 20 min.
* [activity](/microbit/lessons/the-watch/activity)

View File

@ -13,23 +13,31 @@ If (Conditionals)
* [activity](/microbit/lessons/truth-or-dare/activity)
* [challenges](/microbit/lessons/truth-or-dare/challenges)
## Class
Year 7
## Prior learning/place of lesson in scheme of work
Learn how to use an if statement to run code run code depending on whether a condition is true or not. We will be learning how to create the game truth or dare using input an if statement, a local variable, math random as well as simple commands, such as show string and show LEDs.
## Documentation
* **show LEDs** : [read more...](/microbit/reference/basic/show-leds)
* **on button pressed** : [read more...](/microbit/reference/input/on-button-pressed)
* **local variable** : [read more...](/microbit/reference/variables/var)
* **assignment operator** : [read more...](/microbit/reference/variables/assign)
* **pick random** : [read more...](/microbit/blocks/math)
* **If** : [read more...](/microbit/blocks/if)
* **show string** : [read more...](/microbit/reference/basic/show-string)
```docs
basic.showLeds(`
. . . . .
. . . . .
. . # . .
. . . . .
. . . . .
`)
input.onButtonPressed(Button.A, () => {
})
let x = 0
Math.random(3)
if (true) {
}
basic.showString("Hello!")
```
## Objectives
@ -40,42 +48,3 @@ Learn how to use an if statement to run code run code depending on whether a con
* learn how to return a random number
* learn how to conditionally run code depending on whether a condition is true or not
* learn how to show a string on the LED screen one character at a time (scrolling from left to right)
## Progression Pathways / Computational Thinking Framework
#### Algorithms
* Designs solutions (algorithms) that use repetition and two-way selection, ie if, then and else.(AL)
* Uses diagrams to express solutions.(AB)
* Uses logical reasoning to predict outputs, showing an awareness of inputs (AL)
* Designs solutions by decomposing a problem and creates a sub-solution for each of these parts. (DE) (AL) (AB)
* Represents solutions using a structured notation (AL) (AB)
#### Programming & Development
* Creates programs that implement algorithms to achieve given goals (AL)
* Declares and assigns variables(AB)
* Understands the difference between, and appropriately uses if and if, then and else statements(AL)
* Uses a range of operators and expressions e.g. Boolean, and applies them in the context of program control. (AL)
* Selects the appropriate data types(AL) (AB
#### Hardware & Processing
* Knows that computers collect data from various input devices, including sensors and application software (AB)
Computational Thinking Concept: AB = Abstraction; DE = Decomposition; AL = Algorithmic Thinking; EV = Evaluation; GE = Generalisation
## Activity
* time: 20 min.
* [activity](/microbit/lessons/truth-or-dare/activity)
## Extended Activity
* time: 20 min.
* [challenges](/microbit/lessons/truth-or-dare/challenges)
## Homework
* Extended Activity: [challenges](/microbit/lessons/truth-or-dare/challenges)

View File

@ -13,22 +13,24 @@ Acceleration
* [activity](/microbit/lessons/zoomer/activity)
* [challenges](/microbit/lessons/zoomer/challenges)
## Class
Year 7
## Prior learning/place of lesson in scheme of work
Learn how to get the **acceleration**, `acceleration` in one of three specified dimensions. We will be learning how to get the acceleration using a forever loop, local variables, input on button pressed, as well as simple commands, such as show number and pause.
## Documentation
* **forever** : [read more...](/microbit/reference/basic/forever)
* **local variable** : [read more...](/microbit/reference/variables/var)
* **acceleration** : [read more...](/microbit/reference/input/acceleration)
* **if** : [read more...](/microbit/reference/logic/if)
* **button is pressed** : [read more...](/microbit/reference/input/button-is-pressed)
* **show number** : [read more...](/microbit/reference/basic/show-number)
```docs
basic.forever(() => {
})
let x = 0
input.acceleration(Dimension.X)
if (true) {
}
input.buttonIsPressed(Button.A)
basic.showNumber(0)
```
## Objectives
@ -40,45 +42,3 @@ Learn how to get the **acceleration**, `acceleration` in one of three specified
* learn how to get the state of an input button
* learn how to show a number on the LED screen
## Progression Pathways / Computational Thinking Framework
#### Algorithms
* Designs solutions (algorithms) that use repetition and two-way selection, ie if, then and else.(AL)
* Uses logical reasoning to predict outputs, showing an awareness of inputs (AL)
* Represents solutions using a structured notation (AL) (AB)
* Can identify similarities and differences in situations and can use these to solve problems (pattern recognition)(GE)
#### Programming & Development
* Creates programs that implement algorithms to achieve given goals (AL)
* Declares and assigns variables(AB)
* Understands the difference between, and appropriately uses if and if, then and else statements(AL)
* Uses a variable and relational operators within a loop to govern termination (AL) (GE)
#### Communication Networks
* Demonstrates responsible use of technologies and online services, and knows a range of ways to report concerns Understands how search engines rank search results (AL)
#### Information Technology
* Collects, organizes, and presents data and information in digital content (AB)
* Makes appropriate improvements to solutions based on feedback received, and can comment on the success of the solution (EV)
* Recognises ethical issues surrounding the application of information technology beyond school.
Computational Thinking Concept: AB = Abstraction; DE = Decomposition; AL = Algorithmic Thinking; EV = Evaluation; GE = Generalisation
## Activity
* time: 20 min.
* [activity](/microbit/lessons/zoomer/activity)
## Extended Activity
* time: 20 min.
* [challenges](/microbit/lessons/zoomer/challenges)
## Homework
* Extended Activity: [challenges](/microbit/lessons/zoomer/challenges)