Adaptive Quiz

Activities ::: mod_adaptivequiz
Maintained by Adam Franco
Create tests that efficiently measure users' abilities by adapting the question difficulty to the estimate of the user's ability.
Latest release:
200 sites
50 fans
Current versions available: 3

No maintenance -- this plugin is in need of maintainers: The sponsor of this plugin, Middlebury College, is no longer using Moodle. If you are interested in updating this module for future Moodle releases and further improving it, please contact

The Adaptive Quiz activity enables a teacher to create tests that efficiently measure the takers' abilities. Adaptive tests are comprised of questions selected from the question bank that are tagged with a score of their difficulty. The questions are chosen to match the estimated ability level of the current test-taker. If the test-taker succeeds on a question, a more challenging question is presented next. If the test-taker answers a question incorrectly, a less-challenging question is presented next. This technique will develop into a sequence of questions converging on the test-taker's effective ability level. The test stops when the test-taker's ability is determined to the required accuracy.

The Adaptive Quiz activity uses the "Practical Adaptive Testing CAT Algorithm" by B.D. Wright published in Rasch Measurement Transactions, 1988, 2:2 p.24 and discussed in John Linacre's "Computer-Adaptive Testing: A Methodology Whose Time Has Come." MESA Memorandum No. 69 (2000).

This Moodle activity module was created as a collaborative effort between Middlebury College and Remote Learner. The latest code, documentation, and bug-tracker can be found at


This plugin is part of set Seeking new maintainer.


Screenshot #0


Adam Franco (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Sun, Oct 8, 2017, 11:27 PM
    Hello, everyone
    I have done some adoption and customization of this incredible plugin. It is slightly "unofficial" but if you are interested - you can try my version:
    - pull request
    - my featured branch
    Notes on given version:
    - "immediate feedback" mode (@eduardo rivero you are interesting on this?)
    - ability to students to see their responses
    There is how UI elements look like:
    Also, I have tried to apply general quiz module processing order. Several minor bugs was fixed too.
    Code is compatible up to Moodle 3.2.5
  • Wed, Dec 20, 2017, 5:20 PM
    I am using this for postgres. I made some changes in query. Now when I start the attempt. It directly goes to the continue. After when I start again
    It shows the error "Error trying to complete attempt record". How can be it sorted out.
  • Wed, Dec 20, 2017, 5:37 PM

    Error trying to complete attempt record

    More information about this error

    Debug info: SELECT * FROM {adaptivequiz_attempt} WHERE uniqueid = ? AND instance = ? AND userid = ?
    [array (
    0 => 0,
    1 => '1',
    2 => '2',

    Error code: completeattempterror
    Stack trace:
    line 496 of \lib\setuplib.php: moodle_exception thrown
    line 250 of \mod\adaptivequiz\locallib.php: call to print_error()
    line 224 of \mod\adaptivequiz\attempt.php: call to adaptivequiz_complete_attempt()
  • Fri, Feb 2, 2018, 7:40 PM
    error while trying to attempt. i am using adaptive quiz for moodle 3.3
  • Sat, May 26, 2018, 5:34 PM
    Same issue as above. Has anyone got adaptive quiz to work with moodle 3.3?
  • Sat, May 26, 2018, 7:47 PM
    I've got it installed on 3.4.1 without any issues apart from the image display bug I've previously reported on GitHub. As a workaround, I hyperlinked the images in the questions to an outside directory where the actual files are located. Apart from that, it's been working fine. Planning to upgrade to Moodle 3.5 once I can determine that all contributed plugins, including adaptive quiz, all work on that version.

  • Tue, Nov 13, 2018, 4:11 PM
    I'm a student at the University of Peradeniya, Sri Lanka. I'm using your adaptive quiz Moodle plug-in for my final year research project. I hope to change the implementation in some places of the source code.
    As an initial step, I need to update the tags of the questions dynamically when the users answer the questions. Can you please help me.

    Can you please tell me where the questions of the Question Bank are stored in the database?
    Where the tags of the questions are saved in the database?
    Where is the exact place in the code, which the tags are storing to the database?
  • Fri, Sep 27, 2019, 12:42 PM
    I've been using the adaptive quiz plugin for many years now. It is still working correctly with my Moodle version is 3.5.2, but I'm getting ready to upgrade to 3.7 and would like to know if anyone has done the same, and, if so, if the plugin still works. As you know, this app is no longer being maintained so any of us using it are in a tenuous situation if it fails to work with a Moodle upgrades. I'd also be interested in banding together with other users to pay for some improvements to the plugin. In addition, this plugin is currently not supported by the Moodle mobile app. Is anyone interested in joining me to have a developer prepare remote access so the plugin will work with the app?
  • Fri, Sep 27, 2019, 6:39 PM
    Hi David,

    I use for adaptive testing CapQuiz:
    Suitable for Moodle 3.7.

  • Sat, Feb 29, 2020, 2:57 AM
    @David Heuring (and all who are interested)
    I am periodically working on this plugin maintaining. So (despite branch name) I have a version which still compatible even with latest Moodle 3.8.x :
  • Sat, Feb 29, 2020, 8:58 AM
    Thanks so much, Andrily, for your efforts! I really appreciate it. We use this plugin for an online placement test that so far has been taken by over 6,000 students so you can imagine how I hold my breath each time we have a Moodle upgrade. I downloaded it from GitHub and installed in on our test server - Moodl 3.8.1. My initial check doesn't show any issues. I'll work with it more intensively soon but I just wanted to let you know how grateful I am to you for keeping this plugin working.
  • Fri, Jul 17, 2020, 5:58 PM
    Hello Everyone,

    Can Anyone help me about how to add test difficulty levels for questions in Adaptive Quiz ??? We installed this plug-in in moodle 3.9 version. when we add tags to questions some questions are pulling to Adaptive Quiz without displaying Simple or Hard Questions. During Final Output in Adaptive plugin process We want to show whether a question is simple or Hard Question to Students.

    How to differentiate questions is it hard or medium or simple ???
  • Sat, Dec 5, 2020, 7:45 PM
    @Andriy Semenets
    Thanks again for your efforts to keep this going so far. Wondering if there is any chance you'll be updating this to work on 3.9 and 3.10. Hopefully, they'd only be minor changes needed.
  • Mon, Sep 27, 2021, 1:16 AM
    @David Heuring (and all who are interested)
    I have minimal time to support this plugin and not enough knowledge of its internal algorithms as well. Despite, I provide some tests and fixes from time to time. At a moment the plugin's branch should works up to Moodle 3.11.3 version
  • Tue, Sep 28, 2021, 12:06 PM
    I can't thank you enough @Andriy Sements for your willingness to keep this plugin operational. We're using Moodle 3.10.3 so this is welcome news for the next Moodle upgrade. I suppose the big hurdle that lies ahead is Moodle 4.0. One odd issue we've noticed, although I doubt if it is a coding matter, is that the test occasionally stops because it goes to an adpq level that doesn't exist to get the next question. I can't find a pattern to these occurrences though, nor can I replicate it with test bank I use for testing purposes . I wrote Adam about it and he directed me to the coding about "fetch next question", but my uninformed eye didn't see anything wrong. It only happens once in awhile so we delete the score and have the student retake the test. At any rate, thank you so much for this update and the previous fix you helped with for the "View Report" page. You've been most gracious with your assistance.
1 2 3 4
Please login to post comments