Elementary School course

Programming 101

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

Answer Key

Module 4: The Quiz Show

Module 5: Add to the Quiz Game

Module 7: Feed the Bee

Module 9: Another Flower

Module 10: Dreaming of Candy

Module 12: Changing Story

Module 13: Quiz

1. What does the following code block do?
{"func":"blockSensingAskChoices","values":[{"type":"string","value":""},{"type":"string","value":""}]}

  • Allows you to ask a question that has multiple choice answers
  • Asks a question where the user just types in the answer
  • Creates an entire quiz for you, with random questions
  • Is the exact same as a {"func":"blockLooksSay","values":[{"type":"string","value":""}]} block

2. A bee Actor is flying around the screen and has the code below. When will the bee say "Hooray!"?
{"func":"registerTrigger","values":[{"type":"wrapper","func":"valueSensingTouchingSprite","values":[{"type":"string","value":"Flower"}]}],"next":{"func":"blockLooksSay","values":[{"type":"string","value":"Hooray!"}]}}

  • Each time it touches the flower
  • All the time
  • Never
  • While it is not touching the flower

3. Why is a {"func":"blockControlIfElse","values":[{"type":"boolean","value":""}],"containers":[null,null]} block like a split in the road?

  • If one thing happens, you go one way; if another thing happens, you go a different way
  • You should use it when your Actors are walking on a path
  • There is only one option for what could happen
  • It makes Actors move like they are walking on a path

4. True or False: The first part of the {"func":"blockControlIfElse","values":[{"type":"boolean","value":"true"}],"containers":[null,null]} block is the 'true' path, and the second part is the 'false' path.

  • True
  • False

5. True or False: The {"type":"wrapper","func":"valueSensingAnswer"} block stores the questions of your quiz.

  • True
  • False

6. An Actor has the code shown below. If it is not sunny, what will this Actor do? {"func":"blockControlIfElse","values":[{"type":"wrapper","func":"valueVar","name":"isSunny?"}],"containers":[{"func":"blockControlCall","cat":"functions","name":"Go To Beach","label":"Go To Beach"},{"func":"blockControlCall","cat":"functions","name":"Stay Home","label":"Stay Home"}]}

  • Stay home
  • Go to the beach
  • Go to the beach and stay home
  • Neither

7. Why is the {"func":"blockControlIfElse","values":[{"type":"boolean","value":"true"}],"containers":[null,null]} block useful for making quizzes?

  • You can use it to do one thing if the user got the answer right and a different thing if the user got the answer wrong
  • It automatically generates a lot of questions for you
  • It stores the user's answer for you
  • It writes out your questions on the Stage

8. What does the {"type":"wrapper","func":"valueSensingTouchingSprite","values":[{"type":"string","value":""}]} code block return?

  • True or false, depending on whether your Actor is touching the parameter
  • The name of the Actor your Actor is touching
  • It doesn't return anything; it makes your Actor go touch the Actor in the parameter
  • It returns the number of Actors that your Actor is touching

9. Which of the following blocks is an Event block?

  • {"func":"registerTrigger","values":[{"type":"boolean","value":""}]}
  • {"func":"blockControlIfElse","values":[{"type":"boolean","value":""}],"containers":[null,null]}
  • {"type":"wrapper","func":"valueSensingTouchingSprite","values":[{"type":"string","value":""}]}
  • {"func":"blockControlRepeat","values":[{"type":"number","value":""}],"containers":[null]}

10. Caren is making a quiz program. She wants the quiz to ask addition questions, but wants the questions to be made randomly. Which of the following code blocks will ask a random addition question?

  • {"func":"blockSensingAskAndWait","values":[{"type":"string","value":"What is"},{"type":"wrapper","func":"valueOpRandom","values":[{"type":"number","value":"1"},{"type":"number","value":"10"}]},{"type":"string","value":"+"},{"type":"wrapper","func":"valueOpRandom","values":[{"type":"number","value":"1"},{"type":"number","value":"10"}]},{"type":"string","value":"?"}]}
  • {"func":"blockLooksSay","values":[{"type":"wrapper","func":"valueOpRandom","values":[{"type":"number","value":"1"},{"type":"number","value":"10"}]}]}
  • {"func":"blockSensingAskAndWait","values":[{"type":"string","value":"What is"},{"type":"string","value":"2"},{"type":"string","value":"+"},{"type":"string","value":"2"},{"type":"string","value":"?"}]}
  • None of the above

U.S. Standards

  • CCSS-Math: 3.NBT.A.2, 4.NBT.A.2, MP.1, MP.2, MP.4
  • CCSS-ELA: RF.3.4.A, RF.4.4.A
  • CSTA: 1B-AP-10, 1B-AP-11, 1B-AP-12, 1B-AP-13, 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 14: Quiz Game

Course: | iPad Web

  • More Conditional Statements
  • Concepts
  • The Quiz Show Example
  • The Quiz Show
  • Add to the Quiz Game
  • Feed the Bee Example
  • Feed the Bee
  • Another Flower Example
  • Another Flower
  • Dreaming of Candy
  • Changing Story Example
  • Changing Story
  • 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