Cumulative average for all the assignments

Assignment Help Python Programming
Reference no: EM132252758

Write a program that asks the user to enter a student's name and 8 numeric assignment scores (out of 100 for each assignment). The program should output the students name, a letter grade for each assignment score, and cumulative average for all the assignments. Please note, there are 12 students in the class so your program will need to be able to either accept data for 12 students or loop 12 times in order to process all the students in the class.

Write the following functions in the program:

calc_average - this function should accept 8 assignment scores as arguments and return the average of the scores

determine_grade - this function should accept an assignment score as an argument and return a letter grade for the score based on the following grading scale:

90-100 A

80-89 B

70-79 C

60-69 D

Below 60 F

Data for the program:

Lucy Miller 45 69 70 66 87 82 75 73

Frank Jones 90 93 87 84 91 93 90 88

Nancy Franklin 99 97 92 90 88 89 87 90

Judy Forsyth 72 86 59 69 72 78 80 82

Tony Spirit 87 83 86 90 79 76 80 88

Ruth Ames 66 69 72 61 69 73 71 70

John Smith 100 98 89 93 82 86 91 93

Andrew Barnes 78 77 75 83 80 87 80 78

Becky Stone 98 94 90 89 84 83 79 93

Marvin Decker 59 54 61 45 39 66 70 72

Steve Parker 71 78 73 62 66 72 64 70

Frank Harper 89 86 90 92 91 85 88 93

REMEMBER - to put your name on the lab in comments and put comments in your program for what the program is doing.

Verified Expert

The project is using python language to input the student name and marks in 8 subject for 12 student using for loop. The program then compute the average marks, and find the letter grade of each subject marks and display the student result which shows students name, letter grade of each subject marks and the average marks for each student.

Reference no: EM132252758

Questions Cloud

Seven components of the marketing research report : What are the seven components of the marketing research report? Briefly discuss each objective and why it is important
Gain and sustain competitive advantage : How Groupon apply resource-based view to show information resources may be used to gain and sustain competitive advantage?
Explain in detail the criteria for ethical decision making : Explain in detail the criteria for ethical decision making. Briefly discuss the need for ethical behavior by an organization.
What is the difference between felt empowerment : What is the difference between felt empowerment and structural empowerment?
Cumulative average for all the assignments : The program should output the students name, a letter grade for each assignment score, and cumulative average for all the assignments
Which of the approaches should an organization : Which of the following approaches should an oarganization adopt for managing uncertainty in a simple and dynamic environment
The world is coping with economic recession : Suppose you are the CEO of Nike and the world is coping with an economic recession. Would you change the corporate strategy?
Examples of master-servant relationship : What is a definition and examples of Master-Servant Relationship?
What is a general formula for the cost : Assignment - Math Quiz. If the total cost of x apples is b cents, what is a general formula for the cost, in cents, of y apples

Reviews

Write a Review

Python Programming Questions & Answers

  Write a python program to implement the diff command

Without using the system() function to call any bash commands, write a python program that will implement a simple version of the diff command.

  Write a program for checking a circle

Write a program for checking a circle program must either print "is a circle: YES" or "is a circle: NO", appropriately.

  Prepare a python program

Prepare a Python program which evaluates how many stuck numbers there are in a range of integers. The range will be input as two command-line arguments.

  Python atm program to enter account number

Write a simple Python ATM program. Ask user to enter their account number, and print their initail balance. (Just make one up). Ask them if they wish to make deposit or withdrawal.

  Python function to calculate two roots

Write a Python function main() to calculate two roots. You must input a,b and c from keyboard, and then print two roots. Suppose the discriminant D= b2-4ac is positive.

  Design program that asks user to enter amount in python

IN Python Design a program that asks the user to enter the amount that he or she has budget in a month. A loop should then prompt the user to enter his or her expenses for the month.

  Write python program which imports three dictionaries

Write a Python program called hours.py which imports three dictionaries, and uses the data in them to calculate how many hours each person has spent in the lab.

  Write python program to create factors of numbers

Write down a python program which takes two numbers and creates the factors of both numbers and displays the greatest common factor.

  Email spam filter

Analyze the emails and predict whether the mail is a spam or not a spam - Create a training file and copy the text of several mails and spams in to it And create a test set identical to the training set but with different examples.

  Improve the readability and structural design of the code

Improve the readability and structural design of the code by improving the function names, variables, and loops, as well as whitespace. Move functions close to related functions or blocks of code related to your organised code.

  Create a simple and responsive gui

Please use primarily PHP or Python to solve the exercise and create a simple and responsive GUI, using HTML, CSS and JavaScript.Do not use a database.

  The program is to print the time

The program is to print the time in seconds that the iterative version takes, the time in seconds that the recursive version takes, and the difference between the times.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd