JF 2 4 Practice
JF 2 4 Practice
Lesson Objectives:
• Correlate storyboard statements with program execution tasks
• Add a control statement to the Code editor
• Use random numbers to randomize motion
Vocabulary:
Identify the vocabulary word for each definition below.
A document with the step-by-step actions of the animation that need to be programmed.
2. Browse the gallery tab “Gallery by Theme”. Set up an initial scene using the snow template and objects from the snow theme.
Be sure to include a penguin object in the scene. Program the penguin to do the following:
a. Turn its head from left to right a random number of times equal to an integer between and including 0 and 5.
b. Flap its wings at the same time.
c. Save the project.
3. Set up an initial scene with a biped object of your choice. Program the object to do the following:
a. Say “Hello!” and simultaneously wave its left hand.
b. Say “Watch me spin!” and simultaneously turn a random number of times equal to an integer between and including
0.25 and 4.25.
Copyright © 2022, Oracle and/or its affiliates. Oracle, Java, and MySQL are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners. 2