Coursework for Middlesex University (2024).
Models the UK university degree classification system across three classes:
Grade— represents a grade on a 20-point scale with percentage conversionProfile— classifies a year's grades (First, 2:1, 2:2, Third, Fail)Degree— combines Year 2 and Year 3 profiles to award a final degree classification
- Grade validation (1–20 scale, percentage to grade conversion)
- Profile classification based on majority grade rule
- Borderline/discretion logic for degree award
- Failing grade rejection at all levels
- Invalid grade inputs (below/above range)
- Parameterised percentage-to-grade mapping (40 test cases)
- Profile classification for all degree classes
- Borderline and clear profile detection
- Degree classification with discretion rules
Java, JUnit 5, Eclipse