# CS360 Final Grades - Spring, 2019

## James S. Plank

Below is information for how class was graded in 2018.
Note that the grading for 2019
will be different. In particular, there is a multiplier for attendance, and
there's no "free" lab.

My grading scale is as follows:
- A+: 95 - 100
- A: 90 - 95
- A-: 87 - 90
- B+: 83 - 87
- B: 80 - 83
- B-: 77 - 80
- C+: 73 - 77
- C: 70 - 73
- C-: 67 - 70
- D+: 63 - 67
- D: 60 - 63
- D-: 57 - 60
- F: 0-57

Your lab score is converted directly to this scale by multiplying by 100/900. If you're
taking 367, it is 100/1200.
To convert the midterms and finals to a score in that range,
I use the following routine:

double A = 90.0;
double B = 80.0;
double C = 70.0;
double D = 60;
double test_convert(double score, double top, double a,
double b, double c, double d)
{
if (score >= a) {
return (score - a)/(top - a) * (100.0-A) + A;
} else if (score >= b) {
return (score - b)/(a - b) * (A-B) + B;
} else if (score >= c) {
return (score - c)/(b - c) * (B-C) + C;
} else if (score >= d) {
return (score - d)/(c - d) * (C-D) + D;
} else {
return (score)/d * (D);
}
} |

The first midterm was converted with:

test_convert(rscore, 100, 83, 71, 60, 50);

The second midterm was converted with:
test_convert(rscore, 70, 59, 50, 40, 30);

The final exam scores were convered with:
test_convert(rscore, 93, 72, 55, 40, 30);

The two midterms were weighted 14% each, and the final exam was weighted 22%.
Labs were 50%. If you did
the evaluation, you got 30 extra lab points.

Final grade tally:

- A+: 19
- A: 10
- A-: 5
- B+: 1
- B: 3
- B-: 2
- C+: 2
- C: 3
- C-: 0
- D+: 0
- D: 1
- F: Multiple