Java Programming

 

       

 

Tuesday, October 1st

 

First Java Exam is Friday. Covers sections 1 thru 2.7

Introduction to Functions

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

- Addition (+), subtraction (-), multiplication (*), and division (/).
- Answer questions about an object, such as its height, width, depth, and even its distance to another object.

Begin Section 2: Lesson 7 - Functions slides.
Begin Section 2-7 Functions practice. Save the White Rabbit Project as 2-7 Hedge Moves. Save optional 1 activity as 2-7 Lioness. Save activity 2 as 2-7 Birds.

Begin Section 2-7 Functions project. Save the file as Fish_7.

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

 

Homework

Review Java terms - begin to prepare for your first exam over all of section 1 and part of section 2 - up to Lesson 7 on Friday.

 

What

Lesson 5 - Using Control Statements and Function
•Define multiple control statements to control animation timing
• Create an animation that uses a control statement to control animation timing
• Recognize programming constructs to invoke simultaneous movement
• Use functions to control movement based on a return value
• Create programming comments

 

Why

Certain movements require coordination, such as walking, sitting, or riding in a vehicle. Coordination may be required for an object's body parts to move in sync, or for two objects to move relative to each other.

Control statements and functions will help you better coordinate the movements of objects, as well as make their movements more precise.

 

How

By completing the slides, quiz and practice exercises.