Due Date
|
Assignment/Quiz
|
2/6
|
pg 55-56 #1, 3 & 4
|
2/13
|
pg 93-94 #2, 6
|
2/15
|
pg 93-94 #4& 7
|
2/20
|
Quiz on Chapters 1& 2
|
2/22
|
payroll program
with taxes
|
2/27
|
|
3/1
|
pg 159 # 2 finish; Change name program
(page 93 #2) to let you keep entering names until you write END |
3/6
|
|
3/8 |
Quiz Chapter 3 |
3/13
|
Page 159 #6
|
3/15
|
Midterm
Main Goal: Produce a program from a worded question using conditionals,
loops & variables, with input/output on screen; be able to trace
variables
|
3/22
|
Add a method to the payroll program you already
did
More will be added to this
|
3/29
|
Add two more methods to the
payroll program
Write a short description of a board game that uses dice and has
certain rules.
|
4/10
|
Start coding your board game. Turn
in a game that assumes only one player. It should ask tell you the
square you are on, and ask if you want to throw the dice. If you say
yes, it should call a method to roll the dice, and then call another
that can move forwards or backwards the number of squares you send.
You need a test cases of the method that moves forward and backwards
so you can test it without running the game. It should also handle
any one card pick. |
4/12 |
Quiz on method basics (create a method; invoke a method;
create a method with input parameters; create a method that returns
a value) |
4/12 |
HW checkpoint - change payroll to receive all values as strings
(instead of decimals or integers) and then use Integer.parseInt
or Double.parseDouble to convert. For extra credit, you can catch
the error caused by not entering a number using the try/catch format:
try{ Double inputDouble = Double.parseDouble(first);} catch(NumberFormatException
nFE) { System.out.println("Not an Integer"); }
|
4/24 |
#1: Change the payroll program to use a person class that holds
hours, manager flag, years, gross pay and net pay. That person class
has the following methods (with any names): calculateTax, getBaseRate,
getGrossPay, printPerson and updateNet. The payroll program will
just have a main method that creates a person class and calls the
methods on the person class to perform all the same functions the
program used to perform.
#2: Turn in a game board as one class that holds one player class
instance. The player class holds the player name and position. The
full game should be able to be played with that one player. The
game board class can hold the main routine, or you can create another
class for the main routine.
|
5/1 |
Quiz on classes |
5/4 |
Finish your game with 2 players. Use an array of up
to 4 players for extra credit. |
5/15
|
Final (10:30 - 12:30) |