Code:
#include<bits/stdc++.h>
using namespace std;
int main(){
// initializing the required arrays
int project_grades[]={100,0,90,95};
int exam_grades[]={50,54};
int quiz_grades[]={100,0,50,30,40,100,100};
int lab_grades[]={100,100,0,50,60,100,100};
int final_project = 100;
int bonus_points=4;
int final_score=0;
int exam_score=0,project_score=0,quiz_score=0,lab_score=0;
float exam_avg,project_avg,quiz_avg,lab_avg;
// sorting the arrays
sort(project_grades,project_grades+4);
sort(exam_grades,exam_grades+2);
sort(quiz_grades,quiz_grades+7);
sort(lab_grades,lab_grades+7);
for(int i=0;i<4;i++){
project_score+=project_grades[i];
}
project_avg=project_score*1.0/4;
for(int i=0;i<2;i++){
exam_score+=exam_grades[i];
}
exam_avg=exam_score*1.0/2;
// dropped lowest two quiz scores
for(int i=2;i<7;i++){
quiz_score+=quiz_grades[i];
}
quiz_avg=quiz_score*1.0/(7-2);
for(int i=0;i<7;i++){
lab_score+=lab_grades[i];
}
lab_avg=lab_score*1.0/7;
// printed average scores
cout<<"Average for project =
"<<project_avg<<"\n";
cout<<"Average for exam =
"<<exam_avg<<"\n";
cout<<"Average for quiz =
"<<quiz_avg<<"\n";
cout<<"Average for labs = "<<lab_avg<<"\n";
final_score+=(project_score+exam_score+quiz_score+lab_score+final_project);
cout<<"Final Numerical Average =
"<<((project_avg+exam_avg+quiz_avg+lab_avg))/4
<<"\n";
}
for final grades , you need to mention the grading criteria.
Write a program to calculate your final grade in this class. Three(8) assignments have yet to...
C++ Write a program to calculate final grade in this class, for the scores given below . Remember to exclude one lowest quiz score out of the 4 while initializing the array. Display final numeric score and letter grade. Use standard include <iostream> Implementation: Use arrays for quizzes, labs, projects and exams. Follow Sample Output for formatting. May use initialization lists for arrays. Weight distribution is as follows: Labs: 15% Projects: 20% Quizzes: 20% Exams: 25% Final Project: 20% Display...
Help me write the program in C++ Thanks
Program #1: Calculate a student's grade for a class. The class has 4 categories of grades. Each category has different weights. The student's report should include the student's first and last name; course; semester, category listing with weight for each category, grades for each category and the student's final average with a letter grade. Categories with weights: 1. Exams: 30%(3 @ 10% each) 2. Labs: 30% (3 labs @ 10% cach) 3....
In C Langage Write a grading program for a class with the following grading policies:- a. There are two quizzes, each graded on the basis of 10 points. b. There is one midterm exam and one final exam, each graded on the basis of 100 points. c. The final exam counts for 50 percent of the grade, the midterm counts for 25 percent and the two quizzes together count for a total of 25 percent. Grading system is as follows:-...
using if/switch statements (C++) Write a grading program for a class with the following grading policies: There are two quizzes, each graded on the basis of 10 points There is one midterm exam and one final exam, each graded on the basis of 100 points The final exam counts for 50% of the grade, the midterm counts for 25% and the two quizzes together count for a total of 25%. (Do not forget to normalize the quiz scores. They should...
Grading Policy In addition to three in-class tests and a final exam, the final grade will include assessment of homework, quiz projects/classroom activities, and classroom participation, according to the following weights 1. Homework and Worksheets 2. Three Tests 3. Final Exam 4. Quizzes and Class Participation/Classroom Citizenshi 1 5% 40% 25% 20% Total 100% Grad Ran 92 100 90-91 88-89 82-87 80-81 an 78 -79 70-77 68 -69 66 67 60- 65 Assignment Grading: Each written assignment, except the Final...
You will create a Grade Program that will calculate students’ weighted averages. You are going to have the user enter lab grades, test grades, and project grades. You will then display a grade report of each individual average along with their overall average and letter grade. Ask the user to enter their lab grades. Call the averageGrade function that will allow the user to enter their grades and calculate their average. averageGrade Function: This will pass the average back to...
Write a grading program in Java for a class with the following grading policies: There are three quizzes, each graded on the basis of 10 points. There is one midterm exam, graded on the basis of 100 points. 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....
Many classes calculate a final grade by using a weighted scoring system. For example, “Assignments” might be worth 40% of your final grade. To calculate the grade for the Assignments category, the teacher takes the percentage earned on the assignments and multiplies it by the weight. So if the student earned a 90% total on the Assignments, the teacher would take 90% x 40, which means the student earned a 36 percent on the Assignments section. The teacher then calculates...
This is a C++ Program, I need the program broken up into
Student.h, Student.cpp, GradeBook.h, GradeBook.cpp, and
Main.cpp
1. The system must be able to manage multiple students (max of 5) and their grades for assignments from three different assignment groups: homework (total of 5), quizzes (total (total of 2) of 4), and exams 2. For each student record, the user should be able to change the grade for any assignment These grades should be accessible to the gradebook for...
Write a grading program for the following grading policies:- a. There are two quizzes, each graded on the basis of 10 points. b. There is one midterm exam and one final exam, each graded on the basis of 100 points. c. The final exam counts for 50 percent of the grade, the midterm counts for 25 percent and the two quizzes together count for a total of 25 percent. Grading system is as follows:- >90 A >=80 and <90 B...