Views

quiz.views.add_quiz(request)[source]

This function makes insert into database for all the manually entered quiz questions

quiz.views.create_quiz(request)[source]

This function renders the create quiz page for manually entering questions

quiz.views.getbeat(request)[source]

This function track the student activity for displaying the same on the instructor monitor page

quiz.views.handle_uploaded_file(f, q1)[source]

This function reads the csv file uploaded by the instructor and makes insert into the database

quiz.views.heartbeat(request)[source]

This function keeps track of student whether he exited full screen and which question he is currently on

quiz.views.index(request)[source]

This function is responsible for for rendering the quiz page to the student for the selected quiz by the student

quiz.views.instructor(request)[source]

This function is used to display the instructor with graphs(bell curve and histogram) , cribs raised by the students of the quiz selected

quiz.views.monitor(request)[source]

Thid function renders the monitor page for the instructor to view ongoing quiz , and monitor the student activity

quiz.views.ongoing_quiz(request)[source]

Displays all ongoing quiz to the professor who has hosted the quiz

quiz.views.quizTable(request)[source]

This function helps in rendering all the quiz hosted by the instructor

quiz.views.result(request)[source]

This function is called on submission of quiz to calculate the marks og the student the marks are added to total score for every correct answer and for every wronf answer the negative marks set by instructor are deducted

quiz.views.save_ans(request)[source]

this function keeps saving the response of the quiz while the student is attempting in order to ensure if due to network failure student quiz stops then he can continue later from the point where he was interrupted

quiz.views.save_cribs(request)[source]

This function saves the cribs that the student has raised

quiz.views.sign_up(request)[source]

This function renders the sign up page for the users

quiz.views.student(request)[source]

This function depending on the role of the logged in user load the professor dasboard or student dashboard

quiz.views.submissions(request)[source]

This function helps in rendering the submission page showing the student all the previous attempted quizzes

quiz.views.upload(request)[source]

This function Renders the upload page for instructor to upload quiz through csv

quiz.views.upload_file(request)[source]

This function reads the csv file and inserts the questions into the database

quiz.views.view_logs(request)[source]

THus function helps in viewing all the quizzes logs

quiz.views.view_sub(request)[source]

This function gives details to the student about the completed quiz consisting of correct answers and choosen answers also the explainations for the questions provided by the professor