Learning objective

  • To create a program for the micro:bit using input, variables and conditions.

Success criteria

  • I can create a variable to store and
Lock

This content is for subscribers only. Join for access today.

National curriculum

Computing

Pupils should be taught to:

  • Design,
Lock

This content is for subscribers only. Join for access today.

Before the lesson

Lock

This content is for subscribers only. Join for access today.

Lesson plan

Recap and recall

Explain that the children will compare two different code blocks from MakeCode. Display the Presentation: What is the difference? Arrange the children in pairs and read the question aloud.

Lock

This content is for subscribers only. Join for access today.

Adaptive teaching

Pupils needing extra support

Should use the Download: Pedometer .hex file or the link: Microsoft MakeCode - Pedometer Project and make small changes to personalise it (for example, change the icon in the ‘show icon’ block or the number of steps in the operator block); could plan their remix on a whiteboard before starting to help them organise their ideas, break the task into smaller steps and use a visual reference while programming.

Pupils working at greater depth

Should use multiple conditions using an ‘if, else’ block instead of an ‘if’ block (for example, if steps = 10, show a star, else if steps = 20 show a message); could add extra features, such as a music block so the micro:bit also plays a sound when the step goal is reached.

Lock

This content is for subscribers only. Join for access today.

Assessing progress and understanding

Pupils with secure understanding indicated by: choosing appropriate blocks to complete the

Lock

This content is for subscribers only. Join for access today.

Vocabulary definitions

  • condition

    Something the program checks to decide what should happen next.

  • if block

    A block that tells the program to do something only when a condition is true.

Lock

This content is for subscribers only. Join for access today.

Our team comprises experienced classroom teachers who love the foundation subjects
Find out more
Kapow logo

Maintained by: Kapow Primary team

_
For copyright reasons, you may not screenshot this page.
Press esc to exit