Answered step by step
Verified Expert Solution
Link Copied!

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 student)Student 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 0 decimal places.You may use the COP1000C.txt file attached to the Unit 6- Lab Assignment and Submission Folder for testing purposes.
Output Samples
Course Grades Summary Report ...
Enter name of course file: COP1000c.txt
Broward College Grades Summary
COP1000C - Introduction to Python
Professor: Prof. Tamika Clarke Term: Spring 2021
Student Name Grade
Alan Anderson 57
Boyd Bosh 89
Carolyn Cummings 95
Dante Dobbs 58
Elizabeth Perez 100
Frank Ferguson 100
Grant Gills 78
Daniella Cava 100
Edmund Edisson 85
Faruk Fahra 90
Ginette Gould 75
Hilda Hess 85
Irina Izquierdo 92
James Jones 60
Keysha King 100
Students' Performance
Passed: 13
Failed: 2
Passing Percent: 87 &
Average Grade: 84
Would you like to process another file (yn)?
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: COP1334C.txt
Error ... COP1334C.txt file not found.
Would you like to process another file (yn)?n
Firmat exactly as shiwn in output
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database 101

Authors: Guy Kawasaki

1st Edition

0938151525, 978-0938151524

More Books

Students also viewed these Databases questions

Question

In an Excel Pivot Table, how is a Fact/Measure Column repeated?

Answered: 1 week ago