For this project you will use the file included in the attached zip file. It is a series of fictional exam records. You must create a Python application that reads this file, assigns a letter grade to each student based on the scale below, outputs the student name, grade, and letter grade to the screen, and outputs that same information into a comma separated values file. You must use functions, parameters, returns, loops, collections and conditions, and some kind of design (pseudocode or flowcharts). Naming and organization counts. Functions to consider: opening a file, closing a file, reading records, writing records, determining letter grade, and writing to console. Grade scale to use in the application: A: >95% A-: >91 and <95 B+: >87 and <91 B: >83 and <87 B-: >80 and <83 C+: >78 and <80 C: >75 and <78 D: >70 and <75 F: <7
For this project you will use the file included in the attached zip file. It is a series of fictional exam records.
You must create a Python application that reads this file, assigns a letter grade to each student based on the scale below, outputs the student name, grade, and letter grade to the screen, and outputs that same information into a comma separated values file.
You must use functions, parameters, returns, loops, collections and conditions, and some kind of design (pseudocode or flowcharts). Naming and organization counts.
Functions to consider: opening a file, closing a file, reading records, writing records, determining letter grade, and writing to console.
Grade scale to use in the application:
A: >95%
A-: >91 and <95
B+: >87 and <91
B: >83 and <87
B-: >80 and <83
C+: >78 and <80
C: >75 and <78
D: >70 and <75
F: <70
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 2 images