Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The average is the total score divide by the number of entries. As a team, develop and submit a Mark Calculation Program (CourseMark.py) Your program

The average is the total score divide by the number of entries.

image text in transcribedimage text in transcribed

As a team, develop and submit a Mark Calculation Program (CourseMark.py) Your program will calculate and display the CSCI 120C final course mark in % and as letter grade for one student. The student's name, the participation score, the scores for the two quizzes and the project, the midterm and the final exam scores are entered by the user. The program needs to validate the input, only scores between 0 and 100 are accepted. The program works as follows: Enter your name: Zhenzhu Enter your participation mark: 100.6 mark not valid, try again Enter your participation mark: 100 Enter your quiz 1 mark: 78.3 Enter your quiz 2 mark: 67.1 Enter your quiz 3 mark: 65.1 Enter your midterm exam mark: 75.1 Enter your final exam mark: 65.2 The CSCI 100 final mark for Zhenzhu is 75.0% (B) 1. In this assignment use a main() function. As your starting point, use the top level design of the main() function in the file CourseMark.py. (Please download). Refine the steps, given as comments (no coding yet!) 2. Which functions are needed in each step? Define their headers, i.e. their names and parameter lists. For value-returning functions: Which value do they return? Are there any functions you want to use several times (those need a parameter to make them more flexible to use)? 3. Which variables are needed to store data in your program? (Remember: Data entered into the program (with input) must be stored in a variable.) 4. In your team, define and test all the functions needed. You may split up the work, and you may use functions from previous labs. 5. In the body of the main() function, after each comment, call the functions with the correct arguments at their appropriate positions. def main(): # input: get name and all (valid!) scores # processing: calculate the final mark and the letter grade # output: display the course result # call the main function main()

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

Concepts of Database Management

Authors: Philip J. Pratt, Mary Z. Last

8th edition

1285427106, 978-1285427102

More Books

Students also viewed these Databases questions

Question

What is quality of work life ?

Answered: 1 week ago

Question

What is meant by Career Planning and development ?

Answered: 1 week ago

Question

What are Fringe Benefits ? List out some.

Answered: 1 week ago

Question

What is the purpose of the Salary Structure Table?

Answered: 1 week ago

Question

What is the scope and use of a Job Family Table?

Answered: 1 week ago