Question
Can anyone please solve this question. I mean can anyone plz code it for me. It's important. Plz code this program. Q: Implement the following
Can anyone please solve this question. I mean can anyone plz code it for me. It's important. Plz code this program.
Q: Implement the following case study in Java. A University offers different diploma programs. Principal of the university wants to create a Desktop-based application to manage the records related to their diploma programs and students. A diploma has eight semesters. A student must take two courses in each semester to pass that semester. If a student gets fail in one subject, he must repeat that semester again (enroll again. repeat all the courses of semester). Just for further clarification, each course can have only one section. A teacher can be assigned to that course in each semester, but teacher assignment module is not currently being focused in the current solution, still we will provide a base for that in future. Following is an Object-Oriented solution designed for the case study, you are required to implement it (only skeleton), you can add other details if you think are necessary. A class named Person having A protected attribute name as string. A protected attribute cnic as int. A private attribute address as string A private attribute fatherName as string. A parametrized constructor that assigns provided values to all the attributes. A Teacher class that is-a Person as well, has A private attribute Id. A parametrized constructor that assigns Id, name, cnic, address, fatherName. (You should call super constructor to assign values for Person). A class named Course has A private attribute String courseName A private attribute Teacher teacher A private attribute double marks. (min: 0 and max 100) A private attribute int creditHours A private attribute char grade A private attribute double GPA A parameterized constructor to initialize attributes courseName, creditHours and marks, this constructor should also calculate grade and GPA, according to the grading policy defined in table below: Letter Grade Percentage GPA A 80-100 4 B 70-79 3 C 60-69 2 D 50-59 1 F <50 0 a getter getcoursename() function that will return coursename of the course. getgpa() gpa getcredithours() credithours name semester private attribute semesternumer as int (1 to 8, according students progress, he may repeat same many times) double sgpa semestercredithours string result (pass or fail) arraylist
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started