Activities: Adaptive Quiz

Maintained by Picture of Adam Franco Adam Franco
Create tests that efficiently measure users' abilities by adapting the question difficulty to the estimate of the user's ability.
225 sites
46 fans

Plugin 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


Screenshot #0


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

Comments RSS

Show comments
  • Picture of Andriy Semenets
    Fri, 3 Feb 2017, 11:42 PM
    Hi, everybody
    Maybe somebody who experienced with this excellent plugin provide little explanation about usage issue:
    - teacher has created one official tag:
    - he assign official and additional tags to question, like this
    - however, during attempt we got next: :
    all question marked as had difficult level 50 (minimal for quiz)
    We have tried to follow documentation. What did we do wrong? Moodle 3.2.1
  • Picture of Deepanshu Agarwal
    Wed, 1 Mar 2017, 1:50 AM
    Hi everyone
    Is the code available on the github link given above is complete Adaptive quiz system project ?
  • Picture of eduardo rivero
    Fri, 31 Mar 2017, 7:35 PM
    Hi Adam;
    Is there any way to show the question feedback inmediately after the student answers the question? I have tried but no feedback is shown and I can´t do it through permissions.
  • Picture of Adam Franco
    Wed, 5 Apr 2017, 12:53 AM
    No, there is no way to show feedback immediately after a question is answered.
  • Picture of Aaron Batty
    Mon, 24 Apr 2017, 12:00 PM
    Wow, this is amazing.

    In practice, how do you envision determining item difficulty? Administer the item a bunch of times, use 1PL/Rasch, and rescale logit value to a 1-999 scale?
  • Picture of Jorge Paz
    Tue, 20 Jun 2017, 4:33 AM
    Hola, cual es la licencia de uso de este plugins? puedo modificarlo para probar nuevos algoritmos?
  • Picture of brenda estupinan
    Thu, 27 Jul 2017, 4:49 AM
    Hi. We would love to start using this for our program but our IT team tells us it's not available in 3.2. Do you know when you will create a version for Moodle 3.2?
  • Picture of Adam Franco
    Thu, 27 Jul 2017, 5:16 AM
    Hello all, this plugin in need of maintainers as the sponsor of this plugin and my employer, 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
  • Picture of Andriy Semenets
    Sun, 8 Oct 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
  • Picture of Sathish M
    Wed, 20 Dec 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.
  • Picture of Sathish M
    Wed, 20 Dec 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()
  • Picture of Dnyaneshwar Somwanshi
    Fri, 2 Feb 2018, 7:40 PM
    error while trying to attempt. i am using adaptive quiz for moodle 3.3
  • Picture of Ged Allen
    Sat, 26 May 2018, 5:34 PM
    Same issue as above. Has anyone got adaptive quiz to work with moodle 3.3?
  • Picture of David Heuring
    Sat, 26 May 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.

  • Picture of Roshan Ragel
    Tue, 13 Nov 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?
1 2 3

Commenting temporarily disabled