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.
245 sites
40 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 David Heuring
    Thu, 12 Jan 2017, 3:51 PM
    Hi, Seth-

    Adam worked on this for me awhile back. I needed both audio files to play and images to show up in the questions. He made some changes to the plugin. I don't know if he updated the Moodle repository though. I got his updated version directly from GitHub. Unfortunately, I was unable to get it to work on my Moodle production site. Interestingly, the images did show and audio played on a clean Moodle development site so there must something conflicting on my production site. I never figured it out and opted for a work around by putting all my images and audio files in a separate folder on the server and then linking to them in the text editor. Not the best solution but one that displays the images and plays the audio for the test takers. HTH
  • Picture of Seth Mengal
    Thu, 19 Jan 2017, 5:00 PM
    Hi David, thanks for the information - let me check that github version if its doing any good but i did check i remember the git version too. Do u still have the files of the adaptivequiz git where images did work a bit? Thanks again.
  • Picture of Adam Franco
    Fri, 20 Jan 2017, 5:11 AM
    Hi Seth, see comments about the image issue in
  • 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
1 2 3
Please login to post comments