Thursday, October 17th

 

Introduction to Variables - Declare, Initialize, Assign
Variable Types in Alice

Add the following Section 2-9 Vocabulary to your Java Definitions document:

- Add (+), subtract (-), multiply (*) and divide (/).
- A combination of values that, when arranged correctly, result in a final value.

Begin Section 2: Lesson 9 - Expressions slides.
Begin Section 2-9 Expressions practice. Save the White Rabbit Project as 2-9 Bunny Wall - answer question 5 as comments in your code. Save optional 1 activity as 2-9 UFO .

Begin Section 2-9 Expressions project. Save the fish as Fish_9.

Once you have ALL animations completed you will show these to your instructor for teacher check.

Add the following Section 2-10 Vocabulary to your Java Definitions document:

- Symbols used to express a relationship between two expressions.
- To give a variable a name and to define the type of data the variable will contain.
- A place in memory where data of a specific type can be stored for later retrieval and use by your program.
- To assign a variable a value.
- Variables that store information about the object, such as color, width, height, and depth.

Begin Section 2: Lesson 10 - Variables slides.
Begin Section 2-10 Variables practice. Save the White Rabbit Project as 2-10 Random Hop. Save optional 1 activity as 2-10 Bunny Jazzercise.

Begin Section 2-10 Variables project. Save the fish as Fish_10.

 

Homework

Review Declaring Procedures and Control Statements and Functions

 

What

In this lesson, you will learn how to:
• Use the IF control statement to effect execution of instructions
• Use the WHILE control statement to create a conditional loop for repetitive behavior

 

Why

When you create an animation or a game you may want an object to execute an action based upon a decision. You can use the IF control structure to help an object make a decision. “If you encounter a rock turn left, otherwise continue going forward”. You may also want objects in your animation to execute an action while
some condition is true. “While the boat moves left wave the person’s hand”. You can use the WHILE control structure to continuously loop an action while a condition is true.

 

How

By completing the slides, quiz and practice exercises.