# CS360 Final Grades - Spring, 2019

## James S. Plank

Below is information for how class was graded in 2019.
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/1100. If you're taking 367, it is 100/1400.

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, 96.5, 78, 66, 54, 44)
```
The second midterm was converted with:
```    test_convert(rscore, 98, 80, 68, 55, 45)
```
The final exam scores were convered with:
```    test_convert(rscore, 97, 78, 67, 55, 40)
```

The two midterms were weighted 12.5% each, and the final exam was weighted 25%. Labs were 50%. If you did the evaluation, you got 30 extra lab points. We took attendance in class and labs. You were excused four absenses. After that, you total penalized three percent per absence.