Write grading program for a class with the grading policies

Assignment Help C/C++ Programming
Reference no: EM131608891

Question: Write a grading program for a class with the following grading policies:

a. There are three quizzes, each graded on the basis of 10 points.

b. There is one midterm exam, graded on the basis of 100 points.

c. There is one final exam, graded on the basis of 100 points.

The final exam counts for 40% of the grade. The midterm counts for 35% of the grade. The three quizzes together count for a total of 25% of the grade. (Do not forget to convert the quiz scores to percentages before they are averaged in.) Any grade of 90 or more is an A, any grade of 80 or more (but less than 90) is a B, any grade of 70 or more (but less than 80) is a C, any grade of 60 or more (but less than 70) is a D, and any grade below 60 is an F. The program should read in the student's scores and output the student's record, which consists of three quiz scores and two exam scores, as well as the student's overall numeric score for the entire course and final letter grade. Define and use a class for the student record. The class should have instance variables for the quizzes, midterm, final, overall numeric score for the course, and final letter grade. The overall numeric score is a number in the range 0 to 100, which represents the weighted average of the student's work. The class should have methods to compute the overall numeric grade and the final letter grade. These last methods should be void methods that set the appropriate instance variables. Your class should have a reasonable set of accessor and mutator methods, an equals method, and a to String method, whether or not your program uses them. You may add other methods if you wish.

Reference no: EM131608891

Questions Cloud

Jane manly is suing virginia packman for negligence : You are a pre-law student interested in negligence cases and have contacted a person who knows the facts and testimony.
Discuss the bureau of justice statistics : Pay particular attention to the statistical significance as reported and what made the data significant
Works for discussion of a theme present : Pick one of the following works for discussion of a theme present in the Week 1, Ch. 5 and 6 readings:
Define a class called counter whose objects count things : Define a class called Counter whose objects count things. An object of this class records a count that is a nonnegative integer.
Write grading program for a class with the grading policies : Write a grading program for a class with the following grading policies: a. There are three quizzes, each graded on the basis of 10 points.
How is this scene an example of cultural studies : Do the images show any women of color? 2. Are women encouraged to work outside the home - Are women encouraged to join the military
Different sound systems could he advertise : If an owner at a stereo store has 10 different types of cd players, 9 different types of receivers and 8 different types of speakers and he can make.
Analyze the concept of patients rights : Summarize the overarching connections between patients' rights and patients' resulting responsibilities concerning HIV / AIDS.
Which is the first step in the investigation of child abduct : Mechanical fire-setting devices are used by an arsonist for which of the following reasons

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Write a program that asks the user to enter the names of 3

Write a program that asks the user to enter the names of three salesmen. The program should thenaccept the sales produced for salesman for each quarter of the year. Display the name, and the totalsales amount, of each salesman.

  Implement a function called findmax

Implement a function called findMax that finds the maximum value in a 2¬dimensional array.

  What is the expected cost of the search

You are trying to locate a stolen car using a helicopter. The helicopter costs $350 per hour to rent. The number of hours to find the car follows a discrete uniform random variable with a = 3 and b =11. What is the expected cost of the search?

  Q1nbspnbspwrite c statements to do the following1 declare

q1nbspnbspwrite c statements to do the following1. declare an array alpha of 15 components of the type int.2. output

  Multiple choice question on c programming

Create a function to print "88 is a great port number" function name is yourName_PrintFunction no input no return type print "88 is a great port number"

  Write a simple class

Write a simple class and make a class called Circle with these properties:

  Longest increasing subsequence problem

Write a computer program to solve the Longest Increasing Subsequence problem.Your program should read input from a text file (one value per line

  Reverse the order of the characters in the string

Write a program which will perform the following " using MARS - Assembly language"

  Program to input the length of the side from the keyboard

write a program to input the length of the side from the keyboard ,use the class to obtain the areas of all shapes and display the results on the screen

  Lab9 c c programplease use functions there is the details

c program ltbrgtplease use functions ltbrgtthere is the details on the attachment.zip file needs to rework on this

  Use numbers 0 through 23 to represent hours

Write a C function seconds_since_jan1() that takes the time as six integer arguments (year, month, day, hour,minute, and second) and returns the number of seconds since the beginning of the year. Use numbers 1 through 12 to represent months. Use numb..

  Write a c++ program to choose two three-digit primes

Write a C++ program to choose two three-digit primes and an encryption exponent (3 or 17 may do nicely).

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