Grading
You will be graded on a scale from A to F, where F constitutes a fail. Your grade depends on the following:
- Mandatory assignment 0 (10%) (due Wednesday 26.09.2018 at 23.59)
- Mandatory assignment 1 (10%) (due Wednesday 17.10.2018 at 23.59)
- Mandatory assignment 2 (10%) (due Wednesday 07.11.2018 at 23.59)
- Final exam (70%) (Tuesday 20.11.2018)
Each of the above will be scored on a scale from 0 to 100, and your total score will be calculated as the weighted average (+ bonus points if applicable). You also need to pass every single mandatory assignment. More precisely, your final grade is found using the following function:
public static String finalGrade(double[] assignmentScores, double examScore, double bonusPoints) { double finalScore = bonusPoints + examScore * 0.7; for (int i = 0; i < 3; i++) { if (assignmentScores[i] < 55) return "F"; finalScore += assignmentScores[i] * 0.1; } if (finalScore >= 95) return "A"; if (finalScore >= 85) return "B"; if (finalScore >= 75) return "C"; if (finalScore >= 65) return "D"; if (finalScore >= 55) return "E"; return "F"; }