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

Questions Cloud

Disk city annual fixed costs : Disk City, Inc. is a retailer for digital video disks. The projected net income for the current year is $2,320,000 based on a sales volume of 230,000 video disks. Disk City has been selling the disks for $19 each. The variable costs consist o..
Determine the drag coefficient for the sign type : The pressure on the back side is negative; its magnitude is 0.5 times the (negative) stagnation pressure on the back side. Determine the drag coefficient for the sign type
What is the specific volume of superheated steam at psia : What is the specific volume of superheated steam at 42 psia and 340 degrees fahrenheit
Determine the radius of wheels neglecting rolling resistance : If the coefficient of kinetic friction between the 12.5 mm diameter axles and the wheels is mu_k = .3, determine the radius of the wheels. neglect rolling resistance of the wheels on the surface.
Calculate the weighed score for the homework assignments : 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).
Sketch and label vi-vo and vn versus time : An inverting amplifier is implemented with a R1=10 kilo Ohms and R2= 100 Kilo Ohms, and an op amp with finite open-loop gain a=10^3 V/V. Sketch and Label Vi,Vo,and Vn versus time if Vi is a 1-kHz triangular wave
Write a vba function that receives a variable name : Write a VBA function that receives a variable name plus four known values and then solves the ideal gas equation for a specified variable.
Foreign currency transactions and hedging foreign : Foreign Currency Transactions and Hedging Foreign Exchange Risk 433 EXCEL CASE-DETERMINE FOREIGN EXCHANGE GAINS AND LOSSES
What is the water depth 300 m upstream from the outfall : A horizontal rectangular concrete channel terminates in a free outfall. The channel is 4m wide and carries a discharge of water 12 cms. What is the water depth 300 m upstream from the outfall

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Cloud provider secure large amount of capital

Few organizations tend to prefer operating expense models. whether Cloud providers will continue to secure large amount of capital....or will equity firms stop their funding?

  Write a java program using array or array list

Write a java program using Array or Array list and Use Methods.

  What is x after the following if-else statement is executed

What is x after the following if-else statement is executed? Use a switch statement to rewrite it and draw the flowchart for the new switch statement.

  Describe the conceptual model of a two-dimensional array

Describe the conceptual model of a two-dimensional array. Include in your explanation how a two-dimensional array might be used, why these arrays are similar to tables, and how to declare and initialize a two-dimensional array.

  Hypothetical business engaged in e-business

Establish a target audience and scope for your presentation. Select a real or hypothetical business engaged in e-business and outline its central offerings and/or services.

  Write sequence of statements-find first comma in string line

Write down sequence of statements which finds first comma in the string line, and assigns to variable clause portion of line up to, but not including comma.

  Write a main program which will prompt the user

Write a Main Program which will prompt the user for how many numbers they which to enter as an integer counter (numcount) variable. The program should then prompt the user to enter each number using a loop and then output the average of the number..

  Find probability of having no umbrella if it rains

When rain is forecast, Mr. Pickwick takes his umbrella. When rain is not forecast, he takes it with  probability 1/3. Find the probability that Pickwick has no umbrella, given that it rains.

  Code around in a file to add joptionpane

It requires us to change some code around in a file to add joptionpane dialog boxes in instead of the fields already there. The following is the exact wording of the assignment:

  Details on any information

Details on any information/software that might not be submitted for evaluation due to NDA requirements or security/privacy concerns.

  Write a machine-language program to input two one-digit num

Write a machine-language program to input two one-digit numbers, add them, and output the one-digit sum. Write it in a format suitable for the loader and execute it on the Pep/8 simulator.

  Explain significance of top management commitment

Explain the significance of top management commitment and development of standards for successful project management. Give examples to show the significance of these items based on experience on any type of project.

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