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

Read the following blog article on the AWS Well-Architected Framework. The AWS Well-Architected provides a consistent approach for customers and partners

Read the following blog article on the AWS Well-Architected Framework. The AWS Well-Architected provides a consistent approach for customers and partners to evaluate architectures, and implement designs that can scale over time. As stated in the blog article, there are five pillars: operational excellence security reliability performance efficiency cost optimization 

Introduction to Python: A Beginner’s Guide Python is a powerful, versatile programming language that has gained immense popularity among developers, data

Introduction to Python: A Beginner’s Guide Python is a powerful, versatile programming language that has gained immense popularity among developers, data scientists, and educators. Its simple syntax and readability make it an ideal choice for beginners. In this tutorial, we’ll cover the basics of Python, including variables, data types, and