Elementary School course

Programming 101

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

Answer Key

Module 4: Ada Meets Dr. Glitch!

Module 6: Ada Makes Dr. Glitch Cry

Module 8: Finish the Story

Module 9: Play Simon Says

Module 11: A Knock-Knock Joke

Module 13: Quiz

1. You want to make two Actors have a conversation. What will happen if two Actors have the following code?
Actor 1:
{"func":"registerFlagTrigger", "next": {"func":"blockLooksSayFor","values":[{"type":"string","value":"Hello"},{"type":"number","value":"2"}]}}
Actor 2:
{"func":"registerFlagTrigger", "next": {"func":"blockLooksSayFor","values":[{"type":"string","value":"Hello"},{"type":"number","value":"2"}]}}

  • The two Actors will talk at the same time
  • Nothing will show up since you didn't set the bubble shape
  • The bubbles will show up at the top of the Stage instead of attached to Actors
  • When the first Actor is done speaking, the second Actor will begin speaking

2. You want make two Actors have a conversation, with each Actor speaking at least once and not at the same time. Which of the following sets of code represents the least amount of code blocks that you absolutely need to create this conversation?

  • {"func":"registerFlagTrigger"}, {"func":"blockLooksSayFor","values":[{"type":"string","value":""},{"type":"number","value":""}]} {"func":"blockControlWait","values":[{"type":"number","value":""}]}, {"func":"blockLooksSay","values":[{"type":"string","value":""}]}
  • {"func":"blockLooksNextCostume"}, {"func":"blockLooksClearEffects"}, {"func":"blockLooksSay","values":[{"type":"string","value":""}]}
  • {"func":"blockMotionMove","values":[{"type":"number","value":"10"}]}, {"func":"blockLooksSay","values":[{"type":"string","value":""}]}
  • {"func":"registerSpriteTrigger"}, {"func":"blockLooksSetBubble","values":[{"type":"choice","value":""}]}

3. What is the difference between the following two types of 'Say' blocks?
{"func":"blockLooksSayFor","values":[{"type":"string","value":"Hello"},{"type":"number","value":"2"}]}
{"func":"blockLooksSay","values":[{"type":"string","value":"Hello"}]}

  • One is used only for the Stage and one is used only for Actors
  • One has rectangular bubbles and one has rounded bubbles
  • They're exactly the same
  • One has a parameter for how long the bubble will appear and one has no time limit

4. True or False: When you use a {"func":"blockLooksSetBubble","values":[{"type":"choice","value":""}]} block to change the bubble shape, it only changes the next bubble, and any bubbles after that will return to the default shape.

  • True
  • False

5. How would you make a program that was like a storybook, with words that tell the story at the top of the Stage?

  • Place the {"func":"blockLooksSayFor","values":[{"type":"string","value":""},{"type":"number","value":""}]} block in the code for the Stage
  • Add backgrounds that already have words on them and switch backgrounds to show the story
  • You cannot do this in Tynker
  • Place the {"func":"blockLooksSayFor","values":[{"type":"string","value":""},{"type":"number","value":""}]} block in an Actor's code

6. John wants to make his actor say hi for 2 seconds and then take a 1 second break. He wants this to happen repeatedly until the program ends. So far, he added a {"func":"registerFlagTrigger"} block but doesn't know what to do next. What should he do?

  • Add a {"func":"blockLooksSayFor","values":[{"type":"string","value":"hi"},{"type":"number","value":"2"}]} block. Add a {"func":"blockControlWait","values":[{"type":"number","value":"1"}]} block. Copy and paste these two blocks many times.
  • Add a {"func":"blockLooksSay","values":[{"type":"string","value":"Hi"}]} block that doesn't have a time limit. This way, it will just repeat over and over.
  • Add a {"func":"blockControlForever","containers":[null]} block. Put a {"func":"blockLooksSayFor","values":[{"type":"string","value":"Hi"},{"type":"number","value":"2"}]} and {"func":"blockControlWait","values":[{"type":"number","value":"1"}]} block inside the 'Forever' block.
  • He's already done!

7. Why is it important to use the {"func":"blockControlWait","values":[{"type":"number","value":""}]} block when you're making Actors have a conversation?

  • To prevent the Actors from talking at the same time
  • It is not necessary
  • To wait for the program to finish running before talking
  • To make sure the user has time to read what they're saying

8. If you wanted to use Tynker to make a story where two Actors talk to each other, which block would you use for the conversation?

  • {"func":"blockLooksSayFor","values":[{"type":"string","value":""},{"type":"number","value":""}]}
  • {"func":"blockLooksNextCostume"}
  • {"func":"blockLooksChangeEffect","values":[{"type":"choice","value":""},{"type":"number","value":""}]}
  • {"func":"blockMotionMove","values":[{"type":"number","value":""}]}

9. Caroline has a {"func":"blockLooksSayFor","values":[{"type":"string","value":"Hello"},{"type":"number","value":"2"}]} block in her code. If you change the 2 to a 10, what will happen?

  • The word "Hello" will appear on the Stage for longer
  • Nothing will change
  • The word "Hello" will appear on the Stage for less time
  • The Actor will now say "Hi" instead of "Hello"

10. The Wolf Actor has a bunch of {"func":"blockLooksSayFor","values":[{"type":"string","value":""},{"type":"number","value":""}]} blocks in his code. If you add a {"func":"blockLooksSetBubble","values":[{"type":"choice","value":"rounded"}]} at the beginning of the program, what will happen?

  • All of Wolf's speech bubbles will have a rounded shape
  • All of Wolf's speech bubbles will have a rectangular shape
  • The Wolf's speech bubbles will never appear
  • The program will crash

11. Peter has an Actor with a {"func":"blockLooksThink","values":[{"type":"string","value":"Hmm"}]} block in its code, but he wants his Actor to think "That was fun!" instead. How can he change this?

  • Change the parameter from "Hmm" to "That was fun!"
  • Use the {"func":"blockLooksThinkFor","values":[{"type":"string","value":"Hmm"},{"type":"number","value":"2"}]} block instead
  • Change the bubble shape
  • Change the font

U.S. Standards

  • CCSS-Math: 3.NBT.A.2, 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 4: Storytelling

Course: | iPad Web

  • Telling a Story
  • Concepts
  • Ada Meets Dr. Glitch! Example
  • Ada Meets Dr. Glitch!
  • Ada Makes Dr. Glitch Cry Example
  • Ada Makes Dr. Glitch Cry
  • Finish the Story Example
  • Finish the Story
  • Play Simon Says
  • A Knock-Knock Joke Example
  • A Knock-Knock Joke
  • 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