Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write a grading program for an instructor whose course has the following policies: > Two quizzes, each graded on the basis of 1 0 0
Write a grading program for an instructor whose course has the following policies:
Two quizzes, each graded on the basis of points, are given.
One midterm exam and one final exam, each graded on the besis of points, are given.
The final exam counts for percent of the grade, the midterm counts for percent, and the two quizzes together count for a total of percent. Do not forget to normalize the quiz scores. They should be converted to percentages before they are avereaged in
Create a noarg constructor that initializes a default value to all the attributes, with a random id is a value ranged between inclusively.
A constructor that creates a StudentRecord with the specified initial name.
Any grade of percent or more is an any grade between and percent is a any grade between and percent is a any grade between and percent is D and any grade below percent is an
The program should read in the student's scores and display the student's record, which consists of two quiz scores, two exam scores, the student's total score for the entire course, and the final letter grade. The total score is a number in the range to which represents the weighted average of the student's work.
Define and use a class named StudentRecord for the student record. The class should have attributes for the quizzes, midterm, final, id name, program, total score for the course, and final letter grade. The class should heve input and output methods.
The class should have methods to compute the overall numeric grade and the final letter grade. Create a method called scholarships that determines the scholarship amount for students with a total score of or higher. The class should print out the student's name, student total score, and the scholarship amount. Students with a total score between will receive a $ scholarship, students with a total score of will receive a $ scholarship, and students with a total score of will receive a scholarship of $ Make sure that the scholarship is printed with decimal places. Create a method named details to return the details of the student.
Write a main program that creates three StudentRecord objects by using array and ask the user to enter the details of any three students and store them in an array. You may add other methods if you wish. Suppose that all three students in the computer systems engineering program at PTUK. All students must have its unique enrollment number, registration number. Here, "program" refers to the common property of all the objects.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started