updated lessons
This commit is contained in:
parent
0e816f2398
commit
40405b7e7b
@ -15,9 +15,6 @@ Show String
|
|||||||
* [quiz answers](/microbit/lessons/answering-machine/quiz-answers)
|
* [quiz answers](/microbit/lessons/answering-machine/quiz-answers)
|
||||||
* [challenges](/microbit/lessons/answering-machine/challenges)
|
* [challenges](/microbit/lessons/answering-machine/challenges)
|
||||||
|
|
||||||
## Class
|
|
||||||
|
|
||||||
Year 7
|
|
||||||
|
|
||||||
## Prior learning / place of lesson in scheme of work
|
## Prior learning / place of lesson in scheme of work
|
||||||
|
|
||||||
@ -25,7 +22,16 @@ Learn how to creating a message with a **string**, `show string` to write your m
|
|||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
|
|
||||||
* **show string** : [read more...](/microbit/reference/basic/show-string)
|
```docs
|
||||||
|
basic.showString('Hi!')
|
||||||
|
|
||||||
|
input.onButtonPressed(Button.A, () => {
|
||||||
|
|
||||||
|
})
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
* **on button pressed** : [read more...](/microbit/reference/input/on-button-pressed)
|
* **on button pressed** : [read more...](/microbit/reference/input/on-button-pressed)
|
||||||
|
|
||||||
## Objectives
|
## Objectives
|
||||||
@ -33,48 +39,3 @@ Learn how to creating a message with a **string**, `show string` to write your m
|
|||||||
* learn how to show a string on the LED screen one character at a time
|
* learn how to show a string on the LED screen one character at a time
|
||||||
* learn how to use to register an event handler that will execute whenever an input button is pressed
|
* learn how to use to register an event handler that will execute whenever an input button is pressed
|
||||||
|
|
||||||
## Progression Pathways / Computational Thinking Framework
|
|
||||||
|
|
||||||
#### Algorithms
|
|
||||||
|
|
||||||
* Uses diagrams to express solutions.(AB)
|
|
||||||
* Uses logical reasoning to predict outputs, showing an awareness of inputs (AL)
|
|
||||||
* Represents solutions using a structured notation (AL) (AB)
|
|
||||||
|
|
||||||
#### 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 (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)
|
|
||||||
* Uses criteria to evaluate the quality of solutions, can identify improvements making some refinements to the solution, and future solutions (EV)
|
|
||||||
* Evaluates the appropriatness of digital devices, internet services and application software to achieve given goals (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/answering-machine/activity)
|
|
||||||
* [quiz](/microbit/lessons/answering-machine/quiz)
|
|
||||||
|
|
||||||
## Extended Activity
|
|
||||||
|
|
||||||
* time: 20 min.
|
|
||||||
* [challenges](/microbit/lessons/answering-machine/challenges)
|
|
||||||
|
|
||||||
## Homework
|
|
||||||
|
|
||||||
* Extended Activity: [challenges](/microbit/lessons/answering-machine/challenges)
|
|
||||||
|
|
||||||
|
@ -10,10 +10,6 @@ Music
|
|||||||
|
|
||||||
* [activity](/microbit/lessons/banana-keyboard/activity)
|
* [activity](/microbit/lessons/banana-keyboard/activity)
|
||||||
|
|
||||||
## Class
|
|
||||||
|
|
||||||
Year 7
|
|
||||||
|
|
||||||
## Prior learning/place of lesson in scheme of work
|
## Prior learning/place of lesson in scheme of work
|
||||||
|
|
||||||
Learn how to convert your BBC micro:bit into a music player using pins P0 and GND, earphones (or speakers), as well as crocodile clips (or spring clips). The connect fruit using pins P1 and GND.
|
Learn how to convert your BBC micro:bit into a music player using pins P0 and GND, earphones (or speakers), as well as crocodile clips (or spring clips). The connect fruit using pins P1 and GND.
|
||||||
|
@ -11,9 +11,6 @@ Music
|
|||||||
* [activity](/microbit/lessons/beatbox/activity)
|
* [activity](/microbit/lessons/beatbox/activity)
|
||||||
* [challenges](/microbit/lessons/beatbox/challenges)
|
* [challenges](/microbit/lessons/beatbox/challenges)
|
||||||
|
|
||||||
## Class
|
|
||||||
|
|
||||||
Year 7
|
|
||||||
|
|
||||||
## Prior learning/place of lesson in scheme of work
|
## Prior learning/place of lesson in scheme of work
|
||||||
|
|
||||||
@ -23,40 +20,3 @@ Learn how to make a beatbox music player using pins P1 and P2. We will be learni
|
|||||||
|
|
||||||
* learn how to code music on the BBC micro:bit
|
* learn how to code music on the BBC micro:bit
|
||||||
|
|
||||||
## Progression Pathways / Computational Thinking Framework
|
|
||||||
|
|
||||||
#### Algorithms
|
|
||||||
|
|
||||||
* Uses diagrams to express solutions.(AB)
|
|
||||||
* 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
|
|
||||||
|
|
||||||
#### 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/beatbox/activity)
|
|
||||||
|
|
||||||
## Extended Activity
|
|
||||||
|
|
||||||
* time: 20 min.
|
|
||||||
* [challenges](/microbit/lessons/beatbox/challenges)
|
|
||||||
|
|
||||||
## Homework
|
|
||||||
|
|
||||||
* Extended Activity: [challenges](/microbit/lessons/beatbox/challenges)
|
|
||||||
|
|
||||||
|
@ -13,9 +13,6 @@ Show LEDs
|
|||||||
* [activity](/microbit/lessons/beautiful-image/activity)
|
* [activity](/microbit/lessons/beautiful-image/activity)
|
||||||
* [challenges](/microbit/lessons/beautiful-image/challenges)
|
* [challenges](/microbit/lessons/beautiful-image/challenges)
|
||||||
|
|
||||||
## Class
|
|
||||||
|
|
||||||
Year 7
|
|
||||||
|
|
||||||
## Prior learning/place of lesson in scheme of work
|
## Prior learning/place of lesson in scheme of work
|
||||||
|
|
||||||
@ -23,50 +20,22 @@ Learn how to **show LEDs**, to show an image on the BBC micro:bit's LED screen.
|
|||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
|
|
||||||
* **show LEDs** : [read more...](/microbit/reference/basic/show-leds)
|
```docs
|
||||||
* **pause** : [read more...](/microbit/reference/basic/pause)
|
basic.showLeds(`
|
||||||
|
. . . . .
|
||||||
|
. . . . .
|
||||||
|
. . # . .
|
||||||
|
. . . . .
|
||||||
|
. . . . .
|
||||||
|
`)
|
||||||
|
|
||||||
|
|
||||||
|
basic.pause(100)
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
## Objectives
|
## Objectives
|
||||||
|
|
||||||
* learn how to display an image on the micro:bit's LED screen
|
* learn how to display an image on the micro:bit's LED screen
|
||||||
* learn how to pause your code for the specified number of milliseconds
|
* learn how to pause your code for the specified number of milliseconds
|
||||||
|
|
||||||
## 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)
|
|
||||||
* Declares and assigns variables(AB)
|
|
||||||
* 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)
|
|
||||||
|
|
||||||
Computational Thinking Concept: AB = Abstraction; DE = Decomposition; AL = Algorithmic Thinking; EV = Evaluation; GE = Generalisation
|
|
||||||
|
|
||||||
## Activity
|
|
||||||
|
|
||||||
* time: 20 min.
|
|
||||||
* [activity](/microbit/lessons/beautiful-image/activity)
|
|
||||||
|
|
||||||
## Extended Activity
|
|
||||||
|
|
||||||
* time: 20 min.
|
|
||||||
* [challenges](/microbit/lessons/beautiful-image/challenges)
|
|
||||||
|
|
||||||
## Homework
|
|
||||||
|
|
||||||
* Extended Activity: [challenges](/microbit/lessons/beautiful-image/challenges)
|
|
||||||
|
|
||||||
|
@ -15,36 +15,28 @@ Plot
|
|||||||
* [quiz answers](/microbit/lessons/blink/quiz-answers)
|
* [quiz answers](/microbit/lessons/blink/quiz-answers)
|
||||||
* [challenges](/microbit/lessons/blink/challenges)
|
* [challenges](/microbit/lessons/blink/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 control a blinking LED. We will be learning how to create a blinking app using forever as well as simple commands, such as plot, unplot and pause.
|
Learn how to control a blinking LED. We will be learning how to create a blinking app using forever as well as simple commands, such as plot, unplot and pause.
|
||||||
|
|
||||||
## What the teacher needs to know / QuickStart Computing Glossary
|
|
||||||
|
|
||||||
**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.
|
|
||||||
|
|
||||||
**Algorithm:** An unambiguous set of rules or a precise step-by-step guide to solve a problem or achieve a particular objective. The guided tutorial follows a algorithm and is a precise step-by-step guide to solve a problem
|
|
||||||
|
|
||||||
**Loop:** A block of code repeated automatically under the program’s control. The blink program introduces Forever. The forever loop repeats code in the background forever.
|
|
||||||
|
|
||||||
**Command:** An instruction for the computer to execute, written in a particular programming language.
|
|
||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
|
|
||||||
* **plot**: [read more...](/microbit/reference/led/plot)
|
```docs
|
||||||
* **unplot**: [read more...](/microbit/reference/led/unplot)
|
led.plot(0, 0)
|
||||||
* **pause**: [read more...](/microbit/reference/basic/pause)
|
|
||||||
* **forever**: [read more...](/microbit/reference/basic/forever)
|
|
||||||
|
|
||||||
## Resources
|
led.unplot(0, 0)
|
||||||
|
|
||||||
|
basic.pause(100)
|
||||||
|
|
||||||
|
basic.forever(() => {
|
||||||
|
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
* Activity: [activity](/microbit/lessons/blink/activity)
|
|
||||||
* Activity: [quiz](/microbit/lessons/blink/quiz)
|
|
||||||
* Extended Activity: [challenges](/microbit/lessons/blink/challenges)
|
|
||||||
|
|
||||||
## Objectives
|
## Objectives
|
||||||
|
|
||||||
@ -52,41 +44,3 @@ Learn how to control a blinking LED. We will be learning how to create a blinkin
|
|||||||
* learn how to turn off LED lights on the LED screen
|
* learn how to turn off LED lights on the LED screen
|
||||||
* learn how to pause program execution for the specified number of milliseconds
|
* learn how to pause program execution 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)
|
|
||||||
|
|
||||||
#### Programming & Development
|
|
||||||
|
|
||||||
* Creates programs that implement algorithms to achieve given goals. (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: 20 min.
|
|
||||||
* [activity](/microbit/lessons/blink/activity)
|
|
||||||
* [quiz](/microbit/lessons/blink/quiz)
|
|
||||||
* [quiz answers](/microbit/lessons/blink/quiz-answers)
|
|
||||||
|
|
||||||
## Extended Activity
|
|
||||||
|
|
||||||
* time: 20 min.
|
|
||||||
* [challenges](/microbit/lessons/blink/challenges)
|
|
||||||
|
|
||||||
## Homework
|
|
||||||
|
|
||||||
* Extended Activity: [challenges](/microbit/lessons/blink/challenges)
|
|
||||||
|
|
||||||
|
@ -20,12 +20,24 @@ Learn the functions of **on data received**, **send number** and **receive numbe
|
|||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
|
|
||||||
* **forever** : [read more...](/microbit/reference/basic/forever)
|
```docs
|
||||||
* **acceleration** : [read more...](/microbit/reference/input/acceleration)
|
|
||||||
* **plot bar graph** : [read more...](/microbit/reference/led/plot-bar-graph)
|
basic.showNumber(0)
|
||||||
* **on data received** : [read more...](/microbit/reference/radio/on-data-received)
|
|
||||||
* **send number** : [read more...](/microbit/reference/radio/send-number)
|
input.acceleration(Dimension.X)
|
||||||
* **receive number** : [read more...](/microbit/reference/radio/receive-number)
|
|
||||||
|
led.plotBarGraph(0, 1023)
|
||||||
|
|
||||||
|
radio.onDataReceived(() => {
|
||||||
|
|
||||||
|
|
||||||
|
})
|
||||||
|
|
||||||
|
radio.sendNumber(0)
|
||||||
|
|
||||||
|
radio.receiveNumber()
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
## Objectives
|
## Objectives
|
||||||
|
|
||||||
@ -35,24 +47,3 @@ Learn the functions of **on data received**, **send number** and **receive numbe
|
|||||||
* learn how to register code to run when a packet is received over radio
|
* learn how to register code to run when a packet is received over radio
|
||||||
* learn how to broadcast a number data packet to other micro:bits connected via radio
|
* learn how to broadcast a number data packet to other micro:bits connected via radio
|
||||||
* learn how to read the next radio packet as a number data packet
|
* learn how to read the next radio packet as a number data packet
|
||||||
|
|
||||||
## Progression Pathways / Computational Thinking Framework
|
|
||||||
|
|
||||||
#### Algorithms
|
|
||||||
|
|
||||||
* 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)
|
|
||||||
* Uses a variable and relational operators within a loop to govern termination (AL) (GE)
|
|
||||||
|
|
||||||
Computational Thinking Concept: AB = Abstraction; DE = Decomposition; AL = Algorithmic Thinking; EV = Evaluation; GE = Generalisation
|
|
||||||
|
|
||||||
## Activity
|
|
||||||
|
|
||||||
* time: 20 min.
|
|
||||||
* [activity](/microbit/lessons/charting/activity)
|
|
||||||
|
|
||||||
|
@ -13,9 +13,6 @@ If (Conditionals)
|
|||||||
* [activity](/microbit/lessons/compass/activity)
|
* [activity](/microbit/lessons/compass/activity)
|
||||||
* [challenges](/microbit/lessons/compass/challenges)
|
* [challenges](/microbit/lessons/compass/challenges)
|
||||||
|
|
||||||
## Class
|
|
||||||
|
|
||||||
Year 7
|
|
||||||
|
|
||||||
## Prior learning/place of lesson in scheme of work
|
## Prior learning/place of lesson in scheme of work
|
||||||
|
|
||||||
@ -23,14 +20,25 @@ Learn how to use an if statements to run code run code depending on whether a co
|
|||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
|
|
||||||
* **Compass Heading** : [read more...](/microbit/reference/input/compass-heading)
|
```docs
|
||||||
* **Forever** : [read more...](/microbit/reference/basic/forever)
|
input.compassHeading()
|
||||||
* **Variables** : [read more...](/microbit/reference/variables/var)
|
|
||||||
* **Assignment Operator** : [read more...](/microbit/reference/variables/assign)
|
basic.forever(() => {})
|
||||||
* **If** : [read more...](/microbit/reference/logic/if)
|
|
||||||
* **Comparison Operator** : [read more...](/microbit/reference/types/number)
|
let x = 0
|
||||||
* **Show String** : [read more...](/microbit/reference/basic/show-string)
|
|
||||||
* **Show LEDs** : [read more...](/microbit/reference/basic/show-leds)
|
if (true) {}
|
||||||
|
|
||||||
|
basic.showString("Hello!")
|
||||||
|
|
||||||
|
basic.showLeds(`
|
||||||
|
. . . . .
|
||||||
|
. . . . .
|
||||||
|
. . # . .
|
||||||
|
. . . . .
|
||||||
|
. . . . .
|
||||||
|
`)
|
||||||
|
```
|
||||||
|
|
||||||
## Objectives
|
## Objectives
|
||||||
|
|
||||||
@ -41,57 +49,3 @@ Learn how to use an if statements to run code run code depending on whether a co
|
|||||||
* learn how to return a random number
|
* 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 conditionally run code depending on whether a condition is true or not
|
||||||
* learn how to show an image on the LED screen
|
* 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 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
|
|
||||||
|
|
||||||
#### 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
|
|
||||||
|
|
||||||
* 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)
|
|
||||||
* 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/compass/activity)
|
|
||||||
|
|
||||||
## Extended Activity
|
|
||||||
|
|
||||||
* time: 20 min.
|
|
||||||
* [challenges](/microbit/lessons/compass/challenges)
|
|
||||||
|
|
||||||
## Homework
|
|
||||||
|
|
||||||
* Extended Activity: [challenges](/microbit/lessons/compass/challenges)
|
|
||||||
|
|
||||||
|
@ -13,16 +13,38 @@ Variables
|
|||||||
* [activity](/microbit/lessons/counter/activity)
|
* [activity](/microbit/lessons/counter/activity)
|
||||||
* [challenges](/microbit/lessons/counter/challenges)
|
* [challenges](/microbit/lessons/counter/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 creating a **variable** to keep track of the current count. We will be learning how to create a counter app using a variable as well as simple commands, such as on button pressed, and show number.
|
Learn how to creating a **variable** to keep track of the current count. We will be learning how to create a counter app using a variable as well as simple commands, such as on button pressed, and show number.
|
||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
|
|
||||||
|
```docs
|
||||||
|
input.compassHeading()
|
||||||
|
|
||||||
|
basic.forever(() => {
|
||||||
|
|
||||||
|
|
||||||
|
})
|
||||||
|
|
||||||
|
let x = 0
|
||||||
|
|
||||||
|
if (true) {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
basic.showString("Hello!")
|
||||||
|
|
||||||
|
basic.showLeds(`
|
||||||
|
. . . . .
|
||||||
|
. . . . .
|
||||||
|
. . # . .
|
||||||
|
. . . . .
|
||||||
|
. . . . .
|
||||||
|
`)
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
* **variable**: [read more...](/microbit/reference/variables/var)
|
* **variable**: [read more...](/microbit/reference/variables/var)
|
||||||
* **arithmetic operators**: [read more...](/microbit/reference/types/number)
|
* **arithmetic operators**: [read more...](/microbit/reference/types/number)
|
||||||
* **on button pressed** : [read more...](/microbit/reference/input/on-button-pressed)
|
* **on button pressed** : [read more...](/microbit/reference/input/on-button-pressed)
|
||||||
@ -35,41 +57,3 @@ Learn how to creating a **variable** to keep track of the current count. We will
|
|||||||
* learn how to run code when an input button is pressed
|
* learn how to run code when an input button is pressed
|
||||||
* learn how to show a number on the LED screen, one digit at a time (scrolling from left to right)
|
* learn how to show a number on the LED screen, one digit at a time (scrolling from left to right)
|
||||||
|
|
||||||
## 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/counter/activity)
|
|
||||||
|
|
||||||
## Extended Activity
|
|
||||||
|
|
||||||
* time: 20 min.
|
|
||||||
* [challenges](/microbit/lessons/counter/challenges)
|
|
||||||
|
|
||||||
## Homework
|
|
||||||
|
|
||||||
* Extended Activity: [challenges](/microbit/lessons/counter/challenges)
|
|
||||||
|
|
||||||
|
@ -13,9 +13,6 @@ If (Conditionals)
|
|||||||
* [activity](/microbit/lessons/die-roll/activity)
|
* [activity](/microbit/lessons/die-roll/activity)
|
||||||
* [challenges](/microbit/lessons/die-roll/challenges)
|
* [challenges](/microbit/lessons/die-roll/challenges)
|
||||||
|
|
||||||
## Class
|
|
||||||
|
|
||||||
Year 7
|
|
||||||
|
|
||||||
## Prior learning/place of lesson in scheme of work
|
## Prior learning/place of lesson in scheme of work
|
||||||
|
|
||||||
@ -23,12 +20,33 @@ Learn how to use an if statements to run code run code depending on whether a co
|
|||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
|
|
||||||
* **Variables** : [read more...](/microbit/reference/variables/var)
|
```docs
|
||||||
* **If** : [read more...](/microbit/blocks/if)
|
|
||||||
* **On Shake** : [read more...](/microbit/reference/on-gesture)
|
input.onGesture(Gesture.Shake, () => {
|
||||||
* **Assignment Operator** : [read more...](/microbit/reference/variables/assign)
|
|
||||||
* **Pick Random** : [read more...](/microbit/blocks/math)
|
})
|
||||||
* **Show LEDs** : [read more...](/microbit/reference/basic/show-leds)
|
|
||||||
|
|
||||||
|
|
||||||
|
let x = 0
|
||||||
|
x = Math.random(3)
|
||||||
|
|
||||||
|
if (true) {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
basic.showLeds(`
|
||||||
|
. . . . .
|
||||||
|
. . . . .
|
||||||
|
. . # . .
|
||||||
|
. . . . .
|
||||||
|
. . . . .
|
||||||
|
`)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
## Objectives
|
## Objectives
|
||||||
|
|
||||||
@ -39,57 +57,3 @@ Learn how to use an if statements to run code run code depending on whether a co
|
|||||||
* learn how to return a random number
|
* 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 conditionally run code depending on whether a condition is true or not
|
||||||
* learn how to show an image on the LED screen
|
* 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 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
|
|
||||||
|
|
||||||
#### 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
|
|
||||||
|
|
||||||
* 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)
|
|
||||||
* 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/die-roll/activity)
|
|
||||||
|
|
||||||
## Extended Activity
|
|
||||||
|
|
||||||
* time: 20 min.
|
|
||||||
* [challenges](/microbit/lessons/die-roll/challenges)
|
|
||||||
|
|
||||||
## Homework
|
|
||||||
|
|
||||||
* Extended Activity: [challenges](/microbit/lessons/die-roll/challenges)
|
|
||||||
|
|
||||||
|
@ -13,22 +13,28 @@ While Loop
|
|||||||
* [activity](/microbit/lessons/digi-yoyo/activity)
|
* [activity](/microbit/lessons/digi-yoyo/activity)
|
||||||
* [challenges](/microbit/lessons/digi-yoyo/challenges)
|
* [challenges](/microbit/lessons/digi-yoyo/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 creating a **while loop**, `while condition do` to repeat code while a condition is true. We will be learning how to create a digi yoyo app using a while loop, a variable, as well as basic commands, such as pause and show number.
|
Learn how to creating a **while loop**, `while condition do` to repeat code while a condition is true. We will be learning how to create a digi yoyo app using a while loop, a variable, as well as basic commands, such as pause and show number.
|
||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
|
|
||||||
* **variables** : [read more...](/microbit/reference/variables/var)
|
```docs
|
||||||
* **assignment operator** : [read more...](/microbit/reference/variables/assign)
|
|
||||||
* **while loop** : [read more...](/microbit/reference/loops/while)
|
let x = 0
|
||||||
* **relational operator ** : [read more...](/microbit/reference/types/number)
|
|
||||||
* **pause** : [read more...](/microbit/reference/basic/pause)
|
basic.showNumber(0)
|
||||||
* **show number** : [read more...](/microbit/reference/basic/show-number)
|
|
||||||
|
|
||||||
|
while (true) {
|
||||||
|
|
||||||
|
basic.pause(20)
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
## Objectives
|
## Objectives
|
||||||
|
|
||||||
@ -39,50 +45,3 @@ Learn how to creating a **while loop**, `while condition do` to repeat code whil
|
|||||||
* learn how to pause your code for the specified number of milliseconds
|
* learn how to pause your code for the specified number of milliseconds
|
||||||
* learn how to show a number on the LED screen
|
* learn how to show a number on the LED screen
|
||||||
|
|
||||||
## Progression Pathways / Computational Thinking Framework
|
|
||||||
|
|
||||||
#### Algorithms
|
|
||||||
|
|
||||||
* Uses diagrams to express solutions.(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)
|
|
||||||
* 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)
|
|
||||||
* Uses a variable and relational operators within a loop to govern termination (AL) (GE)
|
|
||||||
* Selects the appropriate data types(AL) (AB
|
|
||||||
|
|
||||||
#### Data & Data Representation
|
|
||||||
|
|
||||||
* Uses filters or can perform single criteria searches for information.(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)
|
|
||||||
* 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/digi-yoyo/activity)
|
|
||||||
|
|
||||||
## Extended Activity
|
|
||||||
|
|
||||||
* time: 20 min.
|
|
||||||
* [challenges](/microbit/lessons/digi-yoyo/challenges)
|
|
||||||
|
|
||||||
## Homework
|
|
||||||
|
|
||||||
* Extended Activity: [challenges](/microbit/lessons/digi-yoyo/challenges)
|
|
||||||
|
|
||||||
|
@ -14,21 +14,32 @@ Pause
|
|||||||
* [quiz](/microbit/lessons/flashing-heart/quiz)
|
* [quiz](/microbit/lessons/flashing-heart/quiz)
|
||||||
* [quiz answers](/microbit/lessons/flashing-heart/quiz-answers)
|
* [quiz answers](/microbit/lessons/flashing-heart/quiz-answers)
|
||||||
* [challenges](/microbit/lessons/flashing-heart/challenges)
|
* [challenges](/microbit/lessons/flashing-heart/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` by showing an image on the LED screen. We will be learning how to create a blinking app using a forever loop as well as simple commands, such as show LEDs, pause, and clear screen.
|
Learn how to `show LEDs` by showing an image on the LED screen. We will be learning how to create a blinking app using a forever loop as well as simple commands, such as show LEDs, pause, and clear screen.
|
||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
|
|
||||||
* **forever**: [read more...](/microbit/reference/basic/forever)
|
```docs
|
||||||
* **show LEDs** : [read more...](/microbit/reference/basic/show-leds)
|
basic.forever(() => {
|
||||||
* **pause**: [read more...](/microbit/reference/basic/pause)
|
|
||||||
* **clear screen**: [read more...](/microbit/reference/basic/clear-screen)
|
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
|
basic.showLeds(`
|
||||||
|
. . . . .
|
||||||
|
. . . . .
|
||||||
|
. . # . .
|
||||||
|
. . . . .
|
||||||
|
. . . . .
|
||||||
|
`)
|
||||||
|
|
||||||
|
basic.pause(100)
|
||||||
|
|
||||||
|
basic.clearScreen()
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
## Objectives
|
## Objectives
|
||||||
|
|
||||||
@ -36,43 +47,3 @@ Learn how to `show LEDs` by showing an image on the LED screen. We will be learn
|
|||||||
* learn how to show LEDs on the LED screen
|
* learn how to show LEDs on the LED screen
|
||||||
* learn how to pause your code for the specified number of milliseconds
|
* learn how to pause your code for the specified number of milliseconds
|
||||||
* learn how to turn off all the LED lights on the LED screen
|
* learn how to turn off all the LED lights on the LED screen
|
||||||
|
|
||||||
## 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
|
|
||||||
|
|
||||||
## Exercise
|
|
||||||
|
|
||||||
* time: 20 min.
|
|
||||||
* [activity](/microbit/lessons/flashing-heart/activity)
|
|
||||||
* [quiz](/microbit/lessons/flashing-heart/quiz)
|
|
||||||
|
|
||||||
## Extended Activity
|
|
||||||
|
|
||||||
* time: 20 min.
|
|
||||||
* [challenges](/microbit/lessons/flashing-heart/challenges)
|
|
||||||
|
|
||||||
## Homework
|
|
||||||
|
|
||||||
* Extended Activity: [challenges](/microbit/lessons/flashing-heart/challenges)
|
|
||||||
|
|
||||||
|
@ -13,61 +13,25 @@ Game Library
|
|||||||
* [activity](/microbit/lessons/game-counter/activity)
|
* [activity](/microbit/lessons/game-counter/activity)
|
||||||
* [challenges](/microbit/lessons/game-counter/challenges)
|
* [challenges](/microbit/lessons/game-counter/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 create game blocks to keep track of the current score. We will be learning how to create a game using the blocks called `add points to score`, `score` as well as simple commands such as on button pressed and show number.
|
Learn how to create game blocks to keep track of the current score. We will be learning how to create a game using the blocks called `add points to score`, `score` as well as simple commands such as on button pressed and show number.
|
||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
|
|
||||||
* **game library**: [read more...](/microbit/js/game-library)
|
```docs
|
||||||
* **on button pressed** : [read more...](/microbit/reference/input/on-button-pressed)
|
game.addScore(1)
|
||||||
* **show number** : [read more...](/microbit/reference/basic/show-number)
|
|
||||||
|
input.onButtonPressed(Button.A, () => {
|
||||||
|
|
||||||
|
})
|
||||||
|
|
||||||
|
basic.showNumber(0)
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
## Objectives
|
## Objectives
|
||||||
|
|
||||||
* learn how arithmetic operators operate on numbers and return a number
|
* learn how arithmetic operators operate on numbers and return a number
|
||||||
* learn how to run code when an input button is pressed
|
* learn how to run code when an input button is pressed
|
||||||
* learn how to show a score on the LED screen
|
* learn how to show a score on the LED screen
|
||||||
|
|
||||||
## 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/game-counter/activity)
|
|
||||||
|
|
||||||
## Extended Activity
|
|
||||||
|
|
||||||
* time: 20 min.
|
|
||||||
* [challenges](/microbit/lessons/game-counter/challenges)
|
|
||||||
|
|
||||||
## Homework
|
|
||||||
|
|
||||||
* Extended Activity: [challenges](/microbit/lessons/game-counter/challenges)
|
|
||||||
|
|
||||||
|
@ -11,67 +11,26 @@ Game Library
|
|||||||
* [activity](/microbit/lessons/game-of-chance/activity)
|
* [activity](/microbit/lessons/game-of-chance/activity)
|
||||||
* [challenges](/microbit/lessons/game-of-chance/challenges)
|
* [challenges](/microbit/lessons/game-of-chance/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 creating a message with a **game over** to write your message. We will be learning how to create a message using show string and on button pressed.
|
Learn how to creating a message with a **game over** to write your message. We will be learning how to create a message using show string and on button pressed.
|
||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
|
|
||||||
* **game library** : [read more...](/microbit/js/game-library)
|
|
||||||
* **show string** : [read more...](/microbit/reference/basic/show-string)
|
```docs
|
||||||
* **on button pressed** : [read more...](/microbit/reference/input/on-button-pressed)
|
game.gameOver()
|
||||||
|
|
||||||
|
basic.showString("Hello!")
|
||||||
|
|
||||||
|
input.onButtonPressed(Button.A, () => {
|
||||||
|
|
||||||
|
})
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
## Objectives
|
## Objectives
|
||||||
|
|
||||||
* learn how to use the game library
|
* learn how to use the game library
|
||||||
* learn how to show a string on the LED screen one character at a time
|
* learn how to show a string on the LED screen one character at a time
|
||||||
* learn how to use to register an event handler that will execute whenever an input button is pressed
|
* learn how to use to register an event handler that will execute whenever an input button is pressed
|
||||||
|
|
||||||
## Progression Pathways / Computational Thinking Framework
|
|
||||||
|
|
||||||
#### Algorithms
|
|
||||||
|
|
||||||
* Uses diagrams to express solutions.(AB)
|
|
||||||
* Uses logical reasoning to predict outputs, showing an awareness of inputs (AL)
|
|
||||||
* Represents solutions using a structured notation (AL) (AB)
|
|
||||||
|
|
||||||
#### 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 (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)
|
|
||||||
* Uses criteria to evaluate the quality of solutions, can identify improvements making some refinements to the solution, and future solutions (EV)
|
|
||||||
* Evaluates the appropriatness of digital devices, internet services and application software to achieve given goals (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/game-of-chance/activity)
|
|
||||||
|
|
||||||
## Extended Activity
|
|
||||||
|
|
||||||
* time: 20 min.
|
|
||||||
* [challenges](/microbit/lessons/game-of-chance/challenges)
|
|
||||||
|
|
||||||
## Homework
|
|
||||||
|
|
||||||
* Extended Activity: [challenges](/microbit/lessons/game-of-chance/challenges)
|
|
||||||
|
|
||||||
|
@ -21,12 +21,30 @@ Learn how to get the acceleration **acceleration**, `acceleration` value (g-forc
|
|||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
|
|
||||||
* **forever** : [read more...](/microbit/reference/basic/forever)
|
```docs
|
||||||
* **local variable** : [read more...](/microbit/reference/variables/var)
|
|
||||||
* **acceleration** : [read more...](/microbit/reference/input/acceleration)
|
basic.forever(() => {
|
||||||
* **absolute value** : [read more...](/microbit/js/math)
|
|
||||||
* **set brightness** : [read more...](/microbit/reference/led/set-brightness)
|
|
||||||
* **show LEDs** : [read more...](/microbit/reference/basic/show-leds)
|
})
|
||||||
|
|
||||||
|
let x = 0
|
||||||
|
|
||||||
|
input.acceleration(Dimension.X)
|
||||||
|
|
||||||
|
Math.abs(0)
|
||||||
|
|
||||||
|
led.setBrightness(255)
|
||||||
|
|
||||||
|
basic.showLeds(`
|
||||||
|
. . . . .
|
||||||
|
. . . . .
|
||||||
|
. . # . .
|
||||||
|
. . . . .
|
||||||
|
. . . . .
|
||||||
|
`)
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
## Objectives
|
## Objectives
|
||||||
|
|
||||||
@ -37,49 +55,3 @@ Learn how to get the acceleration **acceleration**, `acceleration` value (g-forc
|
|||||||
* learn how to sets the brightness of the LED screen
|
* learn how to sets the brightness of the LED screen
|
||||||
* learn how to turn on all the LED lights on the LED screen
|
* learn how to turn on 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)
|
|
||||||
* 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)
|
|
||||||
* Uses a variable and relational operators within a loop to govern termination (AL) (GE)
|
|
||||||
* 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)
|
|
||||||
|
|
||||||
#### Hardware & Processing
|
|
||||||
|
|
||||||
* Knows that computers collect data from various input devices, including sensors and application software (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/glowing-pendulum/activity)
|
|
||||||
|
|
||||||
## Extended Activity
|
|
||||||
|
|
||||||
* time: 20 min.
|
|
||||||
* [challenges](/microbit/lessons/glowing-pendulum/challenges)
|
|
||||||
|
|
||||||
## Homework
|
|
||||||
|
|
||||||
* Extended Activity: [challenges](/microbit/lessons/glowing-pendulum/challenges)
|
|
||||||
|
|
||||||
|
@ -15,24 +15,10 @@ Fade Out
|
|||||||
* [quiz answers](/microbit/lessons/glowing-sword/quiz-answers)
|
* [quiz answers](/microbit/lessons/glowing-sword/quiz-answers)
|
||||||
* [challenges](/microbit/lessons/glowing-sword/challenges)
|
* [challenges](/microbit/lessons/glowing-sword/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 manipulate an image through **fade out**, `fade out` to gradually decrease the LED screen brightness until the LED lights are turned off. We will be learning how to fade an image using simple commands, such as image create image, image show image, LED fade out, basic pause, and fade in.
|
Learn how to manipulate an image through **fade out**, `fade out` to gradually decrease the LED screen brightness until the LED lights are turned off. We will be learning how to fade an image using simple commands, such as image create image, image show image, LED fade out, basic pause, and fade in.
|
||||||
|
|
||||||
## 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.
|
|
||||||
* Computational thinking: Thinking about systems or problems in a way that allows computer systems to be used to model or solve these.
|
|
||||||
* 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.
|
|
||||||
* Script: A computer program typically executed one line at a time through an interpreter, such as the instructions for a Scratch character.
|
|
||||||
* Sequence: To place program instructions in order, with each executed one after the other.
|
|
||||||
* 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
|
## Documentation
|
||||||
|
|
||||||
* **create image** : [read more...](/microbit/reference/images/create-image)
|
* **create image** : [read more...](/microbit/reference/images/create-image)
|
||||||
@ -41,57 +27,4 @@ Learn how to manipulate an image through **fade out**, `fade out` to gradually d
|
|||||||
* **pause** : [read more...](/microbit/reference/basic/pause)
|
* **pause** : [read more...](/microbit/reference/basic/pause)
|
||||||
* **fade in** : [read more...](/microbit/reference/led/fade-in)
|
* **fade in** : [read more...](/microbit/reference/led/fade-in)
|
||||||
|
|
||||||
## Resources
|
|
||||||
|
|
||||||
* Activity: [activity](/microbit/lessons/glowing-sword/activity)
|
|
||||||
* Activity: [quiz](/microbit/lessons/glowing-sword/quiz)
|
|
||||||
* Extended Activity: [challenges](/microbit/lessons/glowing-sword/challenges)
|
|
||||||
|
|
||||||
## Objectives
|
|
||||||
|
|
||||||
* learn how to plot an image
|
|
||||||
* learn how to gradually decrease the LED screen brightness until the LED lights are turned off
|
|
||||||
* pause your code for the specified number of milliseconds
|
|
||||||
* learn how to gradually increase the LED screen brightness until the LED lights are turned on
|
|
||||||
|
|
||||||
## Links to the National Curriculum Programmes of Study for Computing
|
|
||||||
|
|
||||||
## Progression Pathways / Computational Thinking Framework
|
|
||||||
|
|
||||||
#### Algorithms
|
|
||||||
|
|
||||||
* Uses diagrams to express solutions.(AB)
|
|
||||||
* 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)
|
|
||||||
|
|
||||||
#### 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/glowing-sword/activity)
|
|
||||||
* [quiz](/microbit/lessons/lucky-7/quiz)
|
|
||||||
|
|
||||||
## Extended Activity
|
|
||||||
|
|
||||||
* time: 20 min.
|
|
||||||
* [challenges](/microbit/lessons/glowing-sword/challenges)
|
|
||||||
|
|
||||||
## Homework
|
|
||||||
|
|
||||||
* Extended Activity: [challenges](/microbit/lessons/glowing-sword/challenges)
|
|
||||||
|
|
||||||
## Intended follow on
|
|
||||||
|
|
||||||
Publish script to the classroom.
|
|
||||||
|
|
||||||
|
@ -13,22 +13,29 @@ Math - Pick Random
|
|||||||
* [activity](/microbit/lessons/guess-the-number/activity)
|
* [activity](/microbit/lessons/guess-the-number/activity)
|
||||||
* [challenges](/microbit/lessons/guess-the-number/challenges)
|
* [challenges](/microbit/lessons/guess-the-number/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 create numbers randomly by using the input of the BBC micro:bit. We will be learning how to create random numbers with input using a local variable as well as simple commands, such as pick number and show number.
|
Learn how to create numbers randomly by using the input of the BBC micro:bit. We will be learning how to create random numbers with input using a local variable as well as simple commands, such as pick number and show number.
|
||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
|
|
||||||
* **on button pressed**: [read more...](/microbit/reference/input/on-button-pressed)
|
```docs
|
||||||
* **local variable **: [read more...](/microbit/reference/variables/var)
|
|
||||||
* **assignment operator**: [read more...](/microbit/reference/variables/assign)
|
input.onButtonPressed(Button.A, () => {
|
||||||
* **show number**: [read more...](/microbit/reference/basic/show-number)
|
|
||||||
* **pick number**: [read more...](/microbit/blocks/math)
|
|
||||||
* **clear screen**: [read more...](/microbit/reference/basic/clear-screen)
|
})
|
||||||
|
|
||||||
|
let x = 0
|
||||||
|
|
||||||
|
basic.showNumber(0)
|
||||||
|
|
||||||
|
Math.random(3)
|
||||||
|
|
||||||
|
basic.clearScreen()
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
## Objectives
|
## Objectives
|
||||||
|
|
||||||
@ -38,42 +45,3 @@ Learn how to create numbers randomly by using the input of the BBC micro:bit. We
|
|||||||
* learn how to returns a random number
|
* learn how to returns a random number
|
||||||
* learn how to show a number on the LED screen, one digit at a time (scrolling left to right)
|
* learn how to show a number on the LED screen, one digit at a time (scrolling left to right)
|
||||||
* learn how to turn off all the LED lights on the LED screen
|
* learn how to turn off all the LED lights on the LED screen
|
||||||
|
|
||||||
## 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/guess-the-number/activity)
|
|
||||||
|
|
||||||
## Extended Activity
|
|
||||||
|
|
||||||
* time: 20 min.
|
|
||||||
* [challenges](/microbit/lessons/guess-the-number/challenges)
|
|
||||||
|
|
||||||
## Homework
|
|
||||||
|
|
||||||
* Extended Activity: [challenges](/microbit/lessons/guess-the-number/challenges)
|
|
||||||
|
|
||||||
|
@ -11,10 +11,6 @@ Music
|
|||||||
* [activity](/microbit/lessons/happy-birthday/activity)
|
* [activity](/microbit/lessons/happy-birthday/activity)
|
||||||
* [challenges](/microbit/lessons/happy-birthday/challenges)
|
* [challenges](/microbit/lessons/happy-birthday/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 convert your BBC micro:bit into a music player using pins P0 and GND, earphones (or speakers), as well as crocodile clips (or spring clips). We will be learning how to code musical notes using simple commands such as play, keys, and notes.
|
Learn how to convert your BBC micro:bit into a music player using pins P0 and GND, earphones (or speakers), as well as crocodile clips (or spring clips). We will be learning how to code musical notes using simple commands such as play, keys, and notes.
|
||||||
@ -26,50 +22,7 @@ Learn how to convert your BBC micro:bit into a music player using pins P0 and GN
|
|||||||
* 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.
|
* 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.
|
* 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.
|
||||||
|
|
||||||
## Resources
|
|
||||||
|
|
||||||
* Activity: [activity](/microbit/lessons/happy-birthday/activity)
|
|
||||||
* Extended Activity: [challenges](/microbit/lessons/happy-birthday/challenges)
|
|
||||||
|
|
||||||
## Objectives
|
## Objectives
|
||||||
|
|
||||||
* learn how to code music on the BBC micro:bit
|
* learn how to code music on the BBC micro:bit
|
||||||
* learn how to setup the BBC micro:bit as a music player
|
* learn how to setup the BBC micro:bit as a music player
|
||||||
|
|
||||||
## Progression Pathways / Computational Thinking Framework
|
|
||||||
|
|
||||||
#### Algorithms
|
|
||||||
|
|
||||||
* Uses diagrams to express solutions.(AB)
|
|
||||||
* 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
|
|
||||||
|
|
||||||
#### 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/happy-birthday/activity)
|
|
||||||
|
|
||||||
## Extended Activity
|
|
||||||
|
|
||||||
* time: 20 min.
|
|
||||||
* [challenges](/microbit/lessons/happy-birthday/challenges)
|
|
||||||
|
|
||||||
## Homework
|
|
||||||
|
|
||||||
* Extended Activity: [challenges](/microbit/lessons/happy-birthday/challenges)
|
|
||||||
|
|
||||||
|
@ -10,10 +10,6 @@ Music
|
|||||||
|
|
||||||
* [activity](/microbit/lessons/light-beatbox/activity)
|
* [activity](/microbit/lessons/light-beatbox/activity)
|
||||||
|
|
||||||
## Class
|
|
||||||
|
|
||||||
Year 7
|
|
||||||
|
|
||||||
## Prior learning/place of lesson in scheme of work
|
## Prior learning/place of lesson in scheme of work
|
||||||
|
|
||||||
Learn how to make a light beatbox music player using the light sensor. We will be learning how to code musical notes using light level, a local variable, conditionals, on button pressed as well as simple commands such as ring tone and rest.
|
Learn how to make a light beatbox music player using the light sensor. We will be learning how to code musical notes using light level, a local variable, conditionals, on button pressed as well as simple commands such as ring tone and rest.
|
||||||
@ -23,17 +19,3 @@ Learn how to make a light beatbox music player using the light sensor. We will b
|
|||||||
* learn how to control the light sensor on the BBC micro:bit
|
* learn how to control the light sensor on the BBC micro:bit
|
||||||
* learn how to code music on the BBC micro:bit
|
* learn how to code music on the BBC micro:bit
|
||||||
|
|
||||||
## Progression Pathways / Computational Thinking Framework
|
|
||||||
|
|
||||||
#### Algorithms
|
|
||||||
|
|
||||||
* Uses diagrams to express solutions.(AB)
|
|
||||||
* 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
|
|
||||||
|
|
||||||
Computational Thinking Concept: AB = Abstraction; DE = Decomposition; AL = Algorithmic Thinking; EV = Evaluation; GE = Generalisation
|
|
||||||
|
|
||||||
|
@ -23,10 +23,15 @@ Learn how to control a blinking LED. We will be learning how to create a blinkin
|
|||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
|
|
||||||
* **for**: [read more...](/microbit/reference/loops/for)
|
```docs
|
||||||
* **show number**: [read more...](/microbit/reference/basic/show-number)
|
for (let i = 0; i < 5; i++) {
|
||||||
* **pause**: [read more...](/microbit/reference/basic/pause)
|
|
||||||
* **arithmetic operators**: [read more...](/microbit/reference/types/number)
|
}
|
||||||
|
basic.showNumber(0)
|
||||||
|
basic.pause(100)
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
## Objectives
|
## Objectives
|
||||||
|
|
||||||
@ -34,44 +39,3 @@ Learn how to control a blinking LED. We will be learning how to create a blinkin
|
|||||||
* learn how to show a number on the LED screen, one digit at a time (scrolling from left to right)
|
* learn how to show a number on the LED screen, one digit at a time (scrolling from left to right)
|
||||||
* learn how to pause program execution for the specified number of milliseconds
|
* learn how to pause program execution for the specified number of milliseconds
|
||||||
* learn how to arithmetic operators operate on numbers and return a number
|
* learn how to arithmetic operators operate on numbers and return a number
|
||||||
|
|
||||||
## 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/looper/activity)
|
|
||||||
|
|
||||||
## Extended Activity
|
|
||||||
|
|
||||||
* time: 20 min.
|
|
||||||
* [challenges](/microbit/lessons/looper/challenges)
|
|
||||||
|
|
||||||
## Homework
|
|
||||||
|
|
||||||
* Extended Activity: [challenges](/microbit/lessons/looper/challenges)
|
|
||||||
|
|
||||||
|
@ -15,103 +15,26 @@ On Pin Pressed
|
|||||||
* [quiz answers](/microbit/lessons/love-meter/quiz-answers)
|
* [quiz answers](/microbit/lessons/love-meter/quiz-answers)
|
||||||
* [challenges](/microbit/lessons/love-meter/challenges)
|
* [challenges](/microbit/lessons/love-meter/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 use the **pin pressed**, `on pin pressed` to run code when the user holds the GND pin with one hand, and presses pin 0 with the other hand, thus completing a circuit. We will be learning how to create a love meter using input on pin pressed, a local variable, math random, If (conditional) as well as simple commands, such as show number, pause, and show string.
|
Learn how to use the **pin pressed**, `on pin pressed` to run code when the user holds the GND pin with one hand, and presses pin 0 with the other hand, thus completing a circuit. We will be learning how to create a love meter using input on pin pressed, a local variable, math random, If (conditional) as well as simple commands, such as show number, pause, and show string.
|
||||||
|
|
||||||
## What the teacher needs to know/QuickStart Computing Glossary
|
|
||||||
|
|
||||||
* 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.
|
|
||||||
* Script: A computer program typically executed one line at a time through an interpreter, such as the instructions for a Scratch character.
|
|
||||||
* Variables: A way in which computer programs can store, retrieve or change data, such as a score, the time left, or the user’s name.
|
|
||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
|
|
||||||
* **on pin pressed** : [read more...](/microbit/reference/input/on-pin-pressed)
|
```docs
|
||||||
* **local variable** : [read more...](/microbit/reference/variables/var)
|
if (true) {
|
||||||
* **Boolean** : [read more...](/microbit/reference/types/boolean)
|
|
||||||
* **math random** : [read more...](/microbit/js/math)
|
|
||||||
* **show number** : [read more...](/microbit/reference/basic/show-number)
|
|
||||||
* **pause** : [read more...](/microbit/reference/basic/pause)
|
|
||||||
* **If** : [read more...](/microbit/reference/logic/if)
|
|
||||||
* **show string** : [read more...](/microbit/reference/basic/show-string)
|
|
||||||
|
|
||||||
## Resources
|
}
|
||||||
|
|
||||||
* Activity: [activity](/microbit/lessons/love-meter/activity)
|
input.onPinPressed(TouchPin.P0, () => {
|
||||||
* Activity: [quiz](/microbit/lessons/love-meter/quiz)
|
|
||||||
* Extended Activity: [challenges](/microbit/lessons/love-meter/challenges)
|
|
||||||
|
|
||||||
## Objectives
|
})
|
||||||
|
let x = 0
|
||||||
|
Math.random(3)
|
||||||
|
basic.showNumber(0)
|
||||||
|
basic.pause(100)
|
||||||
|
|
||||||
* learn how to run code when the user holds the GND pin in one hand, and presses pin 0 with the other hand, thus completing a circuit; when you run a script with this function in a web browser, click pin 0 on the simulator
|
|
||||||
* learn how to a create a variable for a place where you can store and retrieve data
|
|
||||||
* learn how Boolean operators take Boolean inputs and evaluates to a Boolean output
|
|
||||||
* learn how to return a random number
|
|
||||||
* learn how to show a number on the LED screen
|
|
||||||
* learn how to pause your code for the specified number of milliseconds
|
|
||||||
* 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 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)
|
|
||||||
* 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
|
|
||||||
|
|
||||||
* 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)
|
|
||||||
* 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/love-meter/activity)
|
|
||||||
* [quiz](/microbit/lessons/love-meter/quiz)
|
|
||||||
|
|
||||||
## Extended Activity
|
|
||||||
|
|
||||||
* time: 20 min.
|
|
||||||
* [challenges](/microbit/lessons/love-meter/challenges)
|
|
||||||
|
|
||||||
## Homework
|
|
||||||
|
|
||||||
* Extended Activity: [challenges](/microbit/lessons/love-meter/challenges)
|
|
||||||
|
|
||||||
|
```
|
||||||
|
@ -15,79 +15,8 @@ Show Number
|
|||||||
* [quiz answers](/microbit/lessons/lucky-7/quiz-answers)
|
* [quiz answers](/microbit/lessons/lucky-7/quiz-answers)
|
||||||
* [challenges](/microbit/lessons/lucky-7/challenges)
|
* [challenges](/microbit/lessons/lucky-7/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 display a number, `show number` to generate numbers. We will be learning how to create numbers using show number as well as simple commands, such as pause.
|
Learn how to display a number, `show number` to generate numbers. We will be learning how to create numbers using show number as well as simple commands, such as pause.
|
||||||
|
|
||||||
## What the teacher needs to know / QuickStart Computing Glossary
|
|
||||||
|
|
||||||
* 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 number** : [read more...](/microbit/reference/basic/show-number)
|
|
||||||
* **pause** : [read more...](/microbit/reference/basic/pause)
|
|
||||||
|
|
||||||
## Resources
|
|
||||||
|
|
||||||
* Activity: [activity](/microbit/lessons/lucky-7/activity)
|
|
||||||
* Activity: [quiz](/microbit/lessons/lucky-7/quiz)
|
|
||||||
* Extended Activity: [challenges](/microbit/lessons/lucky-7/challenges)
|
|
||||||
|
|
||||||
## Objectives
|
|
||||||
|
|
||||||
* learn how to show a number on the LED screen, one digit at a time
|
|
||||||
* learn how to pause program execution for the specified number of milliseconds
|
|
||||||
|
|
||||||
## Progression Pathways / Computational Thinking Framework
|
|
||||||
|
|
||||||
#### Algorithms
|
|
||||||
|
|
||||||
* Uses diagrams to express solutions.(AB)
|
|
||||||
* Designs solutions by decomposing a problem and creates a sub-solution for each of these parts. (DE) (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)
|
|
||||||
* 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
|
|
||||||
|
|
||||||
#### Data & Data Representation
|
|
||||||
|
|
||||||
* Defines data types: real numbers and Boolean (AB)
|
|
||||||
|
|
||||||
#### Hardware & Processing
|
|
||||||
|
|
||||||
* Understands the difference between hardware and application software, and their roles within a computer system (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/lucky-7/activity)
|
|
||||||
* [quiz](/microbit/lessons/lucky-7/quiz)
|
|
||||||
|
|
||||||
## Extended Activity
|
|
||||||
|
|
||||||
* time: 20 min.
|
|
||||||
* [challenges](/microbit/lessons/lucky-7/challenges)
|
|
||||||
|
|
||||||
## Homework
|
|
||||||
|
|
||||||
* Extended Activity: [challenges](/microbit/lessons/lucky-7/challenges)
|
|
||||||
|
|
||||||
|
@ -11,10 +11,6 @@ If (Conditionals)
|
|||||||
* [activity](/microbit/lessons/magic-8/activity)
|
* [activity](/microbit/lessons/magic-8/activity)
|
||||||
* [challenges](/microbit/lessons/magic-8/challenges)
|
* [challenges](/microbit/lessons/magic-8/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 creating **conditionals**, `if condition do` to conditionally run code depending on whether a condition is true or not. We will be learning how to create a fortune telling app using local variable and conditionals (If), input on shake as well as simple commands, such as show string, show number, and clear screen.
|
Learn how to creating **conditionals**, `if condition do` to conditionally run code depending on whether a condition is true or not. We will be learning how to create a fortune telling app using local variable and conditionals (If), input on shake as well as simple commands, such as show string, show number, and clear screen.
|
||||||
@ -29,6 +25,10 @@ Learn how to creating **conditionals**, `if condition do` to conditionally run c
|
|||||||
* **pick number** : [read more...](/microbit/blocks/math)
|
* **pick number** : [read more...](/microbit/blocks/math)
|
||||||
* **if** : [read more...](/microbit/reference/logic/if)
|
* **if** : [read more...](/microbit/reference/logic/if)
|
||||||
|
|
||||||
|
```docs
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
## Objectives
|
## Objectives
|
||||||
|
|
||||||
* learn how to show a string on the LED screen
|
* learn how to show a string on the LED screen
|
||||||
@ -39,57 +39,3 @@ Learn how to creating **conditionals**, `if condition do` to conditionally run c
|
|||||||
* learn how to learn how to return a random number
|
* learn how to learn how to return a random number
|
||||||
* learn how to learn how to conditionally run code depending on whether a condition is true or not
|
* learn how to learn how to conditionally run code depending on whether a condition is true or not
|
||||||
|
|
||||||
## 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)
|
|
||||||
* 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)
|
|
||||||
* 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 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)
|
|
||||||
* Selects the appropriate data types(AL) (AB
|
|
||||||
|
|
||||||
#### Data & Data Representation
|
|
||||||
|
|
||||||
* Understands the difference between data and information(AB)
|
|
||||||
* 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)
|
|
||||||
|
|
||||||
#### 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/magic-8/activity)
|
|
||||||
|
|
||||||
## Extended Activity
|
|
||||||
|
|
||||||
* time: 20 min.
|
|
||||||
* [challenges](/microbit/lessons/magic-8/challenges)
|
|
||||||
|
|
||||||
## Homework
|
|
||||||
|
|
||||||
* Extended Activity: [challenges](/microbit/lessons/magic-8/challenges)
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user