Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

Testpress Django Developer Assessment Round

A school wants to conduct an online quiz for their students. Students should be able to start the
quiz, get the questions, select their answers and view the results and explanations. It should be
preferably a Django web application.
The application should have the following features:
● The school can create multiple quizzes. Each quiz should have 10 questions.
● The questions should be MCQs. It can be a single correct or multiple correct.
● A user should be able to visit the application from the web or mobile and start taking
any of the available quizzes.
● Users should start the quiz by clicking the start button.
● Users should be able to see a question with 4 possible answers.
● There should be an option for the user to record their answers for the questions in a
quiz.
● The ​results should be instant​. After the user selects an answer for a question,
whether it is correct or incorrect should be shown immediately. ​If incorrect the
correct answer should be shown.
● Once a question is submitted, the user should be allowed to see the next question.
● At the end, the user should be able to see the time it took to finish the quiz, how
many correct answers the user got, and a message showing pass or fail.
Bonus
● Allow authentication and save user answers in a database.
Extra Info
● The questions can also come from an external API like Open Trivia Database.
● Copying code directly from the internet and submitting would be rejected.
● Source code should be hosted in GitHub.
● Follow Django’s contributing guidelines ​http://bit.ly/django_giudelines​.
● We expect you to complete this within 7 days.
How your program would be evaluated

Task Points
Host in Heroku, PythonAnywhere, etc 10
Can take the quiz by answering the MCQs one by one 10
Can see my result immediately 10
Can see the correct answer if I’ve answered incorrectly immediately 10
Can see my total result at the end of the quiz 10
Can see the time taken at the end of the quiz 10
Code is written cleanly
• Straightforward, readable and efficient
20
• Meaningful names for variables, functions, classes • Every function, class should do one thing
and do it well (Separation of concerns)
Code has unit tests 20

You might also like