Calculate the weighed score for the homework assignments

Assignment Help Basic Computer Science
Reference no: EM13306896

For this program, you are going to modify your previous program so that it will now read multiple inputs for each homework assignment (you will need to have a flag to end inputting assignments), upto 3 parts for the midterm exam instead of 1 midterm exam score and exactly two parts for the final exam. It will then calculate the letter grade of the class.

The weight of the assignments and exams are still the same, except that the maximum score will now differ.

  • Homework Assignments - Weight is 50
  • Midterm exam - Weight is 20
  • Final exam - Weight is 30

You will write different functions for this program, as follows:

  • One function to read all the input for all the homework assignments, which will then calculate the weighted score for the homework, and return that score.
  • One function to read all the grades for the parts of the midterm exam, after which it will calculate the weighted score of the midterm exam and return that score,
  • Another function to read the 2 parts of the final exam, which will also then calculate the weighted score of the final exam and return that score.
  • One function to take in all the weighted scores for the 3 parts and calculate the letter grade and return the letter grade.
  • One function to print the output.

Your function to read all the assignments should do the following:

Until the user indicates that they have finished inputting data, you should read the score for each homework assignment and the maximum possible score for each assignment. Once the user has finished inputting the data, you then need to calculate the weighed score for the homework assignments.

Eg: assume that these values were input:

21 out of 25 possible points

30 out of 30 possible points

10 out of 12 possible points

55 out of 60 possible points

Then your total would be 116 out of 127 possible points. In which case, your weighted score would be 45.67 (116*50/127).

 

Reference no: EM13306896

What are the possible consequences of that limitation

The DBMS does not guarantee that the semantic meaning of the transaction truly represents the real-world event. What are the possible consequences of that limitation? Give a

Nefarious computer activities called ping sweeps

Your boss has just heard about some nefarious computer activities called ping sweeps and port scans. He wants to know more about them and what their impact might be on the com

Assignment on menu selection

Despite being a fairly old technology, menu-driven interfaces are very common in user interface design.  Menu-driven interfaces consist of a series of screens which are navi

Raygen company slum

Read the "Raygen Company Slum"case study and write an essay that describes how you would handle the situation. You essay should incorporate the leadership skills learned this

Conduct observation used in business or organization

Conduct the observation to someone involved in procedure which is used in the business or organization. This person could be someone at university.

Show with diagrams how the median filters work

Explain why in some image processing scenarios, filters are used instead of point operations on pixel values Show with diagrams how the Median Filters work

Write a method called stutter that doubles size of a list

Write a method called stutter that doubles the size of a list by replacing every integer in the list with two of that integer. For example, suppose a variable list stores th

Consumer demand helped managers develop the appropriate

In each of the following examples, describe how the information given about consumer demand helped managers develop the appropriate strategies to increase profitability and ho

Reviews

Write a Review

 
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