Вы находитесь на странице: 1из 1

Testpress Django Developer Assessment Round

A school wants to conduct online quiz for its students. Students should be able to start the
quiz, get the questions, select their answers and view the results and explanations. It should
be a Django web application.

The application should have the following features:


• The school can create multiple quizzes. Each quiz will have 10 questions.
• The questions are MCQs. It could be single correct or multiple correct.
• A user can visit the application from web or mobile and start taking any of the
available quizzes.
• User can start a quiz by clicking the start button for a quiz.
• User will see a question with 4 possible answers.
• There will be option for the user to record their answers for the questions in a quiz.
• The results will be instant. After the user selects answer for a question, whether it is
correct or incorrect will be shown immediately. If incorrect the correct answer will
be shown.
• Once a question is submitted, user will be allowed to see the next question.
• At the end, the user can 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 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 2 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 20
• Straightforward, readable and efficient
• 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

Вам также может понравиться