Skip to content

About

Java implementation of a UK university degree classification system — Grade, Profile and Degree classes with full JUnit test suite covering boundary conditions, parameterised tests and edge cases.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Degree Classification System — Java

Coursework for Middlesex University (2024).

What it does

Models the UK university degree classification system across three classes:

  • Grade — represents a grade on a 20-point scale with percentage conversion
  • Profile — 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

Rules implemented

  • 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

Tests covered

  • 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

Tech Stack

Java, JUnit 5, Eclipse

About

Java implementation of a UK university degree classification system — Grade, Profile and Degree classes with full JUnit test suite covering boundary conditions, parameterised tests and edge cases.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages