pxt-calliope/docs/lessons/zoomer.md
2016-03-25 16:47:20 -07:00

3.2 KiB

zoomer blocks lesson

measure the acceleration on the micro:bit in the "z" direction #acceleration #var #docs #if #show

@video td/videos/zoomer-0

Topic

Acceleration

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

Objectives

  • learn how to repeat code in the background forever
  • learn how to create a variable to store data
  • learn how to get the acceleration value (g-force), in one of three specified dimensions
  • 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 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

Extended Activity

Homework