40% found this document useful (5 votes)
1K views

Testpress Django Developer Assessment Round

The document outlines requirements for a Django web application that allows students to take online quizzes. Key features include allowing schools to create multiple quizzes with 10 MCQ questions each, taking quizzes on web or mobile, seeing answers and results immediately, and viewing final scores and time taken. Bonus features include user authentication and saving answers to a database. The application will be evaluated based on hosting, functionality, results display, code quality, and unit testing.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
40% found this document useful (5 votes)
1K views

Testpress Django Developer Assessment Round

The document outlines requirements for a Django web application that allows students to take online quizzes. Key features include allowing schools to create multiple quizzes with 10 MCQ questions each, taking quizzes on web or mobile, seeing answers and results immediately, and viewing final scores and time taken. Bonus features include user authentication and saving answers to a database. The application will be evaluated based on hosting, functionality, results display, code quality, and unit testing.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 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

You might also like