Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Implement a file processing program that generates a course grades summary report based on the course, instructor, and student data stored in a file.The program
Implement a file processing program that generates a course grades summary report based on the course, instructor, and student data stored in a file.The program will prompt the user for the name of the course data file and will display a report showing:Course number & descriptionInstructor NameTermList of students registered in the course, and their corresponding gradesNumber of students that passed & failed the courseCourse passing percentageAverage grade for the courseThe course data file is structured as follows per line:Course number & descriptionInstructor NameTermList of students in the course, where each student record has two fields two lines per studentStudent NameStudent GradeThe user may process as many files as they wish.NotesUse Exception Handling to catch file processing errors such as IOError, FileNotFoundError, etc.Average & passing percent values are displayed with a precision of decimal places.You may use the COPCtxt file attached to the Unit Lab Assignment and Submission Folder for testing purposes.
Output Samples
Course Grades Summary Report
Enter name of course file: COPctxt
Broward College Grades Summary
COPC Introduction to Python
Professor: Prof. Tamika Clarke Term: Spring
Student Name Grade
Alan Anderson
Boyd Bosh
Carolyn Cummings
Dante Dobbs
Elizabeth Perez
Frank Ferguson
Grant Gills
Daniella Cava
Edmund Edisson
Faruk Fahra
Ginette Gould
Hilda Hess
Irina Izquierdo
James Jones
Keysha King
Students' Performance
Passed:
Failed:
Passing Percent: &
Average Grade:
Would you like to process another file
The Text version of the Output samples for the Course Grades Summary. Report program.
Input Validation
Course Grades Summary Report
Enter name of course file: COPCtxt
Error COPCtxt file not found.
Would you like to process another file
Firmat exactly as shiwn in output
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started