Online On Java - CSE 108
Online On Java - CSE 108
our task is to implement a simple Student Grade and GPA Calculation System using Java. The
Y
number of courses and students are supplied as command line arguments.
. C
1 lasses to Implement: ImplementStudent.java,Course.javaandMain.java.
2. CourseInput:Takesdetailsformultiplecourses,includingeachcourse'snameandassociated
credit hours.
3. StudentInput:Collectsstudentinformation,includingnameandmarksforeachcourse.Ensure
that marks stay within 0 and 100. Otherwise take the input for marks again.
4. GradeCalculation:Calculateseachstudent’sgradepercoursebasedonapredefinedgrading
scale:
Grade 4.00: 80-100
Grade 3.75: 70-79
Grade 3.5: 60-69
Grade 3.0: 50-59
Grade 2.5: 40-49
Grade F (0.0): Below 40
5. GPA Calculation: Computes the GPA for eachstudentusingtheweightedaverageofgrades
based on course credits.
6. Userinteraction:Aftertakingalltheinput,usercanenterthreecommands(seesampleI/Ofor
details):
○ display X: Show details for student X. Details include: name, grades for each course
and the overall GPA. If the user inputs “all”, displaydetails for all students.
○ delete X: Delete information for student X. You may use a new array to store the
updated student information.
○ exit: Terminate the program.
Note: The grade for each course and the overallGPAshouldbecalculatedwithintheStudentclass.
Use appropriate getters and setters toaccessandmodifyclassfields.TheMainclasswillonlyparse
and process the user input.
Submission:Create a directory with your ID and includeonly the .java files. For example:
305010/
2
├── Course.java
├── Student.java
└── Main.java
You would then submit 2305010.zip.