(Solved) : Parta Write Java Application Reads Scores Students User Display Course Grades Student Info Q33250545 . . .

PartA Write a Java application that reads scores of students from a user and display the course grades and Student Information. There are two types of students: undergraduates and postgraduates. Every student will have an ID, a name, and college. The undergraduate students are assessed by three components: test one (40%), test two (40%) and quizzes (20%). The postgraduate students are also assessed by three components: test one (30%), test two (30%) and a project (40%). You should develop your application according to the following specifications 1. Create Student class as super class and undergraduates and postgraduates as subclasses 2. Every student has an id, a name, and a college. 3. Both undergraduates and postgraduates wil have two exams (with different weights as explained above). An undergraduate is a student who has also quizzes. Similarly, a postgraduate is a student who has a project. All assessment components are out of 100 The final score of an undergraduate or an postgraduate is calculated differently according to the weights of the assessment components (see above). 5. Every class should have constructor(s), set/get functions and a display function. 6. The main program should read the students data from user. While reading students information should construct an object to represent a student (either undergraduate or postgraduate) and keep them into one array list. Write a method public static Student readStudentinfo(char type) that reads student information regardless of student type and return the student object to be inserted to the arraylist. Type represents student type. See below run samples. Show transcribed image text
Expert Answer
Answer to Parta Write Java Application Reads Scores Students User Display Course Grades Student Info Q33250545 . . .
OR