Question: (using python) Create a sorted one way linked list, Scores220, that contains student's IDs and scores of for a class such that the list is
(using python) Create a sorted one way linked list, Scores220, that contains student's IDs and scores of for a class such that the list is sorted in descending order based on score. Do the following data structure operations 1. Insert 10 students IDs(3-digit number) and random scores (0-100) for each student 2. Print the IDs and corresponding Scores in the list 3. Search a student by ID and check/print his/her score. If the score is not correctly recorded before(compare it with a given score), update it 4. Compute the average score for the class 5. Delete a student from the beginning, middle, and end of the list and print after deletion.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
