make a University  app to have a simple system to keep track of all the students (graduate  and undergrads).To do that the following classes are needed

 make a University  app to have a simple system to keep track of all the students (graduate  and undergrads).To do that the following classes are needed for this  object-oriented database.

Student

  • StudentID : Integer
  • stdFirstName: String
  • stdLastName: String
  • stdMarks : Double []
  • stdAddress: Address

** Class Student should have set/get properties, constructor and have following methods:

Average() – that returns the average grade for students

toString() method that returns the above information as a String

  1. A class called Address which can be that can be added into the class student

Address

  • streetInfo: String
  • city: String
  • postalCode: String
  • province: String
  • country: String

** Class Address should have set/get properties, constructor and following method:

toString() method that returns the above information as a String

  1. A class called UndergraduateStudent that inherits from Student and has the following members:

Undergrad Student

  • subject: String
  • yearOfEntry :Integer

***Class Student should have set/get properties, constructor and following method:

Graduate()  – Boolean that returns true if the Student is eligible to graduate when  the average of their marks is greater than 50.

toString() method that returns the above information as a String

  1. A class called GraduateStudent that inherits from Student and has the following members:

Graduate Student

  • subject : String
  • yearOfEntry :Integer
  • thesisTopic: String

Class Student should have set/get properties, constructor and following method:

Graduate()  – Boolean that returns true if the Student is eligible to graduate when  the average of their marks is greater than 70.

toString() method that returns the above information as a String

Summary of Operations

System Menu:

  1. Add undergraduate student
  2. Add graduate  student
  3. View all the students
  4. View only eligible students for graduation
  5. exit

Overview:

  • You may use array or ArrayList to store all your students(graduate and undergrad) into one array of objects.
  • If you use an Array, you may assume the user does not enter more than ten students in total into the system

1 –Add undergraduate Students: this  menu should accept all the necessary parameters for undergraduate  students and create an instance from undergraduate class and store it  into students array.

2 –Add graduate student:  this menu should accept all the necessary parameters for graduate  students. It should create an instance from the graduate class and store  it in the students’ array.

3- View all the students: view all the relevant information of students (graduate and undergraduate) from students array

4- View only eligible students for graduation: view all the relevant information (graduate and undergraduate) from the students’ array only if they are eligible to graduate.

5 – Exit: exit the running menu (program)

Share This Post

Email
WhatsApp
Facebook
Twitter
LinkedIn
Pinterest
Reddit

Order a Similar Paper and get 15% Discount on your First Order

Related Questions

The following program draws an BB-8 as shown below.  Modify the program to move the BB-8 left or right using the arrow keys.  The program can be download

The following program draws an BB-8 as shown below.  Modify the program to move the BB-8 left or right using the arrow keys.  The program can be download from the CMS. Please use Javafx  import javafx.application.Application; import javafx.scene.Scene; import javafx.scene.input.KeyCode; import javafx.scene.layout.Pane; import javafx.scene.paint.Color; import javafx.scene.shape.Circle; import javafx.scene.shape.Line; import javafx.stage.Stage;