Skip to content

CMP1903M Object Oriented Programming (Assessment 1)

Notifications You must be signed in to change notification settings

JayPea00101010/D-Hondt-Method

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

D-Hondt-Method

CMP1903M Object Oriented Programming (Assessment 1)

This is the first assessment for the Object Oriented Programming module. Our task is to implement the D'Hondt method of proportional representaion using C#. Parties participating in this voting system list their top candidates in order so if the party wins a seat their first choice will be given the seat. The party with the most votes wins a seat and then their vote is divided by one plus the number of seats they have. So if a party has one seat their total vote is divided by two. After the votes have been updated, the party with highest votes tally now gets a seat and the same process applies to them. This continues until all the seats in the region have been allocated.

For a more detailed description visit the following sites:

https://www.bbc.co.uk/news/uk-politics-27187434
https://ukandeu.ac.uk/eu-elections-voting-system-explained-dhondt-worry/ https://www.europarl.europa.eu/RegData/etudes/BRIE/2019/637966/EPRS_BRI(2019)637966_EN.pdf

The names of our group members:

Arvaidas Semeniuk
Joshua Parker
Cameron Mooney
Paul Smith
Jakub Paradowski

About

CMP1903M Object Oriented Programming (Assessment 1)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published