https://github.com/icewreck/exponentialquizdjango
Quiz App with exponential scoring mechanism. Built in Django.
https://github.com/icewreck/exponentialquizdjango
django python3 quiz quiz-app
Last synced: 2 months ago
JSON representation
Quiz App with exponential scoring mechanism. Built in Django.
- Host: GitHub
- URL: https://github.com/icewreck/exponentialquizdjango
- Owner: IceWreck
- License: mit
- Created: 2019-10-23T07:40:19.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-01-01T12:17:02.000Z (over 6 years ago)
- Last Synced: 2025-10-10T16:29:39.678Z (9 months ago)
- Topics: django, python3, quiz, quiz-app
- Language: Python
- Homepage:
- Size: 6.9 MB
- Stars: 1
- Watchers: 0
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Exponential Quiz
Online quiz app with exponential scoring. Built for a CCS-TIET event.

## Features
* Standard Quiz Features
* Exponential Scoring and negative marking
* Know your score after each answer submission
* User auth for both quiz makers and students
* Images/Code/Text in questions.
* Anti cheat (Note: The Anti Cheat features give false positives on Firefox so please use other browsers for the test or disable anti-cheat.)
## Score System
* Questions will appear one by one.
* The participant will have the choice of either skipping the question or answering it.
* If they answer it corectly they'll get 2^1 points.
* If they answer another question correctly after that theyll get 2^2 points.
* And so on
* If they skip a question, next questions points will again start from 2^1.
* If they answer the question incorrectly 2 marks will be deducted.
* If they answer another question incorrectly 4 marks will be deducted and so on.
## Running Locally
Install the requirements:
In a python3virtualenv,
```bash
pip install -r requirements.txt
``
Link to the database by setting the DATABASE_URL environment variable. Then run:
```bash
python manage.py migrate
```
Finally, run the development server:
```bash
python manage.py runserver
```
## Other Deployment Methods
I haven't built a dockerfile for this specific app but I think after connecting it to postgres you'll have to run the ```python manage.py migrate``` command once inside the container's shell. Same with heroku etc. I tested deployment on both heroku and apache and it works properly.
## Notes
* The contents of one option of a question should be 'Skip' if you want a question to be skippable.
* Basic html markup can be inserted into the questions for code, images, formatting, etc.
## Other Screenshots



## Credits:
* [SIBTC](https://github.com/sibtc/django-multiple-user-types-example/) for the base quiz layout and mechanism.
* [StartBootstrap](https://startbootstrap.com/themes/sb-admin-2/) for the css template.
## License
The source code is released under the [MIT License](https://github.com/IceWreck/ExponentialQuizDjango/blob/master/LICENSE).