Answer Key
Module 4: Do the Moonwalk

Module 9: Quiz
1.
-
{"func":"blockMotionChangeXBy","values":[{"type":"number","value":"10"}]}
-
{"func":"blockMotionChangeYBy","values":[{"type":"number","value":"10"}]}
-
{"func":"blockControlWait","values":[{"type":"number","value":"1"}]}
-
{"func":"registerSpriteTrigger"}
2.
-
{"func":"blockControlBroadcast","values":[{"type":"string","value":""}]}
-
{"func":"blockControlPostMessage","values":[{"type":"string","value":""},{"type":"string","value":"any"},{"type":"string","value":""}]}
-
{"func":"registerSpriteTrigger"}
-
{"func":"blockMotionBounceOnEdge"}
3.
-
To slow down an animation -
To play a Sound -
To hide the Actor -
To remove an animation
4.
-
{"func":"blockMotionPointDirection","values":[{"type":"string","value":"90"}]}
-
{"func":"blockControlBroadcast","values":[{"type":"string","value":""}]}
-
{"func":"blockSoundPlayUntilDone","values":[{"type":"string","value":""}]}
-
{"func":"blockMotionChangeXBy","values":[{"type":"number","value":"10"}]}
5.
{"func":"registerSpriteTrigger","next":{"func":"blockLooksNextCostume","next":{"func":"blockLooksSwitchCostume","values":[{"type":"string","value":"red button off"}]}}}
How can he fix it?
-
He should add a
block{"func":"blockControlWait","values":[{"type":"number","value":""}]}
-
He should put his code in a
loop{"func":"blockControlForever","containers":[null]}
-
He should put his code in a
loop{"func":"blockControlRepeat","values":[{"type":"number","value":""}],"containers":[null]}
-
He should add another Actor
6.
code block.
{"func":"blockLooksNextCostume"}
-
True -
False
7.
-
{"func":"registerSpriteTrigger","next":{"func":"blockSoundPlayNote","values":[{"type":"number","value":"60"},{"type":"number","value":"0.5"}]}}
-
{"func":"registerSpriteTrigger","next":{"func":"blockSoundRest","values":[{"type":"number","value":"0.2"}]}}
-
{"func":"registerSpriteTrigger","next":{"func":"blockSoundStopAll"}}
-
{"func":"registerSpriteTrigger","next":{"func":"blockSoundSetTempo","values":[{"type":"number","value":"60"}]}}
8.
{"func":"blockSoundSetTempo","values":[{"type":"number","value":"30"}]}
-
It will make the drum play twice as slow -
It will make the drum play twice as fast -
It will stop the drum -
It will make the drum play only for 30 seconds
9.
{"func":"blockControlForever","containers":[{"func":"blockSoundPlayUntilDone","values":[{"type":"string","value":"music"}]}]}
-
He needs to connect the code blocks to an
block{"func":"registerFlagTrigger"}
-
He should use the 'Play Sound' block instead of the
block{"func":"blockSoundPlay","values":[{"type":"string","value":""}]}
-
He should add a
block{"func":"blockControlWait","values":[{"type":"number","value":"1"}]}
-
He should add a
block{"func":"blockControlBroadcast","values":[{"type":"string","value":""}]}
10.
{"func":"registerKeyTrigger","values":[{"type":"choice","value":"right arrow"}],"next":{"func":"blockMotionChangeXBy","values":[{"type":"number","value":"10"}]}}
-
The Actor will move right when the right arrow key is pressed -
The Actor will move left when the right arrow key is pressed -
The Actor will move right when the left arrow key is pressed -
The Actor will move left when the left arrow key is pressed
11.
-
The X axis deals with left/right position, while the Y axis deals with up/down -
The Y axis deals with left/right position, while the X axis deals with up/down -
The X axis deals with diagonals, while the Y axis deals with up/down and left/right -
The Y axis deals with diagonals, while the X axis deals with up/down and left/right
12.
code block will move the actor up.
{"func":"blockMotionChangeXBy","values":[{"type":"number","value":"10"}]}
-
True -
False
13.
code block will make the Actor point to the left.
{"func":"blockMotionPointDirection","values":[{"type":"string","value":"90"}]}
-
True -
False
14.
code block will make the Actor point towards the top of the screen.
{"func":"blockMotionPointDirection","values":[{"type":"string","value":"0"}]}
-
True -
False
15.
code block will make the Actor point to the right.
{"func":"blockMotionPointDirection","values":[{"type":"string","value":"90"}]}
-
True -
False
16.
-
True -
False
17.
block, and have them all play different sounds in response to the message. How can he do this?
{"func":"blockControlBroadcast","values":[{"type":"string","value":"play"}]}
-
Use the
block in all four Actors{"func":"registerBroadcastTrigger","values":[{"type":"string","value":"play"}],"next":{"func":"blockSoundPlay","values":[{"type":"string","value":""}]}}
-
Use four different
blocks in all four Actors{"func":"registerBroadcastTrigger","values":[{"type":"string","value":""}]}
-
Have all four Actors contain a
block{"func":"registerFlagTrigger","next":{"func":"blockSoundPlay","values":[{"type":"string","value":""}]}}
-
Have all four Actors use a
block{"func":"registerSpriteTrigger","next":{"func":"blockSoundPlay","values":[{"type":"string","value":""}]}}
18.
block?
{"func":"blockMotionPointDirection","values":[{"type":"string","value":"0"}]}
-
The top edge -
The left edge -
The right edge -
The bottom edge
19.
and {"func":"blockMotionMove","values":[{"type":"number","value":"10"}]}
blocks?
{"func":"blockMotionChangeXBy","values":[{"type":"number","value":"10"}]}
-
The
block changes the position of the Actor based on its direction, while the{"func":"blockMotionMove","values":[{"type":"number","value":"10"}]}
block changes position based on its coordinate position{"func":"blockMotionChangeXBy","values":[{"type":"number","value":"10"}]}
-
The
block changes the position of the Actor based on its coordinate position while the{"func":"blockMotionMove","values":[{"type":"number","value":"10"}]}
block changes position based on its direction{"func":"blockMotionChangeXBy","values":[{"type":"number","value":"10"}]}
-
There is no difference between the two blocks -
The
block changes the position of the Actor vertically, while the{"func":"blockMotionMove","values":[{"type":"number","value":"10"}]}
block changes the position of the Actor horizontally{"func":"blockMotionChangeXBy","values":[{"type":"number","value":"10"}]}
20.
-
1 animation sequence -
10 animation sequences -
There is no limit to the number of animation sequences an Actor can have -
Actors cannot have any animation sequences
21.
-
{"func":"registerSpriteTrigger","next":{"func":"blockSoundPlayNote","values":[{"type":"number","value":"60"},{"type":"number","value":"0.5"}]}}
-
{"func":"registerSpriteTrigger","next":{"func":"blockSoundRest","values":[{"type":"number","value":"0.2"}]}}
-
{"func":"registerSpriteTrigger","next":{"func":"blockSoundStopAll"}}
-
{"func":"registerSpriteTrigger","next":{"func":"blockSoundSetTempo","values":[{"type":"number","value":"60"}]}}
U.S. Standards
- CCSS-Math: 5.G.A.1, 5.G.A.2, 6.NS.C.6, 6.NS.C.6, MP.1
- CCSS-ELA: RF.5.4.A, 6-8.RST.3, 6-8.RST.4, 6-8.RST.7
- CSTA: 1B-AP-10, 1B-AP-11, 1B-AP-12, 1B-AP-15, 2-AP-11, 2-AP-12, 2-AP-13, 2-AP-16, 2-AP-17
- CS CA: 3-5.AP.10, 3-5.AP.11, 3-5.AP.12, 3-5.AP.13, 3-5.AP.14, 3-5.AP.17, 6-8.AP.11, 6-8.AP.12, 6-8.AP.13, 6-8.AP.16, 6-8.AP.17
- ISTE: 1.c, 1.d, 4.d, 5.c, 5.d, 6.b
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
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