Giter Club home page Giter Club logo

voting-system's Introduction

Project2: Voting

Project Description-Level 1

Your assignment is to create a program where a group of users can login using their respective passwords and vote either “YES” or “NO” on a a single issue. Once a user votes, s/he cannot change the votes. When the outcome of the vote is obvious, the program should print the result of the vote and terminate. You can assume that the program does not quit or terminate before the vote ends Use your own student IDs as usernames Initial passwords can appear as string literals in your source code.

Project Description-Level 2

On top of the requirements from the previous levels: The voters can now also abstain instead of voting “YES” or “NO” The users can change their passwords The users can change their votes. If the program quits before the vote ends, it should be able to retrieve the last state of the vote when it restarts. (This requires you to write data to a file)

Project Description- Bonus

On top of the requirements from the previous levels: There should be an admin account which can add new users The program should keep track of multiple votes. Any user can start a vote on a new issue When the result of the vote on any issue is obvious, the result should be printed. The program should keep running for the remaining issues. If the program quits before all the votes ends, it should be able to retrieve the last state of all remaining issues when it restarts. It does not have to retrieve the state of terminated votes.

Due dates

Your presentations will be on the week that starts with the 25th of April HOWEVER, you are to submit the code for Level 1 one week before the presentation At 23.59 two days before the lab session (Rougly 36 hours before the presentation): Report and all the code is to be submitted The day of your next Lab session: Presentations Create a GitHub repository for your project that you update as soon as you make any progress

voting-system's People

Contributors

uaytug avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.