Export quiz attempts

Quiz reports ::: quiz_answersheets
Maintained by TimTim Hunt, Chris Nelson, at the OU (Perry building)Mahmoud Kassaei, Anupama Sarjoshi
This quiz report allows you to get view of a quiz attempt that is formatted for easy printing. This can either be a blank attempt for students to write in their responses, if they cannot attempt the quiz online, or a review of a finished quiz attempt.
Latest release:
742 sites
106 downloads
26 fans
Current versions available: 3

This 'report' is actually a tool like the standard Response quiz report, but which lets Staff generate a print-ready version of quizzes and create attempts for Students.

 Within the 'Administration' block, select Quiz administration - Results -  Export attempts. This will display a user table with additional columns:

  • Attempt sheet: a blank quiz attempt so that students can write in their responses in if they cannot attempt the quiz online.
  • Answer sheet: all answers to the questions in the attempt sheet.
  • Submit student response:  a teacher can enter responses on behalf of the student, and then submit that attempt. Obviously only if the student has returned a completed Attempt sheet.
  • Create attempt:  used to create an attempt for a specific user, which generates the Attempt sheet.

If you want to create a generic Attempt sheet, ensure that the 'Switch role to Student' has been used on the course, and you can then use that row to create a generic quiz attempt (ensuring that the system/course is set up so that the test student role can properly take a quiz, rather than just preview).

Note: 

  • This plugin tries it best at basic pagination, but you may need to copy-paste into Word to optimise for printing off or turning to PDF.
  • We ensure that the questions we use look as good as they can in this report, but we don't use all Moodle questions out there!

This plugin was created to support the work that the Open University does to support students in secure environments.

There is also slightly primitive support for downloading all the attempts at a quiz, using the helper script from https://github.com/moodleou/save-answersheets.

Potential privacy issues

There are no real issues within this plugin. The only thing to be aware of is that this plugin makes it easy for people with administration access to take data (student quiz attempts) out of Moodle. How that personal information is then protected is beyond our control.

Screenshots

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

Contributors

Tim
Tim Hunt (Lead maintainer)
Chris Nelson: Product owner
at the OU (Perry building)
Mahmoud Kassaei: Developer
Anupama Sarjoshi: Developer
Please login to view contributors details and/or to contact them

Comments RSS

Ipakita ang mga komento
  • Alex Keiller
    Mar, 26 Set 2023, 10:31 PM
    Hi Chris, Tim and Mahmoud
    Will there be an update that will include compatibility with M4.1.5+ or is the current version of the plugin sufficient?
  • Madelyne de Bruin
    Lun, 27 Nob 2023, 3:10 PM
    Hi,
    I'm currently running Moodle 4.2 and have v1.3 of this plugin installed.
    When I click on 'export attempts', I get the following errors:

    Exception - quiz_answersheets\report_display_options::possible_user_info_visibility_settings(): Argument #1 ($cm) must be of type stdClass, cm_info given, called in [dirroot]/mod/quiz/report/answersheets/classes/report_settings_form.php on line 41

    Debug info:
    Error code: generalexceptionmessage×Dismiss this notification
    Stack trace:
    line 160 of /mod/quiz/report/answersheets/classes/report_display_options.php: TypeError thrown
    line 41 of /mod/quiz/report/answersheets/classes/report_settings_form.php: call to quiz_answersheets\report_display_options::possible_user_info_visibility_settings()
    line 48 of /mod/quiz/classes/local/reports/attempts_report_options_form.php: call to quiz_answersheets\report_settings_form->other_preference_fields()
    line 214 of /lib/formslib.php: call to mod_quiz\local\reports\attempts_report_options_form->definition()
    line 103 of /mod/quiz/classes/local/reports/attempts_report.php: call to moodleform->__construct()
    line 52 of /mod/quiz/report/answersheets/report.php: call to mod_quiz\local\reports\attempts_report->init()
    line 83 of /mod/quiz/report.php: call to quiz_answersheets_report->display()
  • Luca Bellani
    Lun, 29 Ene 2024, 1:49 PM
    Hi. moodle 4.3.2

    Excepción - quiz_answersheets\report_display_options::possible_user_info_visibility_settings(): Argument #1 ($cm) must be of type stdClass, cm_info given, called in [dirroot]/mod/quiz/report/answersheets/classes/report_settings_form.php on line 42
  • Konstantinos Kaltsas
    Sab, 10 Peb 2024, 3:28 PM
    Hi, moodle 4.3.2

    Exception - quiz_answersheets\report_display_options::possible_user_info_visibility_settings(): Argument #1 ($cm) must be of type stdClass, cm_info given, called in [dirroot]/mod/quiz/report/answersheets/classes/report_settings_form.php on line 42

    Any news for new version?
  • Jasper Chong
    Lin, 26 May 2024, 1:52 PM
    Dear sir!
    I have encountered the same issue as above.


    Exception - quiz_answersheets\report_display_options::possible_user_info_visibility_settings(): Argument #1 ($cm) must be of type stdClass, cm_info given, called in [dirroot]/mod/quiz/report/answersheets/classes/report_settings_form.php on line 42

    Any fix to this?
  • Antonia Bonaccorso
    Lun, 3 Hun 2024, 8:53 PM
    Hi Tim, Chris, and Mahmoud,

    I can confirm the error reported by Madelyne de Bruin on Moodle 4.3.x (tested today). Would be great this issue could be fixed in one of the upcoming minor- (or major) releases.

    Best,
    Antonia
  • Chris Nelson
    Lun, 3 Hun 2024, 9:07 PM
    Hi all,

    Thanks for letting u know - unfortunately some of the team is on leave at the moment (half-term in the UK), so we'll look at this as soon as possible.
  • Lello Ingenito
    Lun, 19 Ago 2024, 12:05 AM
    Hi,
    Please update to 4.x.
    We hope
    Thanks for your great job.
    Lello
  • Rui Figueiredo
    Mar, 3 Set 2024, 10:03 PM
    I'm running the Moodle 4.4.3 (Build: 20240902) version and still not working.

    Thank you .
  • Chris Nelson
    Mar, 3 Set 2024, 10:09 PM
    Hello,
    We are working on publishing updates to all of our plugins and hope to share them in the coming weeks.
  • Devin Monroe
    Mar, 10 Set 2024, 8:07 PM
    Hi! I see that a new version is to be released soon. Do you have a ETA date on this? Or can you send me info about how to temporarily fix the error:

    "Exception - quiz_answersheets\report_display_options::possible_user_info_visibility_settings(): Argument #1 ($cm) must be of type stdClass, cm_info given, called in [dirroot]/mod/quiz/report/answersheets/classes/report_settings_form.php on line 41"

    Our schools would really like to use this plugin but due to the error they cannot.
  • Battulga Ulambayar
    Miy, 25 Dis 2024, 3:49 PM
    Has the following bug been fixed in Moodle 4x? When will the new version be released? Please help.
    Exception - quiz_answersheets\report_display_options::possible_user_info_visibility_settings(): Argument #1 ($cm) must be of type stdClass, cm_info given, called in [dirroot]/mod/quiz/report/answersheets/classes/report_settings_form.php on line 42
  • Muhammad Andre Juliansyah
    Lun, 30 Dis 2024, 3:20 PM
    any update for 4.2 version ??? i am having the same error as the people above
  • Michael Whitman
    Miy, 26 Mar 2025, 9:47 PM
    Can anybody tell me where to check for this particular option is located? Specifically the properly take a quiz part?
    (ensuring that the system/course is set up so that the test student role ''can properly take a quiz", rather than just preview)

  • Chris Nelson
    Miy, 26 Mar 2025, 9:58 PM
    @Muhammad: Our developer is working on updating this plugin for M4.5 and we will publish it as soon as we can.

    @Michael Whitman: That's more one for the forums, but at the course-level, you need to ensure that "Switch to" / View as... Student" (we have a different theme and it's called something different) is not added under "mod/quiz:preview".

    To get there, assuming you have the correct role, you'll need to navigate to the primary tab "Participants". This will take you to the "Enrol users" screen. Use the secondary dropdown (which'll be "Enrol users" to go to "Permissions". Then filter for "Preview", and you'll get mod/quiz:preview.
1 2 3 4 5
Please login to post comments