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 7
Not yet answered
Flag question
Question text
3.1Your 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.
- UpdateGrade(string 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.
- FindRecord(string studentID): Retrieves a student's record by ID.
- UpdateRecord(string studentID, string course, double newGrade): Updates a student's grade for a specific course.
[25]
Answer text Question 7
Rich text editor

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!