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

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

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