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

Question

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

E StudentExamRecords - Notepad
File Edit Format View Help
Joe Coyne, 55
Fred Hensen, 72
Greg Statz, 89
Mark Stanley, 65.5
Dan Bristol, 99
Glen Doran, 45
Karen Mack, 76.9
Dawn Tillman, 68
Ed 0'Connor, 86
Hugo Matson, 85
Brian Smith, 91
Nancy Hagman, 90
Jack Darrow, 78.5
Frank Marco, 23
Barry Thorpe, 74
Connie Hunter, 69
Jay Meyer, 89
John Reyes, 64
Fred Balmer, 72
Donna Gorman, 83
Jane Linderman, 67.9
Seth Olson, 100
Carrie Ramirez, 80
Ln 1, Col 1
100%
Windows (CRLF)
UTF-8
Expand
Transcribed Image Text

E StudentExamRecords - Notepad File Edit Format View Help Joe Coyne, 55 Fred Hensen, 72 Greg Statz, 89 Mark Stanley, 65.5 Dan Bristol, 99 Glen Doran, 45 Karen Mack, 76.9 Dawn Tillman, 68 Ed 0'Connor, 86 Hugo Matson, 85 Brian Smith, 91 Nancy Hagman, 90 Jack Darrow, 78.5 Frank Marco, 23 Barry Thorpe, 74 Connie Hunter, 69 Jay Meyer, 89 John Reyes, 64 Fred Balmer, 72 Donna Gorman, 83 Jane Linderman, 67.9 Seth Olson, 100 Carrie Ramirez, 80 Ln 1, Col 1 100% Windows (CRLF) UTF-8

Expert Answer

Want to see the step-by-step answer?

Check out a sample Q&A here.

Want to see this answer and more?

Experts are waiting 24/7 to provide step-by-step solutions in as fast as 30 minutes!*

*Response times may vary by subject and question complexity. Median response time is 34 minutes for paid subscribers and may be longer for promotional offers.
Tagged in
Engineering
Computer Engineering

Programing

Related Computer Engineering Q&A

Find answers to questions asked by students like you.

Q: Problem 9: A runner is at the starting line and hears the starting gun. He starts running from rest ...

A: Given data: -  The constant acceleration at starting is ai = 0.51 m/s2. The distance between starti...

Q: In 20-- the annual salaries paid each of the officers of Abrew, Inc., follow. The officers are paid ...

A: FICA tax refers to the Federal Insurance Contribution Act tax which is Country U.S law that creates ...

Q: The value of a car decreases linearly with time. The car was bought new for $85,000 and had a value ...

A: The initial cost of the new car is $ 85,000.We know that the linear model y = mx + bLets make x = t ...

Q: As a 15.1-gram sample of a metal absorbs 48.75 J of heat, its temperature increases 25.0°C. What is ...

A: Given that: Mass of sample (m) = 15.1 g Heat (q) = 48.75 J Change in temperature (∆T) = 25°C Specifi...

Q: Which of the points A(-4, 0, -1). B(3, 1, -1), and C(2, 4, 6) is closest to the yz-plane? Which poin...

A: Click to see the answer

Q: Write an expression whose value is the fifth character of the String name. So if the value of name w...

A: The given problem is to be solved in Java where the requirement is to extract 5th character from a s...

Q: Multiple-step income statement and balance sheetThe following selected accounts and their current ba...

A: Since you have posted a question with multiple sub-parts, we will solve the first three sub-parts fo...

Q: How far did they calculate out before making that decision … 1000 places ….10, 000 places? How many ...

A: Given: To explain the given statement as follows,

Q: It is a beautiful afternoon, and Jose is considering taking a leisurely two-hour stroll through the ...

A: Opportunity cost:- This can be explained as the possible rewards that a person, investor, or institu...

Q: Ebony bought a 3–yr Treasury note that paid the equivalent of 5.8% simple interest. She invested $30...

A: Click to see the answer

Q: MC Qu. 29-70 (Algo) Refer to the accompanying data, which...     Potential Real GDP $200 billion N...

A: Okun's law shows the inverse relationship between GDP and the unemployment rate. It is negative due ...

Q: Propose an efficient synthesis of each of the following transformations: (a) Br (c) (d)

A: Click to see the answer

Q: A 2.0-cmcm-diameter, 0.50-mmmm-thick spherical plastic shell holds carbon dioxide at 2.0 atm pressur...

A: Given: Spherical plastic shell of 2 cm (0.02 m) diameter, thickness 0.5 mm (0.5×10-3m) Pressure is 2...

Q: A virus has a mass of 9.0 × 10 - 12 mg and an oil tanker has a mass of 3.0 × 10' kg. Use this inform...

A: Given : mass of virus = 9.0 X 10-12 mg = 9.0 X 10-15 g                                       (since ...

Q: what pages will be favored for the following search terms: Chevrolet AND Corvette A. Pages about C...

A: Click to see the answer

Q: Suppose that a random sample or size n = 5 was selected from the vineyard properties for sale in Son...

A: Data visualization is the process of denoting the numerical data visually. Data visualization can be...

Q: Polyethylene terephthalate (PET) is used in plastic water bottles. A water bottle has a mass of 14.0...

A: The mass of PET plastic water bottle is = 14.0 g The density of plastic is = 1.38 g/cm3 The volume o...

Q: Nitromethane, ch3no2, often called nitro, is used as a fuel additive in some racimg veichules. when ...

A: In this question, we want to determine the moles of Oxygen gas are required to burn with 7.60moles o...

Q: if m  angle ABC is one degree less than three times m angle ABD and m angle DBC=47 degrees, find eac...

A: Click to see the answer

Q: Which of the following is not part of feminist psychology? A) discovering the contributions of wome...

A: Feminist psychology refers to an approach towards psychology that emphasizes the role of females in ...

Q: The following table lists the joint probabilities associated with smoking and lung disease among 60-...

A: Click to see the answer

Q: Understanding Cultural Connections What does the reader learn about the Maasai people from "The Begi...

A: (Please note: questions based on sources should be posted along with the source) The Maasai people a...

Q: 1. Calculate the values for the blanks in the shaded areas of the table below (identify your respons...

A: Export: It refers to the goods and services that a country sends to other nations. Export helps the ...

Q: The magnitude of the magnetic field produced by a long, straight wire is proportional to the current...

A: Given two long wire having current in it and placed parallel to each other small current  = I1 = 5 A...

Q: Carmela believes her assistant, Lian, is incompetent. She notices only what Lian does wrong while ig...

A: The prejudiced treatment of one group over the other is called a Bias. A Bias is favorable to one gr...

Q: About two centuries ago, Benjamin Franklin showed that 1 teaspoon of oil would cover about 0.5 acre ...

A: The volume of the oil (V) = Area (A) x Thickness (T), or T = V/A  Given: The volume is 5.0 cm3. The ...

Q: Boston Electric Generators has been getting many complaints from its major customer, Home Station, a...

A: The scatter diagram is a graph plotted between two variables and it helps in understanding the relat...

Q: Ledger accounts, adjusting entries, financial statements, and closing entries; optionalspreadsheet T...

A: Answer: Journal entry:

Q: For the histogram on the right determine whether the mean is greater than, less than, or approximate...

A: Histogram: there are many ways of presentation of frequency distribution in the form of graphs. one ...

Q: Aging of receivables; estimating allowance for doubtful accounts Trophy Fish Company supplies flies ...

A: Since you have posted a question with multiple sub-parts, we will solve first three sub-parts for yo...

Q: cording to “The Creation Hymn,” which of the following gave rise to life after the physical universe...

A: The Creation Hymn was Nāsadīya Sūkta, the 129th hymn of Rigveda’s 10th mandala, which describes the ...

Q: A linear programming computer package is needed. Romans Food Market, located in Saratoga, New York,...

A: A linear programming is a method which can help in determining the maximum profit or lowest cost by ...

Q: Flow of Accounts into Financial Statements The balances for the accounts that follow appear in the A...

A: Financial statements: Financial statements are condensed summary of transactions communicated in the...

Q: 1. The route of the first section of the walk is along an east-west path in the park. The walk start...

A: To find the distance between points A and B 

Q: Gross Anatomy of the Typical Long Bone trabeculue of spongy bons 74 Review Sheet 7 diagrams. red mar...

A: Bone is the hard part of the skeletal system made up of calcium and is accountable for providing str...

Q: Calculate the mass of dinitrogen tetroxide. (N2O4) that contains a million  (1.000x106 )oxygen atoms...

A: Given,Dinitrogen tetroxide contains 1.0 × 106 oxygen atoms.

Q: The amino acid glycine, C2H5NO2, is one of the compounds used by the body to make proteins. The equa...

A: Click to see the answer

Q: x? + x- Question 1 Derive the Quadratic Formula, by selecting the appropriate pulldowns for J, K, L,...

A: Click to see the answer

Q: Stockholders' Equity section of balance sheetSpecialty Auto Racing Inc. retails racing products for ...

A: Stockholders' equity is the amount reported in the balance sheet indicating the share of the investo...

Q: You find the following corporate bond quotes. To calculate the number of years until maturity, assum...

A: Par Value of bond = $2000 Current Price = 94.195%*$2000 = $1885.10 Annual Coupon Rate = 5.5% Semi an...

Q: 17.5 mL portion of a 0.1050 M Na2CO3 solution is added to 46.0 mL of 0.1250 M NaCl. What is the conc...

A: 1- First Calculate the total mmoles of Na+ ion in mixting solution :  a) mmoles of Na+ ion in Na2CO3...

Q: During  the year, TRC Corporation has the following inventory transactions.    Date Transaction Num...

A: As per the LIFO method, units that are purchased recently are issued first. So it means ending inven...

Q: Ribbon diagrams show secondary structures and appear less detailed than other models. In one to two ...

A: Ribbon diagrams are the 3-D structure of the protein that shows the overall path and structure of th...

Q: A piston-cylinder assembly contains a mystery substance that undergoes a series of processes. Proces...

A: Click to see the answer

Q: Simple geometry can compute the height of an object from the object's shadow length and shadow angle...

A: Algorithm: Start Import math library  Read angle of elevation and shadow length  Calculate tree_hei...

Q: Financial statements and closing entries 8. Net income $33,425 Beacons Company maintains and repairs...

A: Hi student Since there are multiple subparts, we will answer only first three subparts.

Q: Salts are composed of both cations and anions, both of which can potentially affect pH. Choose the f...

A: Salts affect the pH of solution based on their composition.

Q: An art teacher needs to buy at least 60 brushes for her class. The brush are sold in packs of 8. In ...

A: Here it is given that,  Number of brushes = 60 (at least) Number of brushes in 1 pack =8 minimum num...

Q: Adrian is a songwriter who collects royalties on his songs whenever they are played in a commercial ...

A: Given :   40 Comercial and 130 movie which is having total  earned of 1010 Also total earn 14 for co...

Q: Adjusting entriesOn March 31, the following data were accumulated to assist dieaccountant in prepari...

A: Adjusting entries are entries that are passed at the end of the period in order to accurately reflec...