Middle School course

Programming 201

  • GRADES 5-6
  • BEGINNER
  • WEB IPAD
  • 17 LESSONS
Slide: 1 of 19

Answer Key

Module 4: Do Flips

Module 5: Flip to Collect Power Cells

Module 7: Flip on Your Own

Module 8: Quiz

1. How many degrees are in a full circle?

  • 360
  • 180
  • 90
  • 30

2. Which of these code blocks will turn Gus in a full circle?

  • {"func":"blockControlRepeat","values":[{"type":"number","value":"15"}],"containers":[{"func":"blockMotionTurnCW","values":[{"type":"string","value":"20"}]}]}
  • {"func":"blockControlRepeat","values":[{"type":"number","value":"10"}],"containers":[{"func":"blockMotionTurnCW","values":[{"type":"string","value":"36"}]}]}
  • {"func":"blockControlRepeat","values":[{"type":"number","value":"30"}],"containers":[{"func":"blockMotionTurnCW","values":[{"type":"string","value":"10"}]}]}
  • {"func":"blockControlRepeat","values":[{"type":"number","value":"10"}],"containers":[{"func":"blockMotionTurnCW","values":[{"type":"string","value":"15"}]}]}

3. True or False: To add background music or sound effects to your animation, go to the "Sounds" tab of the Stage or Actor properties and click on the "Add Sound" button.

  • True
  • False

4. What does the following code do?
{"func":"registerSpriteTrigger","next":{"func":"blockSoundPlay","values":[{"type":"string","value":"horn 1"}]}}

  • Nothing, an 'On Start' block is needed
  • When you click on the Actor, no sound will play
  • When you click the Play button, the sound will play
  • When you click on the Actor, the sound will play

5. Why doesn't the following code block play any sounds?
{"func":"registerSpriteTrigger","next":{"func":"blockSoundPlay","values":[{"type":"string","value":""}]}}

  • The 'When Actor Clicked' block needs to be replaced with the 'On Start' block
  • There is no 'Mouse Down' block
  • There is no sound selected in the 'Play Sound' block
  • There is no 'Wait' block

6. Which two of the following code blocks do the same thing? (Choose 2)

  • {"func":"blockMotionTurnCW","values":[{"type":"string","value":"360"}]}
  • {"func":"blockMotionTurnCCW","values":[{"type":"string","value":"180"}]}
  • {"func":"blockMotionTurnCW","values":[{"type":"string","value":"180"}]}
  • {"func":"blockMotionTurnCW","values":[{"type":"string","value":"60"}]}

7. Which two of the following code blocks do the same thing? (Choose 2)

  • {"func":"blockMotionTurnCW","values":[{"type":"string","value":"0"}]}
  • {"func":"blockMotionTurnCW","values":[{"type":"string","value":"60"}]}
  • {"func":"blockMotionTurnCW","values":[{"type":"string","value":"180"}]}
  • {"func":"blockMotionTurnCW","values":[{"type":"string","value":"360"}]}

8. What will happen when you increase the value of the repeat block in the following code?
{"func":"registerSpriteTrigger","next":{"func":"blockControlRepeat","values":[{"type":"number","value":"24"}],"containers":[{"func":"blockMotionTurnCW","values":[{"type":"string","value":"15"}],"next":{"func":"blockControlWait","values":[{"type":"number","value":"0.05"}]}}]}}

  • The Actor will turn less than before
  • The Actor will turn more than before
  • The Actor will turn the same amount as before
  • The Actor will not turn

9. What will the following code make an Actor do?
{"func":"registerSpriteTrigger","next":{"func":"blockControlForever","containers":[{"func":"blockMotionTurnCW","values":[{"type":"string","value":"0"}],"next":{"func":"blockControlWait","values":[{"type":"number","value":"0.05"}]}}]}}

  • It makes the Actor turn forever
  • Nothing
  • It makes the Actor turn in a full circle
  • It makes the Actor turn faster

10. What will Gus look like after we turn him 30 degrees clockwise?

11. What will Gus look like after we turn him 90 degrees clockwise?

12. What will Gus look like after we turn him 360 degrees clockwise?

13. What will happen if you replace {"func":"blockMotionTurnCW","values":[{"type":"string","value":"15"}]} with {"func":"blockMotionTurnCCW","values":[{"type":"string","value":"15"}]}?

  • The Actor will turn 30 degrees instead of 15 degrees
  • The Actor will turn a full circle
  • The Actor will turn 15 degrees to the left instead of to the right
  • There is no change

14. What will the following code make an Actor do?
{"func":"registerFlagTrigger","next":{"func":"blockControlForever","containers":[{"func":"blockMotionTurnCW","values":[{"type":"string","value":"15"}],"next":{"func":"blockControlWait","values":[{"type":"number","value":"0.05"}]}}]}}

  • It makes the Actor turn a full circle when Play is clicked
  • It makes the Actor turn forever when the Actor is clicked
  • It makes the Actor turn forever when Play is clicked
  • Nothing

15. What will the following code make an Actor do?
{"func":"registerFlagTrigger","next":{"func":"blockControlForever","containers":[{"func":"blockMotionTurnCW","values":[{"type":"string","value":"0"}],"next":{"func":"blockControlWait","values":[{"type":"number","value":"0.05"}]}}]}}

  • It makes the Actor turn a full circle when Play is clicked
  • It makes the Actor turn forever when the Actor is clicked
  • It makes the Actor turn forever when Play is clicked
  • Nothing

16. Which of these blocks would turn Gus from to ?

  • {"func":"blockMotionTurnCW","values":[{"type":"string","value":"0"}]}
  • {"func":"blockMotionTurnCW","values":[{"type":"string","value":"90"}]}
  • {"func":"blockMotionTurnCW","values":[{"type":"string","value":"180"}]}
  • {"func":"blockMotionTurnCW","values":[{"type":"string","value":"360"}]}

17. What will Gus look like after we turn him 180 degrees counterclockwise?

18. What will Gus look like after we turn him 90 degrees counterclockwise?

19. How many degrees would Gus have to turn to get from to ?

  • 0 degrees
  • 90 degrees
  • 180 degrees
  • 30 degrees

20. Where can you find premade sounds for your project?

  • The Media Library
  • The Actor area
  • The Stage
  • The code palette

21. True or False: To add background music or sound effects to your animation, go to the Stage or Actor properties and tap the "Add Sound" button.

  • True
  • False

22. What does the following code do?
{"func":"registerSpriteTrigger","next":{"func":"blockSoundPlay","values":[{"type":"string","value":"horn 1"}]}}

  • Nothing, an 'On Start' block is needed
  • When you tap the Actor, no sound will play
  • When you tap the Play button, the sound will play
  • When you tap the Actor, the sound will play

23. Why doesn't the following code block play any sounds?
{"func":"registerSpriteTrigger","next":{"func":"blockSoundPlay","values":[{"type":"string","value":""}]}}

  • The 'When Actor Touched' block needs to be replaced with the 'On Start' block
  • The 'When Actor Touched' block needs to be replaced with the 'When Screen Touched' block
  • There is no sound selected in the 'Play Sound' block
  • There is no 'Wait' block

24. Suppose that Gus is standing up straight, facing the right side of the screen. What will Gus look like after we turn him 30 degrees clockwise?

  • Leaning forward slightly, facing bottom-right
  • On his belly, facing down
  • Upside down, facing the left side of the screen
  • Standing up straight, facing the right side of the screen

25. Suppose that Gus is standing up straight, facing the right side of the screen. What will Gus look like after we turn him 90 degrees clockwise?

  • Tilting forward, facing bottom-right
  • On his belly, facing down
  • Upside down, facing the left side of the screen
  • Standing up straight, facing the right side of the screen

26. Suppose that Gus is standing up straight, facing the right side of the screen. What will Gus look like after we turn him 360 degrees counterclockwise?

  • Tilting forward, facing bottom-right
  • On his belly, facing down
  • Upside down, facing the left side of the screen
  • Standing up straight, facing the right side of the screen

27. What will the following code make an Actor do?
{"func":"registerFlagTrigger","next":{"func":"blockControlForever","containers":[{"func":"blockMotionTurnCW","values":[{"type":"string","value":"15"}],"next":{"func":"blockControlWait","values":[{"type":"number","value":"0.05"}]}}]}}

  • It makes the Actor turn a full circle when Play is tapped
  • It makes the Actor turn forever when the Actor is tapped
  • It makes the Actor turn forever when Play is tapped
  • Nothing

28. What will the following code make an Actor do?
{"func":"registerFlagTrigger","next":{"func":"blockControlForever","containers":[{"func":"blockMotionTurnCW","values":[{"type":"string","value":"0"}],"next":{"func":"blockControlWait","values":[{"type":"number","value":"0.05"}]}}]}}

  • It makes the Actor turn a full circle when Play is tapped
  • It makes the Actor turn forever when the Actor is tapped
  • It makes the Actor turn forever when Play is tapped
  • Nothing

29. Suppose that Gus is lying on his belly, facing down (feet to the left, head to the right). Which of these blocks would turn Gus to be upside down, facing left?

  • {"func":"blockMotionTurnCW","values":[{"type":"string","value":"0"}]}
  • {"func":"blockMotionTurnCW","values":[{"type":"string","value":"90"}]}
  • {"func":"blockMotionTurnCW","values":[{"type":"string","value":"180"}]}
  • {"func":"blockMotionTurnCW","values":[{"type":"string","value":"360"}]}

30. Suppose that Gus is upside down, facing the left side of the screen. What will Gus look like after we turn him 180 degrees clockwise?

  • Right side up, facing the right side of the screen
  • Upside down, facing the left side of the screen
  • Tilting forward, facing bottom-right
  • On his belly, facing down

31. Suppose that Gus is upside down, facing the left side of the screen. What will Gus look like after we turn him 90 degrees counterclockwise?

  • Right side up, facing the right side of the screen
  • On his belly, facing down
  • Upside down, facing the left side of the screen
  • Tilting forward, facing bottom-right

32. Suppose that Gus is lying on his belly, facing down (feet to the left, head to the right). How many degrees would he have to turn to be upside down, facing left?

  • 0 degrees
  • 90 degrees
  • 180 degrees
  • 30 degrees

U.S. Standards

  • CCSS-Math: 5.G.1, 5.G.2, 6.NS.6, MP.1
  • CCSS-ELA: RF.5.4.A, 6-8.RST.3, 6-8.RST.4, 6-8.RST.7
  • CSTA: 1B-AP-11, 1B-AP-12, 1B-AP-15, 2-AP-13, 2-AP-16, 2-AP-17
  • CS CA: 3-5.AP.10, 3-5.AP.13, 3-5.AP.14, 3-5.AP.17, 6-8.AP.13, 6-8.AP.16, 6-8.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
Key stage 3
Pupils should be taught to:
  • design, use and evaluate computational abstractions that model the state and behaviour of real-world problems and physical systems
  • understand several key algorithms that reflect computational thinking [for example, ones for sorting and searching]; use logical reasoning to compare the utility of alternative algorithms for the same problem
  • undertake creative projects that involve selecting, using, and combining multiple applications, preferably across a range of devices, to achieve challenging goals, including collecting and analysing data and meeting the needs of known users
  • create, reuse, revise and repurpose digital artefacts for a given audience, with attention to trustworthiness, design and usability
  • understand a range of ways to use technology safely, respectfully, responsibly and securely, including protecting their online identity and privacy; recognise inappropriate content, contact and conduct, and know how to report concerns

Lesson 8: Rotation

Course: | iPad Web

  • Flip Out!
  • Concepts
  • Do Flips Example
  • Do Flips
  • Flip to Collect Power Cells
  • Flip on Your Own Example
  • Flip on Your Own
  • Quiz
  • Bonus: Finish Side Scroller

Description

An introduction to programming for beginners in upper elementary grades. Introduce your class to programming using a fun scenario-based approach where they build two complete games. Side Scroller Survival introduces them to basics of motion and animation. In BeatBot Battle, they program a robot to make it dance. On completing this lesson plan students will be able to build simple games, animations, and a variety of simple projects.

Topics

  • Use sequencing
  • Pattern recognition
  • Loops
  • Conditional logic
  • Create scenes
  • Add sounds and music
  • Use keyboard controls
  • Learn about motion
  • Broadcasting messages
  • Adding special effects

What Students Learn

  • Create interactive scenes with actors, scenes and music
  • Design animations using loops
  • Program motion along x- and y-axes
  • Build algorithms using conditional logic
  • Understand scripts running in parallel
  • Program music using notes, tempo and instruments
  • Create different scenarios and effects in games
  • Publish projects to the Web
  • 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