Elementary School course

Programming 101

  • GRADES 3-4
  • BEGINNER
  • WEB IPAD
  • 15 LESSONS
  • Voiceovers
Slide: 1 of 26

Answer Key

Module 4: Coding the Birthday Song

Module 6: Building a Drum Machine

Module 8: Finish the Drum Machine

Module 9: Set the Tempo

Module 11: Build a Piano

Module 12: Quiz

1. What is 'Beats Per Minute' a measurement for?

  • Tempo
  • Notes
  • Costumes
  • Turning

2. To make an Actor play note 63 when you click on it, which of the following code blocks should you use?

  • {"func":"registerSpriteTrigger","next":{"func":"blockSoundPlayNote","values":[{"type":"number","value":"63"},{"type":"number","value":"0.5"}]}}
  • {"func":"registerFlagTrigger","next":{"func":"blockSoundPlayNote","values":[{"type":"number","value":"63"},{"type":"number","value":"0.5"}]}}
  • {"func":"registerSpriteTrigger","next":{"func":"blockSoundPlayDrum","values":[{"type":"choice","value":"35 Acoustic Bass Drum"},{"type":"number","value":"0.2"}]}}
  • {"func":"registerSpriteTrigger","next":{"func":"blockSoundPlay","values":[{"type":"string","value":""}]}}

3. True or False: The tempo of music is how fast each note plays.

  • True
  • False

4. True or False: The 'Play Note For Beats Until Done' block is used to play a specific note. The note should be a number.

  • True
  • False

5. How would you make a piano that the user could play precise notes on?

  • Add an Actor for each key and make each one play a different note when you click on it
  • Add one Actor for the entire piano and make it play a random note when you click on it
  • You cannot make a piano in Tynker
  • Add one background to the Stage that looks like a piano and make it play a random note when you click on it

6. What does the following code do?
{"func":"registerFlagTrigger","next":{"func":"blockSoundPlayDrum","values":[{"type":"choice","value":"35 Acoustic Bass Drum"},{"type":"number","value":"1"}],"next":{"func":"blockSoundRest","values":[{"type":"number","value":"2"}],"next":{"func":"blockSoundPlayDrum","values":[{"type":"choice","value":"35 Acoustic Bass Drum"},{"type":"number","value":"1"}]}}}}

  • Plays the Acoustic Bass Drum for 1 beat, is silent for 2 beats, and then plays the drum again for another beat
  • Plays the Acoustic Bass Drum for 4 beats straight
  • Does not play anything for 4 beats
  • Does not play anything for 2 beats, then plays the Acoustic Bass Drum for 2 beats, and then is silent for 4 beats

7. What block is the {"func":"blockSoundRest","values":[{"type":"number","value":""}]} block most similar to?

  • The {"func":"blockControlWait","values":[{"type":"number","value":""}]} block, because they both pause the script temporarily
  • The {"func":"blockMotionMove","values":[{"type":"number","value":""}]} block, because they both change Actor's position on the Stage
  • The {"func":"registerFlagTrigger"} block, because they both are event blocks that activate other code blocks
  • The {"func":"blockLooksChangeEffect","values":[{"type":"choice","value":""},{"type":"number","value":""}]} block, because they both change the way an Actor looks

8. To make an Actor play note 63 when you tap on it, which of the following code blocks should you use?

  • {"func":"registerSpriteTrigger","next":{"func":"blockSoundPlayNote","values":[{"type":"number","value":"63"},{"type":"number","value":"0.5"}]}}
  • {"func":"registerFlagTrigger","next":{"func":"blockSoundPlayNote","values":[{"type":"number","value":"63"},{"type":"number","value":"0.5"}]}}
  • {"func":"registerSpriteTrigger","next":{"func":"blockSoundPlayDrum","values":[{"type":"choice","value":"35 Acoustic Bass Drum"},{"type":"number","value":"0.2"}]}}
  • {"func":"registerSpriteTrigger","next":{"func":"blockSoundPlay","values":[{"type":"string","value":""}]}}

9. How would you make a piano that the user could play precise notes on?

  • Add an Actor for each key and make each one play a different note when you tap on it
  • Add one Actor for the entire piano and make it play a random note when you tap on it
  • You cannot make a piano with Tynker
  • Add one background to the Stage that looks like a piano and make it play a random note when you tap on it

U.S. Standards

  • CCSS-Math: MP.1
  • CCSS-ELA: RF.3.4.A, RF.4.4.A
  • CSTA: 1B-AP-11, 1B-AP-12, 1B-AP-15
  • CS CA: 3-5.AP.13, 3-5.AP.14, 3-5.AP.17
  • ISTE: 1.c, 1.d, 4.d, 5.c, 5.d, 7.c

U.K. Standards

Key stage 2
Pupils should be taught to:
  • design, write and debug programs that accomplish specific goals, including controlling or simulating physical systems; solve problems by decomposing them into smaller parts
  • use sequence, selection, and repetition in programs; work with variables and various forms of input and output
  • use logical reasoning to explain how some simple algorithms work and to detect and correct errors in algorithms and programs
  • understand computer networks, including the internet; how they can provide multiple services, such as the World Wide Web, and the opportunities they offer for communication and collaboration
  • use search technologies effectively, appreciate how results are selected and ranked, and be discerning in evaluating digital content
  • select, use and combine a variety of software (including internet services) on a range of digital devices to design and create a range of programs, systems and content that accomplish given goals, including collecting, analysing, evaluating and presenting data and information
  • use technology safely, respectfully and responsibly; recognise acceptable/unacceptable behaviour; identify a range of ways to report concerns about content and contact

Lesson 9: The Music Machine

Course: | iPad Web

  • Let's Make Some Music
  • Concepts
  • Birthday Song Example
  • Coding the Birthday Song
  • Drum Machine Example 1
  • Building a Drum Machine
  • Drum Machine Example 2
  • Finish the Drum Machine
  • Set the Tempo
  • Piano Example
  • Build a Piano
  • Quiz

Description

An easy introduction to programming for beginners in lower elementary grades. Familiarize your class with visual programming techniques. Students progress through the lessons learning concepts in a game-like interface. To complete each lesson, students typically go through a concept review, solve a puzzle, run through a tutorial, build their own project, and take a quiz. They create interactive stories, animations, and mini-games to help Professor Ada battle the evil Dr. Glitch! After completing this lesson plan, students will be able to build a wide variety of simple programs with events, loops, and some conditional logic.

Topics

  • Sequencing
  • Repetition
  • Events
  • Conditional logic
  • Animation
  • Pen drawing
  • Drawing shapes and patterns
  • Playing musical notes
  • Sending and receiving messages
  • Handling user input
  • Color detection

What Students Learn

  • Design animated characters
  • Create interactive scenes
  • Make animated birthday cards
  • Write cartoon stories
  • Create a music machine
  • Experiment with math art
  • Design and build small games
  • Troubleshoot and debug simple programs

Technical Requirements

* Online courses require a modern desktop computer, laptop computer, Chromebook, or Netbook with Internet access and a Chrome (29+), Firefox (30+), Safari (7+), or Edge (20+) browser. No downloads required.
* Tablet courses require an iPad (iOS 10+) with Tynker or Tynker Junior app installed and Internet access