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

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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