Briefly explains the program

Assignment Help Computer Engineering
Reference no: EM131389899

Programming Assignment: Gradanator

This interactive program focuses on if/else statements, input, and returning values. Turn in a file named gradanator.py. The program reads as input a student's grades on homework and three exams and uses them to compute the student's course grade.

The program begins with an introduction message that briefly explains the program. The program then reads scores in four categories: midterm 1, midterm 2, homework and final. Each category is weighted: its points are scaled up to a fraction of the 100 percent grade for the course. As the program begins reading each category, it first prompts for the category's weight.

This program processes user input using input. You should handle the following two special cases of input:

  • A student can receive extra credit on an individual assignment, but the total points for homework are capped at the maximum possible. For example, a student can receive a score of 22/20 on one homework assignment, but if their total homework score for all assignments is 63/60, this score should be capped at 60/60. Section points are capped at 34.
  • Cap exam scores at 100. If the raw or shifted exam score exceeds 100, a score of 100 is used.

Attachment:- Assignment.rar

Reference no: EM131389899

Questions Cloud

Find the reliability of the transistor : Find the reliability of the transistor after 4000 hours of operation. What is the mean time to failure? If the repair rate is 0.004/hour, find the availability.
Describe which position you support and defend your position : Write a 1,200-word analysis: on Active monetary and fiscal policy and Tax incentives for saving. Evaluate both the advocates' position and the critics' position. Determine which position you support and defend your position.
Find the reliability of the subassembly : Four components A, B, C, and D are placed in parallel to make a subassembly in a circuit board. The reliabilities of A, B, C, and D are 0.93, 0.88, 0.95, and 0.92, respectively. Find the reliability of the subassembly.
Inclination affect the amount of solar power collected : 1.  How do latitude and inclination affect the amount of solar power collected.  What else can affect the solar power collected? 2. How to calculate the doubling time with exponential growth given a percent growth.  Like power plant problem.
Briefly explains the program : CSc 110, Spring 2017 Programming Assignment: Gradanator. The program begins with an introduction message that briefly explains the program. The program then reads scores in four categories: midterm 1, midterm 2, homework and final. Each category is..
Find the final temperature : Methane gas is initially at 550 K and p = 5 bar. It undergoes adiabatic expansion until its pressure drops to p = 1 bar. Find the final temperature if you assume that the gas is ideal and the methane molecule can be represented as a very small sph..
Find the reliability of the subassembly : Four components A, B, C, and D are placed in parallel to make a subassembly in a circuit board. The reliabilities of A, B, C, and D are 0.93, 0.88, 0.95, and 0.92, respectively. Find the reliability of the subassembly.
Maximum payload at sea level : A modern-day zeppelin holds 9,470 m3 of helium. Compute its maximum payload at sea level. (Assume the helium and air to be at 0°C and 1 atm.)
Find the reliability of the system : Find the reliability of the system. If you had a choice of improving system reliability by modifying any two components, how would you proceed?

Reviews

len1389899

2/10/2017 5:06:49 AM

This document describes several numbers that are important to the overall program. For full credit, you should make at least one of such numbers into a constant so that the constant could be changed and your program would adapt. Some of your code will use conditional execution with if and if/else statements. Part of your grade will come from using these statements properly. Review the portion of lecture 8 about nested if/else statements and factoring them.

len1389899

2/10/2017 5:06:41 AM

It's a coding assignment. Using specific things as shown. For this assignment, you are limited to Python features. A major part of this assignment is demonstrating that you understand parameters and return values. Use functions, parameters, and returns for structure and to eliminate redundancy. For full credit, use at least 4 non-trivial functions other than main. Like on previous assignments, you should not have print statements in your main function. Also, main should be a concise summary of the overall program; main should make calls to several of your other functions that implement the majority of the program's behavior. Your functions will need to make appropriate use of parameters and return values. Each function should perform a coherent task and should not do too large a share of the overall work. Avoid lengthy “chaining” of function calls, where each function calls the next, no values are returned, and control does not come back to main.

Write a Review

Computer Engineering Questions & Answers

  Describe three different specific malware instances

Describe three different specific malware instances, with specific real life impact. What is the worst that can happen in these three instances? Defenses

  Write a customcar class that is derived from car class

It will need to have its own constructor. The constructor should simply call the Car constructor and then set the private features variable to be empty. See the book for an example.

  There is a common misconception that analog technology is

there is a common misconception that analog technology is no longer used in the transmission of digital data. however

  Describe the emerging trends of near field communication

describe the emerging trends of near field communication bluetooth wifi smartphones and rfid as they relate to the

  Create java console program using the class fraction

plan the class Fraction that can be used to manipulate fractions in a program. Among others, class Fraction must include methods to add, subtract, multiply, and divide fractions. When you add, subtract, multiply, or divide fractions, your rply nee..

  Write the code for each given exercise

Write the code for each exercise. Take a screen shot of each completed Case Programming Assignment. Take a screen shot of each completed Guided Development Program problems.

  Write down an event handler that automatically displays

design an ASP.NET project with Visual Studio.NET 2005. Add an aspx form to the application. Place an Image control, three RadioButton controls, a Label control, a TextBox control, and a Button control on the form. Add three images to the applicati..

  Analyze the invention and growth of crowdsourcing in the

crowdsourcing in the field of interface design takes tasks traditionally performed by specific individuals and spreads

  Plot the average lengths versus m

(a) For a binary source with probabilities P(0) = 0.9, P(l) = 0.1, design a Huffman code for the source obtained by blocking m bits together, m = 1, 2, . . ., 8. Plot the average lengths versus m. Comment on your result.

  Produce a decision table

Produce a decision table

  Description in the last episode of the mafghanistan trilogy

description in the last episode of the mafghanistan trilogy the mamerican forces invaded liberated mafghanistan in

  What is the role of policy in formulating the information

What is the role of policy in formulating the information assurance manual? Why is it useful to have a template for documenting the information assurance system

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