# CS360 Final Grades - Spring, 2017

## James S. Plank

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.
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(yourscore, 95, 80, 65, 50, 40);

The second midterm was converted with:
test_convert(yourscore, 92, 62, 52, 40, 30);

The final exam scores were convered with:
test_convert(yourscore, 100, 79, 64, 48, 35);

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+: 13
- A: 9
- A-: 5
- B+: 6
- B: 6
- B-: 1
- C+: 6
- C: 4
- C-: 0
- D+: 1
- D: 1
- F: Multiple