Question: You are tasked with developing a system that manages and monitors academic records for students at a university. The system should handle creating records, updating
You are tasked with developing a system that manages and monitors academic records for students at a university. The system should handle creating records, updating them, saving to and reading from a file.
Question
Not yet answered
Flag question
Question text
Your project manager has tasked you to implement the following requirements:
Create a StudentRecord class, with the following properties and method:
StudentID: Unique identifier for each student.
Name: Student's name.
CourseGrades: List of CourseGrade objects where each object contains a course name and its corresponding grade.
UpdateGradestring course, double newGrade: Updates the grade for a specific course.
Define a RecordsManager class with the following properties and methods:
RecordsFilePath: The path to the file storing academic records.
StudentRecords: A list of StudentRecord instances.
LoadRecords: Reads the records from a file using StreamReader.
SaveRecords: Writes the records to a file using StreamWriter.
FindRecordstring studentID: Retrieves a student's record by ID
UpdateRecordstring studentID, string course, double newGrade: Updates a student's grade for a specific course.
Answer text Question
Rich text editor
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
