Write a driver class that maintains lists of students

Assignment Help Computer Engineering
Reference no: EM132192987

Write an application in java that models courses, students, and faculty members in a university.

General Directions

Use proper Java naming conventions.

All input and output in this lab must use JOptionPane (except where otherwise noted).

each class you create will have private instance variables and any necessary getters and setters.

Be sure to implement toString() for each class.

Think carefully about how to organize the input/output for this lab *before* you begin coding.

1)The Address Class

An address has a street number, street name, city, state or province, and country.

2)The Person Class

A Person has a name and an Address (represented by an object of class Address, not a String). Note that the subclasses of Person inherit the fields and methods of Person. You may need to override some of the methods in the subclasses.

3)The Student Class

Student is a subclass of Person. In addition to the data inherited from Person, a student has CIN and a course schedule represented by an ArrayList of Courses (objects of class Course). You must provide ways for a Student to add and drop an existing Course.

4)The FacultyMember Class

FacultyMember is also subclass of Person. A FacultyMember has an employee id number and a teaching schedule, which is an ArrayList of Courses.

Provide a way to assign a FacultyMember to teach an existing Course and for a Faculty member to find a class in the list and drop it.

5)The Course Class

A course has a course identifier (eg, EE-132) and a number of units (int).

6)Driver Class

Write a Driver class that maintains lists of Students, Courses, and FacultyMembers and has a menu that provides ways to list them and to create them and add them to the list.

Provide ways to delete Students and FacultyMembers and for Students and FacultyMembers to add and delete Courses from their course schedules. However, you do not need to provide a way to delete a Course from the list of Courses.

Include a method that can be called from main that will use your methods to add and delete some hard-coded test data (several students, several faculty members, and several courses.)

This will let you code the lists and test the methods to add and delete items without using the user input functions.

Do not create a new Course when a Student adds or when a faculty member is assigned to teach; let the user choose a Course from the list.

Reference no: EM132192987

Questions Cloud

Display the students name and the average of the grades : Write the Algorithm (not the program) for the following problem. A program needs get the following data from the user:
How large a sample would we have needed : If we wanted to estimate µ with 99% confidence interval with a margin of error of 2000, how large a sample would we have needed?
Create a class with the given information in the overview : Write an application that simulates adding new books to the Amazon database. Create a class with the given information in the overview section.
State the decision rule and compute the test statistic : At a=0.05, does this sample data indicate a difference from the national proportion? State the decision rule and compute the test statistic.
Write a driver class that maintains lists of students : Write an application in java that models courses, students, and faculty members in a university.
State the hypothesis and the decision rule : At a=0.01, can the inspector claim that the mean weight is less than 16 ounces? State the hypothesis and the decision rule (using the critical value).
How large a sample size is necessary : A researcher wants to be 99% confident that his proportion is within 4% of the true proportion. How large a sample size is necessary?
Write an application that creates variable of type integer : Write an application that creates 2 variable of type integer. Prompt the user to enter two integer values, and assigns each value to one of the variables.
Confidence interval for the true proportion : A survey of 600 women shoppers found that 22% enjoy shopping for shoes. What is the 95% confidence interval for the true proportion of women shoppers who enjoy

Reviews

Write a Review

Computer Engineering Questions & Answers

  Describe one current use of the concept that you have chosen

Describe one current use of the concept that you have chosen. Include at least two examples of such use in individuals, organizations, and / or governments to support your response.

  What information about the geographic locations

What information about the geographic locations of the routers can you infer from the trace? What was the longest mean delay on any one hop along the way?

  Use the internet to research and assess two 2 commercial hr

write a three to four 3-4 page paper in which you 1 use the internet to research and evaluate two 2 commercial hr

  Assign the access keys to the text box and buttons

Write a short summary of the following assignment noting where applicable any VB.NET features that were highlighted by this program.

  Create future technologies directions report

create a PowerPoint presentation of your Future Technologies Directions Report

  Program to calculate value of d=b squared-4ac

Provided that a method takes three parameters a, b, c, of type double, state some code, to be involved as a part of the method, which calculates whether the value of "b squared" – 4ac is negative. If negative, code prints out the message "no real sol..

  Allow global employee to submit banking information

New payroll functionality to allow global employee to submit banking information to get paid electronically (i.e. direct deposit paycheck to bank account).

  Give issues faced by financial industry from cellular phones

What are some of the facts facing AT&T as they try to integrate multiple services to deliver to the customer? What impact does competition play.

  Identify and analyze at least four digital payment concerns

with the increasing use of digital payments and the decreasing use of cash payments enhanced digital security and

  Locate a case study from the internet where a large size

You should locate a case study from the internet where a large size software project has gone v/rung.

  Discuss technological and financial risks in detail

Company M designs manufacture and sells electronic door locks for commercial buildings. The company has approximately 1,500 employees in three locations.

  Which enables organization to customize its business process

Which of the following enables an organization to customize and integrate its business processes? When a product reaches the growth stage in its life cycle, corporate strategy should focus on:

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd