Hide Correctly Answered Questions on Re-Attempt

Quiz access rules ::: quizaccess_hidecorrect
Maintained by LMSACE - E-learning development company , Moodle ExpertsLMSACE e-learning experts
This Moodle plugin empowers teachers by allowing them to hide questions that have been correctly answered in previous attempts. This feature prevents students from viewing previously answered questions, encouraging them to focus solely on those they haven't answered correctly yet. Additionally, with the latest update, the plugin now automatically grades correct answers in subsequent attempts, streamlining the learning process and promoting efficient review sessions
Latest release:
211 sites
110 downloads
23 fans
Current versions available: 2

Hide Correctly Answered Questions on Re-Attempt

This Moodle plugin allows teachers to hide question visibility from students who have been correctly answered in previous attempts. This can be useful in preventing students from seeing the correctly answered questions and encourages them to attempt only the incorrect questions on the next attempts.

Enhanced Feature: In addition to allowing teachers to hide previously answered questions, this Moodle plugin now enables automatic grading of correct answers in subsequent attempts. This ensures students only focus on revisiting and reattempting questions they haven't answered correctly before. This feature encourages more effective learning and review.

Version:

Plugin version: 1.0
Released on: 14 JUNE 2023

Authors:
LMSACE, LMSACE Dev Team


Configuration

To configure the plugin settings, follow these steps:

1. Log in to your Moodle site as a 'course administrator' or 'teacher'.

2. Navigate to the course where the quiz is located.

3. Turn editing on.

4. Click on the quiz activity to access its settings.

5. In the quiz settings page, locate the 'Question behavior' section and 'click on' it.

6. Look for the 'Each attempt builds on the last' setting and 'enable' it. This setting allows each attempt to build on the previous one, retaining the user's previous responses and providing a cumulative learning experience.




7. Next, scroll down to the 'Extra restrictions on attempts' section.

8. From the dropdown setting 'Hide questions on attempt', select the option that says 'Hide the correct answered question in new attempt'.

9. To keep the question mark and feedback from your previous attempt on a hidden question, select the "Auto grade the correct questions" option in the "Questions auto-grade" dropdown setting.


10. Save the quiz settings to apply the changes.

With these settings enabled, when a learner attempts the quiz again, the questions will be hidden, allowing them to reflect on their previous attempt and make improvements without directly seeing the correct answers.

Note: It's important to communicate these settings to your learners so they understand the behavior of the quiz and the purpose behind hiding the questions on subsequent attempts.


Contributing

Contributions to this Moodle plugin are welcome. If you encounter any issues or have suggestions for improvement, please submit them through the GitHub repository https://github.com/lmsace/moodle-hide-correct-questions/issues.


Support

For support or assistance, please contact the plugin author or submit an issue through the GitHub repository https://github.com/lmsace/moodle-hide-correct-questions/issues.


About

This plugin was developed by LMSACE. For more information, please visit our website or contact us directly.

Contributions 

LMSACE would like to thank these main contributors for their contributions

1. Yuka (Shori) Kataoka, External Certified Japanese Language Instructor: Funding

2. Maemoon Naseer, Founder and CEO of Aeorax: Funding

Screenshots

Screenshot #0
Screenshot #1

Contributors

LMSACE - E-learning development company , Moodle Experts
LMSACE e-learning experts (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Peter Gordon
    Wed, 29 Nov 2023, 1:17 AM
    If I have a quiz setup to use randomly selected questions from a series, will this keep track of the questions that have been answered correctly under those circumstances?
  • Matthias Giger
    Sun, 14 Apr 2024, 4:07 PM
    When you try to install the version v2.1 (2024041200), you'll get an error: "Coding error detected, it must be fixed by a programmer: Incorrect syntax in plugin supported declaration in hidecorrect".
  • Viraj Mudaliar
    Tue, 23 Apr 2024, 2:02 PM
    @Matthias how did you stop the plugin from installing after that? I'm stuck on the page that shows the current build and php status and i can't cancel the plugin install
  • Mohammad Nabil
    Wed, 1 May 2024, 6:41 AM
    hi
    i gotthis error :
    Incorrect syntax in plugin supported declaration in hidecorrect
    when install it on moodle 4.3
  • Nithyanandan LMSACE
    Fri, 3 May 2024, 11:52 PM
    Hi Matthias Giger,

    We have fixed the plugin issue, updated the latest source and released on the latest version (V2.2)

    Thanks.
  • Tyler Spessot
    Fri, 24 May 2024, 10:04 AM
    Hey there! Great plugin!

    However, when using an essay question in Moodle 4.2.7 the previous grade is not brought forward to the new attempt. This is causing the question not to hide and then causing the teacher to regrade. Hope this makes sense!

    Thanks, Tyler
  • Anthony Reimers
    Mon, 27 May 2024, 9:55 AM
    I will also add that this is a great plugin and works with auto marked quizzes, however I am having the same issues above as Tyler with is not working for essay questions. Is this possible or is there something that we can do to avoid teachers having to remark essay questions? I am also using 4.2.7 and V2.2 of the plugin.

    Thanks, Anthony
  • Damien Bell
    Mon, 27 May 2024, 12:44 PM
    Version 2.0 of this plugin works perfectly with Moodle 4.1.6 - it retains the marks and answers of essay questions - Thankyou!!!!!
    Unfortunately version 2.2 on Moodle 4.2 doesnt seem to retain Essay questions.
    This plugin is absolutely fantastic with the exact configurations. I hope you continue to maintain it
  • Abinesh Suseendran
    Mon, 27 May 2024, 1:16 PM
    Hello Tyler Spessot, Damien Bell, and Anthony Reimers,

    Thank you for your valuable feedback. We're delighted to hear that you find the plugin useful.
    Currently, we're working on fixing an issue with it. A new version will be updated and released within the next two days.
    Thank you for your patience.
  • Abinesh Suseendran
    Wed, 5 June 2024, 2:07 PM
    Hello everyone,

    We are pleased to announce the release of the latest version of the Hidecorrect plugin, now compatible with Moodle versions 4.3 and 4.4.
    We encourage all users of the Hidecorrect plugin to download and update to the latest version.
    Your feedback and support have been invaluable to us, and we're grateful for your continued trust in our plugin.

    Thank you for using the Hidecorrect plugin!
  • Dan BM
    Mon, 10 June 2024, 11:40 AM
    Awesome plugin, huge time saver for markers, so thank you so much!
    One minor thing is that it doesn't allow for re-attempts on the Moodle App (at least not the free version). When I go in as a student to re-attempt, I get the prompt "This quiz can't be attempted in the app because it has access rules not supported by the app: quizaccess_hidecorrect" - I'm then prompted to open the quiz in a browser.

    No biggie, but as someone who likes to create quizzes that can be attempted and re-attempted offline, just wanted to see if this was amendable for offline compatibility within the Moodle app.

    Or would this be something to flag with the app folks? Or is it not an issue on the paid version of the app?

    Thanks again!
  • Ben Atwood
    Tue, 5 Nov 2024, 6:52 AM
    This plugin is very useful, thanks!
    I want to change my existing courses to have the settings needed to use the plugin and then future quizzes to default to having the correct settings (e.g. auto grade the correct questions). It is very time consuming to go through hundreds of quizzes to modify.
    Is there a way to change these settings in bulk? Maybe even an SQL command?
  • Abinesh Suseendran
    Mon, 18 Nov 2024, 12:52 PM
    Hi Ben Atwood,

    Thank you for using the plugin!

    We've added these settings to the upcoming plugin release. If you need an urgent solution, please reach out to us at info@lmsace.com

    Thank you
  • Cobus van Loggerenberg
    Fri, 14 Feb 2025, 4:27 PM
    Hi Abinesh,

    I added a comment to github, for your information. I wanted to differentiate between passrate and all questions correct. If all questions were answered correctly, not to display the re-attempt button, but, if you passed, and there are still questions unanswered or incorrect, you may decide to re-attempt, thus leaving the button to display. I took the liberty to add and change some code, which I explain in the message in github. I hope you can use it, it surely does what I wanted to achieve.
  • Deb Gyde
    Mon, 3 Mar 2025, 10:35 AM
    This is a very useful plugin. One thing we are finding is that if we use 'information' question types before a set of questions, when the quiz is re-attempted, all the information areas come up in the re-attempt. Is there a way around this? Would creating the information block a the top of new pages mean that new attempts would only show the information block for any questions that were incorrect in that page/section? Our use case for this is a set of scenarios given in the information text, with questions relating to the scenario beneath that. These are set to not shuffle. Is there a way to link the information area to the specific questions? Thanks in advnace for any help with this.
1 2
Please login to post comments