Reference no: EM132372535
Data Structures and Algorithms Assignment - Linked List
SCIMS at USP wants to maintain student records using linked lists. The school currently offers 3 first-year courses which are CS100, CS101 and CS110. These courses are compulsory and are required by students to do in a semester. All courses have two assignments (20% each ), a mid-semester test (10%) and final exam (50%). The following file contains the students' records, course lists with appropriate marks. Student file contains students id number and name. Each course file contains students mark (assignment 1, assignment 2, MST and final exam) See attached file.
You are required to write a program for the school to do grade calculation and analysis using linked lists.
Please do note that if the student does not meet the minimum 40% mark in the final exam and the course total mark is above 50 then the student should be given a D grade.
Requirements -
1. Draw the structure of the linked list using an appropriate tool with all relevant data from the file.
2. This problem must be solved using linked list. You have to use classes to create linked list.
3. The main program should be able to do the following:
Create a linked list for each file and store the records of the file.
Calculate the total mark and grade of a student for each course which must be stored in the list.
Create a menu for the user that can do the following:
- Exit program
- Display all students for SCIMS
- Display the marks and grade for each course. The course code will be entered by the user.
- Display all students who got D grade because the minimum 40% was not met in the final exam. The display should include student ID, name, course code, total mark.
- Display all students who failed all three courses. o Display students in each course who got A+.
- Calculate and display semester GPA for all students. Semester GPA is calculated by adding GPA for all courses and then divided by the number of courses.
- Delete a student record from all the linked lists. The program should prompt the student id number.
- Add a student record in all linked lists.
Except the first menu, all others should be implemented using functions of the main program.
Attachment:- Data Structures and Algorithms Assignment File.rar