Problem Define a Student class that keeps student names (or ID numbers) and their grades (0s grade F 60 s grade C 75 B 90 s grade s 100 -> A Implement student list with using a Singly Linked List....


JAVA CODE


Problem<br>Define a Student class that keeps student names (or ID numbers) and their grades (0s grade <100).<br>Also, define a CourseGrades class that keeps track of the list of student for a given course. The class<br>should have fields for the course name, number of students, and a list of student, and accessor<br>methods for accessing and printing these fields. The class will also have methods for<br>adding/removing a student to/from the list, and a print_names(L) method that finds and prints<br>student names whose letter grades are equal to L. Letter grades are assigned to students as follows:<br>0s grade < 60<br>-> F<br>60 s grade < 75<br>-> C<br>75 < grade < 90<br>-> B<br>90 s grade s 100<br>-> A<br>Implement student list with using a Singly Linked List.<br>Write a test code, TestGrades, to show that both implementations are producing correct outputs:<br>Test Scenario: Course of 15 students with randomly generated grades:<br>Call print_names method for letter grades of A, B, C and F.<br>

Extracted text: Problem Define a Student class that keeps student names (or ID numbers) and their grades (0s grade <100). also,="" define="" a="" coursegrades="" class="" that="" keeps="" track="" of="" the="" list="" of="" student="" for="" a="" given="" course.="" the="" class="" should="" have="" fields="" for="" the="" course="" name,="" number="" of="" students,="" and="" a="" list="" of="" student,="" and="" accessor="" methods="" for="" accessing="" and="" printing="" these="" fields.="" the="" class="" will="" also="" have="" methods="" for="" adding/removing="" a="" student="" to/from="" the="" list,="" and="" a="" print_names(l)="" method="" that="" finds="" and="" prints="" student="" names="" whose="" letter="" grades="" are="" equal="" to="" l.="" letter="" grades="" are="" assigned="" to="" students="" as="" follows:="" 0s="" grade="">< 60="" -=""> F 60 s grade < 75="" -=""> C 75 < grade="">< 90="" -=""> B 90 s grade s 100 -> A Implement student list with using a Singly Linked List. Write a test code, TestGrades, to show that both implementations are producing correct outputs: Test Scenario: Course of 15 students with randomly generated grades: Call print_names method for letter grades of A, B, C and F.

Jun 04, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here