Microbit programming-Creating a Micropet

Students will create a micropet and then program it to perform various outcomes depending on what they do to it. Students will learn how to program a microbit. Students will recognize programming faults and be able to make corrections.

OVERVIEW

Activity Overview:

Students will create a micropet and then program it to perform various outcomes depending on what they do to it. Students will learn how to program a microbit. Students will recognize programming faults and be able to make corrections.

Meta description

  • Subject Area: Computer Science, Technology, Engineering, Art
  • Grade Level : 3-5
  • Computer Science Domains:
    • Computing Systems, Algorithms and Programming
  • Computer Science Principles:
    • Fostering an Inclusive Computing Culture, Recognizing and Defining Computational Problems, Creating Computational Artifacts, Communicating About Computing
  • Materials:
    • Micro:bit
  • Considerations:
    • No

Lesson Plan

Overview

Students will create a micropet and then program it to perform various outcomes depending on what they do to it. Students will learn how to program a microbit. Students will recognize programming faults and be able to make corrections.

ASSESSMENT PRE/POST-TEST

What changes did you need to make to your program?

OBJECTIVES

Create a program for your microbit: • Pet must be able to show an emotion when you turn it upside down or right side up. • Pet must be able to make a noise when you shake it • Pet must be able to show a name when you push button A • Pet must show a picture when you push button B • Additional-Use an if/then code

CATCH/HOOK

Do You want to build a Micro Pet?

ACTIVITY INSTRUCTIONS

Students will create a micropet which will perform various outputs depending on the input.

Supplements

Any items in this section are the property & under the license of their respective owners.

REVIEW

Go to https://makecode.microbit.org/# review the site and what each of the programming code means.

STANDARDS

TypeListing
CS DomainsComputing Systems, Algorithms and Programming
CS PrinciplesFostering an Inclusive Computing Culture, Recognizing and Defining Computational Problems, Creating Computational Artifacts, Communicating About Computing
Other Content Standards1.b create original works as a means of personal or group expression. ISTE Standards (2) 6.c communicate complex ideas clearly and effectively by creating or using a variety of digital objects such as visualizations, models or simulations. 6.b create original works or responsibly repurpose or remix digital resources into new creations. Next Generation Science Standards Science and Engineering Practices Appendix F (8) SEP.1.a Ask questions about what would happen if a variable is changed. SEP.1.c Ask questions that can be investigated and predict reasonable outcomes based on patterns such as cause and effect relationships.