pxt-calliope/olddocs/js/lessons/glowing-sword.md

96 lines
3.5 KiB
Markdown
Raw Permalink Normal View History

2016-03-26 00:47:20 +01:00
# glowing sword lesson
2016-04-02 01:22:47 +02:00
make a glowing sword.
2016-03-26 00:47:20 +01:00
## Topic
Fade Out
## Quick Links
2016-04-13 17:27:45 +02:00
* [activity](/lessons/glowing-sword/activity)
* [quiz](/lessons/glowing-sword/quiz)
* [quiz answers](/lessons/glowing-sword/quiz-answers)
* [challenges](/lessons/glowing-sword/challenges)
* [tutorial](/lessons/glowing-sword/tutorial)
2016-03-26 00:47:20 +01:00
## Class
Year 7
## Prior learning/place of lesson in scheme of work
Learn how to manipulate an image through **fade out**, `led->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 plot image, fade out, 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
2016-04-13 17:27:45 +02:00
* **plot image** : [read more...](/reference/led/plot-image)
* **fade out** : [read more...](/reference/led/fade-out)
* **pause** : [read more...](/reference/basic/pause)
* **fade in** : [read more...](/reference/led/fade-in)
2016-03-26 00:47:20 +01:00
## Resources
2016-04-13 17:27:45 +02:00
* Activity: [tutorial](/lessons/glowing-sword/tutorial)
* Activity: [quiz](/lessons/glowing-sword/quiz)
* Extended Activity: [challenges](/lessons/glowing-sword/challenges)
2016-03-26 00:47:20 +01:00
## 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.
2016-04-13 17:27:45 +02:00
* [tutorial](/lessons/glowing-sword/tutorial)
* [quiz](/lessons/lucky-7/quiz)
2016-03-26 00:47:20 +01:00
## Extended Activity
* time: 20 min.
2016-04-13 17:27:45 +02:00
* [challenges](/lessons/glowing-sword/challenges)
2016-03-26 00:47:20 +01:00
## Homework
2016-04-13 17:27:45 +02:00
* Extended Activity: [challenges](/lessons/glowing-sword/challenges)
2016-03-26 00:47:20 +01:00
## Intended follow on
Publish script to the classroom.