Elementary School course

Programming 101

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

Answer Key

Module 4: Make Codey Eat

Module 6: Teach Codey to Walk

Module 7: Get the Jelly Beans

Module 9: The Flying Bird

Module 11: Quiz

1. If the code for an animation contains a {"func":"blockControlWait","values":[{"type":"number","value":""}]} block, what will increasing the parameter in the block do to the animation? (For example, increasing it from .5 to 1)

  • Make the animation slower
  • Make the animation faster
  • This would have no effect on the animation
  • Make the animation pause forever

2. If you had an Actor with four Costumes and wanted to repeatedly switch through the Costumes to create an animation, which of the following sets of blocks is important to use?

  • {"func":"registerFlagTrigger"}, {"func":"blockControlForever","containers":[null]}, {"func":"blockLooksNextCostume"}, {"func":"blockControlWait","values":[{"type":"number","value":""}]}
  • {"func":"blockControlBroadcast","values":[{"type":"string","value":""}]}, {"func":"blockControlWait","values":[{"type":"number","value":"1"}]}
  • {"func":"registerSpriteTrigger"}, {"func":"blockSoundPlay","values":[{"type":"string","value":""}]}
  • {"func":"blockMotionMove","values":[{"type":"number","value":"10"}]}, {"func":"blockLooksNextCostume"}

3. True or False: Actors automatically bounce and turn around when they hit an edge. You don't need to add any code blocks to make this happen.

  • True
  • False

4. True or False: Given the code below, increasing the parameter in the 'Move' block to 20 makes the Actor move fewer pixels per second.
{"func":"blockControlForever","containers":[{"func":"blockMotionMove","values":[{"type":"number","value":"10"}],"next":{"func":"blockControlWait","values":[{"type":"number","value":"1"}]}}]}

  • True
  • False

5. Which of the following code blocks is a loop block?

  • {"func":"blockControlForever","containers":[null]}
  • {"func":"blockControlWait","values":[{"type":"number","value":"1"}]}
  • {"func":"registerSpriteTrigger"}
  • {"func":"blockMotionMove","values":[{"type":"number","value":"10"}]}

6. What is the difference between the {"func":"blockLooksSwitchCostume","values":[{"type":"string","value":""}]} block and the {"func":"blockLooksNextCostume"} block?

  • There is no difference; you can choose which one you want to use
  • The {"func":"blockLooksSwitchCostume","values":[{"type":"string","value":""}]} block is for the Stage while the {"func":"blockLooksNextCostume"} block is for Actors
  • The {"func":"blockLooksSwitchCostume","values":[{"type":"string","value":""}]} block lets you choose which Costume to switch to while the {"func":"blockLooksNextCostume"} block just makes the Actor put on its next Costume
  • The {"func":"blockLooksSwitchCostume","values":[{"type":"string","value":""}]} block switches the Costume immediately while the {"func":"blockLooksNextCostume"} block waits 2 seconds and then switches the Costume

7. What does the {"func":"blockControlWait","values":[{"type":"number","value":""}]} block do?

  • Pauses the program for however long you specify
  • Deletes the Actor
  • Waits until the user presses play to start running the program
  • Ends the program

8. What kind of loop is a 'Forever' loop?

  • Infinite
  • Round
  • Temporary
  • Conditional

9. How do you make an Actor animate (like Codey the troll)?

  • Add a bunch of Costumes to the Actor and switch through them quickly
  • Drag the Actor around with your mouse
  • Draw the Actor and it will automatically update
  • None of the above

10. Tessa has an Actor with three Costumes: Costume1, Costume2, and Costume3. Her Actor starts out wearing Costume1. In her program, she uses the {"func":"blockLooksNextCostume"} block once. What Costume will her Actor be wearing at the end?

  • Costume1
  • Costume2
  • Costume3

11. Will has a {"func":"blockMotionMove","values":[{"type":"number","value":"10"}]} block in his Actor's code. It makes the Actor move a little to the right. If he changes the block to {"func":"blockMotionMove","values":[{"type":"number","value":"50"}]}, what will happen?

  • The Actor will move further to the right
  • Nothing changes
  • The Actor won't move at all
  • The Actor will play a sound

12. How do you make an Actor animate and move across the Stage at the same time?

  • Do the animation by switching Costumes, and use a 'Move' block to move across the Stage
  • You cannot do this
  • Use a 'Move' block and the Costumes will automatically change
  • Switch Costumes and the Actor will automatically move

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 3: Animation

Course: | iPad Web

  • Codey Causes Trouble
  • Animation Concepts
  • Make Codey Eat Example
  • Make Codey Eat
  • Teach Codey to Walk Example
  • Teach Codey to Walk
  • Get the Jelly Beans
  • The Flying Bird Example
  • The Flying Bird
  • Wrap Up
  • 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