Age | Commit message (Collapse) | Author |
|
|
|
For a bash question we now put a #!/bin/bash at the top.
We now use annotations to speed up the monitor page rendering rather
than doing the sort in Python which ends up being inefficient due to the
db calls. I get a roughly 5x improvement in speed.
|
|
Adds simple support for multiple choice questions that are also
auto-checked. Many fixes to the templates and useful feature additions.
This changes the database.
|
|
This allows us to render code nicely and format the question nicely.
Modified the question template suitably.
|
|
This is useful when you are forced to host the app on a URL like
host.org/foo/exam and not as host.org/exam as you would want. Change
the URL_ROOT setting to "/foo" in the above case for this to work.
|
|
Also check if user is authenticated or not when displaying question or
checking.
|
|
The check view was not showing the quiz description.
|
|
If you complete the quiz it was going into a redirect loop, this is
fixed. Also cleaned up all the page templates with proper block
contents.
|
|
Added a model called Quiz which allows the admin to define a quiz on a
date which can be active or deactivated. Users can take a quiz if one
is active and are given a fixed duration to complete the quiz. They may
login as many times as needed to finish it but the total time is logged.
Javascript code updates a timer on the page.
|
|
This changes the models. The Quiz should really be QuestionPaper and a
Quiz should be like an event that the admin creates to start a quiz and
each QuestionPaper should be related to a Quiz. This will be added
later.
|
|
|
|
Added JS code to tell the user that the system is checking the answer
and also disable any further submitting at this time.
|
|
|
|
Cleaned up the models so the answers submitted are all saved. Also
added a quit button to each question page so a user can easily quit the
exam in order that another may start.
|
|
- Modified the question model to use description instead of question.
- Once a user completes the exam it would not allow another one to
start.
- Improved the error messages displayed on errors.
- If there is a mistake, it doesn't wipe out the old attempt so student
can modify what they submitted last.
|
|
This application allows us to create questions via the admin interface.
The questions are proper programming questions and one enters test cases
for each question. The user logs in and submits the answer which is
checked. The app is rather simple now but does work.
|