Quiz reports: Live Report

Maintained by Picture of Bill JunkinBill Junkin
A utility to allow teachers to view a dynamic, Live Report (table/spreadsheet) of students' answers to the questions in a quiz. This Live Report upgrades automatically as students change answers or submit new answers. Teachers can also (1) choose to view the grades the answers to date would receive and/or (2) click on a question to obtain a historgram or listing of answers to an individual question.
102 sites
10 fans
Current versions available: 1

This quiz report module allows teachers to see, in real time, the responses from students as they are completing questions in a quiz. As students change their answers or submit more answers, the spreadsheet is refreshed. If desired, the grades that each response would be given can be shown as the background color in the cells of the spreadsheet, but this action is unrelated to the grading of the quiz.

The top row in this spreadsheet/table has the names of the questions in the quiz. The teacher can click on any of these question names to obtain an overview of that question.

For multichoice, truefalse, and calculatedmulti question types, a histogram is displayed.

For all other question types, the response from each student is given in one line on the page. The teacher can choose to show or hide the student's name associated with each response.

To install this module, place the liveviewgrid directory as a sub-directory in the <your moodle site>/mod/quiz/report/ directory, creating the <your moodle site>/mod/quiz/report/liveviewgrid/ directory.

After installing this quiz report module, teachers can click on the "Live Report" option in the "Report" drop-down menu to access this spreadsheet.

Potential privacy issues



Screenshot #0
Screenshot #1
Screenshot #2
Screenshot #3


Picture of Bill Junkin
Bill Junkin (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS


  • Picture of Bill Junkin
    Tue, Jan 15, 2019, 12:30 PM
    Thanks for catching this, Dinis,
    I have made the correction in the code so that "Responses" in the report.php code calls on the string from the appropriate liveviewgrid/lang/ string file so that it can easily be translated.
    Thanks for your interest in Live Report and your compliment of the program.
    As soon as I get through checking out the code (probably in 24 hours) to be sure this change hasn't introduced any bugs I will post the new version.
    Any other suggestions that you have will always be appreciated.
  • Picture of Dinis Medeiros
    Thu, Jan 17, 2019, 6:45 AM
    File quizgraphics.php:
    Something is wrong with answer id $qansid

    File graph.php
    $line->parameter['y_label_left'] = 'Number of Responses';

    Is it compatible with 3.6? Will be?
  • Picture of Bill Junkin
    Thu, Jan 17, 2019, 7:17 AM
    Thanks, Dinis,
    I have just published a new version, version 1.1.1, which has moved the string 'Number of Responses' to the language file so it can be translated. Thanks for bringing this to my attention.
    This plugin works with Moodle 3.6.2 and with all prior versions back to Moodle 3.2. Thanks for your interest.
  • Picture of Dinis Medeiros
    Thu, Jan 17, 2019, 11:52 PM
    In file quizgraphics.php, are this messages to the user?

    line 37: echo "\nYou must be authorized to access this site";
    line 44: echo "\nYou must submit a valid questionid";
    line 135: echo "\nSomething is wrong with answer id $qansid";

    If yes, can this be translated too?
  • Picture of Bill Junkin
    Fri, Jan 18, 2019, 5:36 AM
    Done. (Version is now 1.1.2) These text strings will be displayed whenever a user makes a mistake or tries to access something where they did not have the necessary permissions. They have now been moved to the language file to make translation easy. Thanks for noting this. By the way, what language are you translating this module into (and thanks for doing this)?
  • Picture of Dinis Medeiros
    Fri, Jan 18, 2019, 5:48 AM
    Portuguese-Portugal (PT-PT)
    Thanks a lot
    Anything i can help... just let me know.
  • Picture of Bill Junkin
    Wed, Mar 6, 2019, 6:59 AM
    This new version has added features: Better formatting for tooltip (when long answers are truncated), ability to sort responses by first or last name of student, support for Cloze questions, and ability to view responses by groups (or all responses), and the table stops being dynamic after the Moodle "timeout" time and a waring to "Refresh Page" is displayed to let the teacher know that the page is no longer dynamic.
  • Al
    Sat, Mar 9, 2019, 8:22 AM
    We have several groups and we don't want each group to see each other groups data due to GDPR. Does your extension now support this?
  • Picture of Bill Junkin
    Sun, Mar 10, 2019, 7:01 AM
    Short answer: "Yes." Details: The Live Report module adds features to the Quiz BUT this module does not make any change in what a student can or cannot see. Only a person at the teacher level or higher for the quiz can use the Live Report features. The Live Report allows the teacher to see (dynamically) all the responses for all of the students, but does not change what any student can see. If the teacher wishes the teacher can select the group of students that the teacher wishes to see (as long as groups is enabled for the quiz. So the teacher can choose a display that shows all the answers submitted so far or only the answers submitted from the selected group. The only way that this would allow students to see answers given by other students is if the teacher decides to display back to the class (or to some group of students) the view from Live Report that the teacher can see. By the way, the Live Report has an individual question feature The individual question feature allows the teacher to click on a question and get more detailed information about the responses so far. (For example, clicking on a multichioice question will allow the teacher to see a histogram of the students' answers to that question.) Right now the individual question feature shows all the answers to that question. If there is a demand to allow the teacher to see only answers from one group I can include selecting by groups into the individual question feature. This will not be too difficult, since I have already included this in the main spreadsheet view of Live Report.
    Thanks for your interest in Live Report. Suggestions for improvement or any questions are always welcome.
  • Al
    Sun, Mar 10, 2019, 7:53 AM
    Thank you so much for your prompt and detailed reply, it's great to see developers listening to their users. We have a website that several schools use. All the extensions we use have groupings on them so that School A cannot see any Details about School B. Each school is in a separate group with teachers and students within that group. So just to explain further. Let's say you have School A in one group called SA and School B in another group called SB. SA has teachers, students, mentors and various other levels. When they log in, they can only see the students from their school. SB has the same but they can only see the students from their school. The only shared details are when they look at the Moodle Grade Book Graphs, they can only see the grade distribution graph for their group and compare it with a grade distribution group of numbers from every class in every school that has taken that unit. For GDPR no other information is shared. It's like comparing with a site average, it lets schools know if their students are doing as well as other schools, yet they don't know who the other schools are, names or anything they only know that 90 out of 310 has gained a level 4.
  • Picture of Bill Junkin
    Sun, Mar 10, 2019, 12:39 PM
    Hi, Al Metcalfe,
    If I understand your email correctly, your Moodle site is set up so that students and teachers from several different schools are using the same Moodle course. (if they are in different Moodle courses then I have not understood you correctly.) Furthermore, this one course is set up so that each teacher can see information about how the students from School A have done on a quiz but cannot see how students from School B have done on the same quiz.
    I did not know that a Moodle course could be set up this way. I am only familiar with the Moodle permissions so that a teacher in a course can see the answers to a quiz that come from any student who is enrolled in that course, regardless of which group that student is in. Do the permission settings in Moodle allow for a teacher to be able to see the responses, grades, etc. from students in one group but not from students in another group when those students are in the same course? Or did your Moodle administrator have to make special adjustments to the permissions to make this happen? Also, is this a regular course or a meta course? If I understand you correctly, you want the option that a give teacher can only see responses that come from students in certain groups.
    If you can help me understand this better, I probably will be able to modify the code to accomplish what you are requesting.
    If you wish to communicate personally with me about this, my email address is junkinwf@eckerd.edu
  • Picture of Dinis Medeiros
    Fri, May 3, 2019, 7:17 AM
    How to hide first name and/or last name of students?
  • Picture of Bill Junkin
    Sat, May 4, 2019, 5:19 AM
    Hi, Dinis,
    I have just posted a new version of Live Report on the github site. It has the feature so that teachers can show or hide students' names. Once it has been tested out completely I will post this new version here (on this Moodle site).
  • Picture of Dinis Medeiros
    Sat, May 4, 2019, 10:39 PM
    What about hide only one: first name or last name of students? Maybe hide only last name is the best?
  • Picture of Bill Junkin
    Sun, May 5, 2019, 5:20 AM
    Hi, Dinis,
    I have found that if there are too many features/options for a program, some teachers are hesitant to use the program. with a few hours of programming I could add two more buttons, a hide/show first name button and the hide/show last name. However, unless there is a big demand for this, I do not plan to add this feature at this time. (There are important pedagogical reasons to allow both show and hide of names.) If you have a school or schools that need this feature, if you let me know I may be able to produce a version of the program that will do this and let those schools use it without posting that version on the Moodle site.
Please login to post comments