Working project of Clash which is a technical MCQ based event in Credenz organised by PICT IEEE Student Branch
- To install pip: (Ubuntu)
$ sudo apt install python3-pip
- Follow this link for installation of pip in windows
- To install virtualenv:
$ sudo pip3 install virtualenv
- To start virtualenv:
$ virtualenv venv
OR
- In windows to make a venv:
$ py -m venv venv
- To activate virtualenv:
source venv/bin/activate
OR
$ venv\Scripts\activate
- To deactivate virtualenv:
$ deactivate
- To install requirements and run project:
- Activate virtualenv
- To install dependencies required pip3 install -r requirements.txt
- Run python manage.py makemigrations
- Run python manage.py migrate to make migrations
- Add a few questions in the database to see functioning
- To run clash python manage.py runserver
- Enjoy!
-
Front end:
- HTML5
- CSS3
- Javascript and AJAX
-
Back end:
- Django 3.1.0 (Python web framework)
-
Database used:
- SQLite3
- User authentication
- Timer
- Conditional controlling of HTML elements
- Tab change handling (to prohibit copy)
- 8 lifelines were applied as follows :
1. Reattempting a question
2. -5 from the total score
3. Freezing time
4. -8 +4 marking scheme for the questions
5. No negative marking for next 3 Questions
6. No spin here after
7. +16 -10 marking scheme for the current question
8. And last one was get assured which allows user to mark 2 answers for same question if he is not sure about it.