Exam Two Solution

You are to create the following classes (you can create more if you wish or if you think they are needed):

Person

Name, address, Phone Number, and email address

Employee (an employee is a person)

Date Hired, Hourly Rate, Positon

Manager (a Manager is an employee)

Title, Department

Note: You will create the following extra classesa: Name, Address and Date

You are to write all necessary methods and fields to create the above three classes. The methods must be created within the classes (not in main). You are to have some type of menu that will allow a user to

• Add/Edit a Manger

• Add/Edit an Employee

• Add/Edit a Person

• Display all managers (ordered by name)

• Display all employees (ordered by name in descending order)

• Display all people (unsorted)

• Display one manager

• Display one employee

• Display one person

You are to allow for up to 20 managers, 100 employees and 500 people. You and your group are to create a design tool, UMLs for each class and the program. Each individual will receive 50 percent of his or her grade from the group assignment, the other 50 percent will come from the oral interview on March 2, 2015. GRADING

Task
Perfect
Good
Poor
Design Tool
9
6
2
UML
9
6
2
Class Design (3 classes)
9
6
2
Class Design (3 extra)
9
6
2
Class Methods
9
6
2
Menu System
9
6
2
Adding and Editing
9
6
2
Displaying All
9
6
2
Displaying One Thing
9
6
2
Use of Arrays
9
6
2
Look and Feel of program
9
6
2
Turning in On Time
1 Pt




The team (only one member has to do this) will submit the exam and design tool into Blackboard on or before March 1, 2015. On Monday, March 2 you will attend class only during your group time:

Group A 7:00 PM to 7:25 PM

Group B 7:30 PM to7:55 PM

Group C 8:00 PM to 8:25 PM

Group D 8:30 PM to 8:55 PM

Group E 9:00 PM to 9:25 PM

When it is your group’s time, you will do the following:

1. Enter the room on time.

2. Each member will immediately login to the system

3. Each member will immediately load up Eclipse

4. Each member will immediately load the EXACT SAME PROGRAM in a RUNABLE STATE. They will test that it runs.

5. Each member will sit and wait for the questioning to begin.
Powered by