Java Programming

 

     

 

Tuesday, November 12th

 

Welcome Back!
Java Operators
We will be working on Section 2-13 which is a review of Java topics covered in Alice. Spend part of each class period working on section 2-13, the practice problems, which can be found on Google classroom are due Friday before the end of the period. Budget your time accordingly.

Add the following to your vocabulary list:
= vs = = be sure you know the difference!
!=
Boolean Operators
&&
|| (this key is found just above the enter key)
!
Java Shorthand: X += Y is the same as X = X + Y

Complete Section 2-13 - read the slides and then complete practice problems which can be found on Google classroom - show me your answers by Friday.
NOTE: You will NOT be doing ALL of the Section 2-13 practice problems. You will only be doing the practice problems from section 2-13 that are assigned in the Google doc. These problems will be checked Friday.

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

- A lexical unit used to express a relation, such as equality or greater than, between two expressions.
- A set of data with values having predefined characteristics.
- Boolean operators (AND, OR and NOT).
- A place in memory where data of a specific type can be stored for later retrieval and use.
- A lexical unit used to perform basic mathematical operations by taking two operands and returning the result of the mathematical calculation.

Events for Interactive and Game Programming

Questions about Alice - if you have a question about how to do something let me know so we can find an answer.

How to Build a UFO Rescue Game in Alice

Add the following Section 2-12 Vocabulary to your Java Definitions document:
- A document that ensures that your animation meets all animation principles.
- A series of illustrated images that represent the main scenes of the animation.
- The methodical process of identifying a complex problem and breaking it down into smaller steps that are easier to manage.
- The story that gives the animation a purpose.
- The process of finding and eliminating bugs in a software program.
- Statements that clearly identify the purpose or the functionality of blocks of programming statements in your program, but do not affect the functionality of your program.
- A list of actions to perform a task or solve a problem.
- The process where the software program converts your code into the animation that you see.
- A detailed, ordered list of actions that each object performs within each scene of the animation.

Continue Section 2-12 Develop a Complete Animation - this is your game project. Use the google doc provided on Google classroom.

 

Homework

Review Declaring Procedures and Control Statements and Functions

 

What

In this lesson, you will learn how to:
•How to download and install Greenfoot
• Describe the components of the Greenfoot interactive development environment
• Create an instance of a class
• Describe classes and subclasses
• Recognize Java syntax used to correctly create a subclass

 

Why

Learning to program, and learning programming concepts while creating a game can be fun. Using Greenfoot, you will learn basic Java programming techniques to create fun and interactive games.

 

How

By completing the slides, quiz and practice exercises.