Our Services

Get 15% Discount on your First Order

[rank_math_breadcrumb]

Instruction: This week’s assignment involves writing a Python program to compute the weighted average grades for students and determine which student has the highest average. Write a function that use

Instruction:

This week’s assignment involves writing a Python program to compute the weighted average grades for students and determine which student has the highest average.

Write a function that uses student name as argument. The function should display the student name and prompt the user for three grades for the student: one for the discussion, one for the quiz, and one for the programming assignment. The function should calculate the weighted average grade using the following formula and return the calculated average.

wtAvgGrade = discussion_grade * 0.15 + quiz_grade * 0.35 + assignment_grade * 0.5

Write a main program which defines a list of four students. You can decide on the names of the four students. Use a for loop, to call the function successively for each student to calculate weighted average grade for each student. In addition, a check should be made to determine whether that student’s grade is the highest so far. Once the loop completes, the program should display the name of the student with the highest average grade, and the corresponding weighted average grade. If more than one student has the highest grade, display the name of the first such student.

Your program should include Header comments (what the program does) and in-line comments (the major design steps). Document the values you chose for the student name list as well. Also document the values you chose as the weights for the three grades in your comments as well.

Submit your Python program as a text file (.py) file. In addition, submit a Design outline and a Test plan/report (at least 3 different test cases) in a Word document or a PDF file, and include a screenshot of execution of your program for each test case.

Your submission must also adhere to the SubmissionRequirements document. (i.e., Filename and display your name, class, date in the output).

Grading:

15% – Design – outline proper sequence of steps, calculations (if necessary). Identify all your loops, validation.

10% – Test Plan – Completeness of your Test plan/report (at least three test cases).  Include screenshots for each test case.

10% – Documentation – Header and in-line comments. Documentation of major steps (from design outline).

65% – Program prompts and executes correctly on all test cases. Satisfies all requirements (each requirement – 10 pts, compiles – 20 pts, effectiveness and neatness – 10 pts, descriptive variables – 5 pts, def main() – 5 pts).

Important note: This is an individual assignment and students are required to submit their original/independent work and adhere to UMGC academic integrity policy. Your submission should adhere to the Submission Requirements document. It is advised that you read all the material, including the Lecture before attempting the assignment.

Share This Post

Email
WhatsApp
Facebook
Twitter
LinkedIn
Pinterest
Reddit

Order a Similar Paper and get 15% Discount on your First Order

Related Questions

HTML Basics: A Beginner’s Guide HTML (HyperText Markup Language) is the standard language used to create web pages. It provides the structure for web content, allowing you to define elements like head

HTML Basics: A Beginner’s Guide HTML (HyperText Markup Language) is the standard language used to create web pages. It provides the structure for web content, allowing you to define elements like headings, paragraphs, links, images, and more. Here’s a concise guide to help you get started with HTML. 1. Structure

Introduction to Python: A Beginner’s Guide Python is a powerful, versatile programming language that has gained immense popularity among developers, data scientists, and educators. Its simple syntax a

Introduction to Python: A Beginner’s Guide Python is a powerful, versatile programming language that has gained immense popularity among developers, data scientists, and educators. Its simple syntax and readability make it an ideal choice for beginners. In this tutorial, we’ll cover the basics of Python, including variables, data types, and

Unit VII PowerPoint Presentation Question Your manager at work is extremely impressed with your computer skills since you took a computer course. The company is installing computers in its production

Unit VII PowerPoint Presentation Question  Your manager at work is extremely impressed with your computer skills since you took a computer course. The company is installing computers in its production facility, and she has asked you to create a brief PowerPoint presentation that shows tips for working in the new

Hide Assignment InformationTurnitinThis assignment will be submitted to Turnitin.InstructionsFor this project, you will apply the CompTIA 6-Step Troubleshooting Process to explain how you would tackle

Hide Assignment InformationTurnitinThis assignment will be submitted to Turnitin.InstructionsFor this project, you will apply the CompTIA 6-Step Troubleshooting Process to explain how you would tackle Hudson Fisher Associates Help Desk Tickets. There are three groups of tickets, Level 1, Level 2, and Level 3. You will pick two tickets from

This week's module covered some of the cloud monitoring and autoscaling techniques. You were able to use CloudWatch, one of the AWS cloud monitoring tools. Think about how you might use Clou

This week's module covered some of the cloud monitoring and autoscaling techniques. You were able to use CloudWatch, one of the AWS cloud monitoring tools. Think about how you might use CloudWatch in your deployment as you answer the following questions. In addition to your primary forum response, post at

For this project, you will apply the CompTIA 6-Step Troubleshooting Process to explain how you would tackle Hudson Fisher Associates Help Desk Tickets. There are three groups of tickets, Level 1, Leve

For this project, you will apply the CompTIA 6-Step Troubleshooting Process to explain how you would tackle Hudson Fisher Associates Help Desk Tickets. There are three groups of tickets, Level 1, Level 2, and Level 3. You will pick two tickets from each group. As you prepare to analyze and hopefully

This week, you will submit the second project, the Desktop Migration Proposal. Using the requirements analysis your manager provided and the Internet research you conducted, submit your recommendation

This week, you will submit the second project, the Desktop Migration Proposal. Using the requirements analysis your manager provided and the Internet research you conducted, submit your recommendation to the assignment folder. As you are writing your recommendation, ensure your analysis and recommendations align with your manager’s priorities and concerns.

The CompTIA A+ certification demonstrates to employers that you have the knowledge, ability, and skills in entry-level PC technology. Many industry insiders started with the CompTIA A+, and that led t

The CompTIA A+ certification demonstrates to employers that you have the knowledge, ability, and skills in entry-level PC technology. Many industry insiders started with the CompTIA A+, and that led them to higher-paying, more complex jobs in both IT and cybersecurity. Many large corporations such as Apple, Cisco, Microsoft, and

Comparing and contrasting space and time complexity in algorithm analysisWhen performing an algorithm analysis, **time complexity** and **space complexity** are two of the most significant variables t

Comparing and contrasting space and time complexity in algorithm analysisWhen performing an algorithm analysis, **time complexity** and **space complexity** are two of the most significant variables to consider. Although they both gauge an algorithm’s efficiency, they focus on distinct areas of performance.**Time complexity** is the relationship between an algorithm’s execution

Career Focus (Required/Graded) SubscribeThe CompTIA A+ certification demonstrates to employers that you have the knowledge, ability, and skills in entry-level PC technology. Many industry insiders sta

Career Focus (Required/Graded) SubscribeThe CompTIA A+ certification demonstrates to employers that you have the knowledge, ability, and skills in entry-level PC technology. Many industry insiders started with the CompTIA A+, and that led them to higher-paying, more complex jobs in both IT and cybersecurity. Many large corporations such as Apple, Cisco,

CompTIA’s T/S Methodology (Required/Graded) SubscribeFor this discussion, you will be assessing the following help desk ticket below from Chikako (connectivity issue). Use the CompTIA 6-step troublesh

CompTIA’s T/S Methodology (Required/Graded) SubscribeFor this discussion, you will be assessing the following help desk ticket below from Chikako (connectivity issue). Use the CompTIA 6-step troubleshooting process below to help figure out the connectivity issue. CompTIA 6-Step Troubleshooting Process: Identify the problem. Establish a theory of probable cause. Evaluate the theory