Your Moodle version

Question types: Gapfill Question

Maintained by Picture of Marcus Green Marcus Green
Cloze question type with VERY simple question creation syntax. Can do drag drop, dropdowns or gapfill questions
Moodle 2.1, 2.2, 2.3, 2.4, 2.5, 2.6


Screenshot #0


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

Comments RSS

Show comments
  • Picture of camille Grasset
    Sat, Jan 16, 2016, 7:51 PM
    Hi Marcus,
    I get the same error as Paul Vivian shows above (4.january). You seem to have this issue fixed, however, I haven't found yet how to update the file: I always am directed to the same "plugins check" page waiting for an "upgrade of the moodle database". I cannot either uninstall the plugin from the plugins overview page.
    I guess I lack knowledge on how to administrate plugins, but I haven't found any answers in moodle documentation and forums...
    Some help would be really apreciated!
  • Picture of Marcus Green
    Sat, Jan 16, 2016, 8:04 PM
    Hi Camille, yes the issue Paul had is fixed in the visible release. The problem was in the db\upgrade.php file. If you can replace that the upgrade should run without error. When did you download/attempt to upgrade your version? That faulty version was only available for a matter of hours I believe. You can email me directly at marcusavgreen at and one way or another I should be able to get your question upgraded.
  • Picture of camille Grasset
    Sat, Jan 16, 2016, 10:28 PM
    Fantastic, it's all fine now, many thx for the help
  • Picture of Chris Kenniburg
    Thu, Mar 10, 2016, 11:08 PM
    Hello Marcus, We love your question type! However, we discovered an issue. In the question text we can use Exponents. However, in the distractors when we add exponents they get removed when saving. Do you have any ideas on what might be causing this? We have some math teachers that would like to utilize your question type for a variety of purposes.
  • Picture of Kevin Bruton
    Sat, Apr 2, 2016, 6:50 PM
    Hi Marcus, Great plugin!
    With it, I'm able to ask questions such as: list the four seasons of the year. And marking "no duplicates" as you've described in your post (, it marks the answers correctly.
    However, I can see that it gives one full mark for each season. Any way of giving one mark for the question in all?
  • Picture of Marcus Green
    Mon, Apr 4, 2016, 3:50 PM
    Hi Kevin, thanks for the feedback. There is no way of giving one mark for the question overall.There is considerable testing and logic embedded in the concept of one mark per gap so changing that to an all or nothing mark would require significant re-working.
  • Picture of Daniel Thies
    Mon, Apr 4, 2016, 10:21 PM
    Hi Kevin,
    You may be able to achieve this with a behaviour plugin
  • Picture of Kevin Bruton
    Wed, Apr 27, 2016, 8:26 PM
    Hi Marcus,
    I've got another question for you. I'm not sure if it's a bug or if I'm doing something wrong. I'm displaying the answers in the "gapfill" mode. When I press the preview button on the editing page, it appears as expected (a text box big enough to enter the word for each "gap"), but when I start a quiz with the question, the answer boxes occupy a whole line. Any ideas on this?
  • Picture of Marcus Green
    Wed, Apr 27, 2016, 8:28 PM
    Hi Kevin, can you email the text of your question and a screen shot of how it appears to marcusavgreen at
  • Picture of Kevin Bruton
    Thu, Apr 28, 2016, 4:01 AM
    Just for the record... in the end it wasn't a problem with this plugin. It was a problem with the Essential theme I was using. Marcus helped debug the problem and to find a solution: I updated the theme and all works as expected now.
    Thanks Marcus!
  • Picture of Chris Klissiaris
    Fri, Jun 24, 2016, 8:59 PM
    Hello, I have a problem with the question type and i would like your help. Sometime when my students type the reply they press space at the end or if they have to fill more than on words on a gap they press space 2 times by mistake so the system finds their reply wrong. Can i fix it somehow? Any ideas?
  • Picture of Marcus Green
    Fri, Jun 24, 2016, 9:12 PM
    Hi Chris, the string in a field is trimmed, so if the correct answer is cat and mat, ' cat ' and ' mat ' (where the quotes indicated extra space) will be accepted as correct. If the answer is 'black cat' and the user enters extra spaces, i.e. black cat it will be marked as wrong. I suggest one gap per expected word.
  • Picture of Chris Klissiaris
    Tue, Jun 28, 2016, 9:18 PM
    Well my problem is that i give as right answer 'black cat'. Sometimes the student though types 'black cat ' and it gets it wrong. or ' black cat ' or 'black_ _ cat'. I am trying a way to fix it and have the system ingore if first char is space or last char is space or if i have more than on spaces then change it to one space. Thats my issue.
  • Picture of Marcus Green
    Tue, Jun 28, 2016, 9:26 PM
    I think I understand your issue Chris, and I suspect that a programmer would be able to address it by normalising the spaces (i.e. making them all to a single space). I'm not in a position to work on that right now however.
  • Picture of Marcus Green
    Tue, Jun 28, 2016, 9:28 PM
    Can create an issue here with a full description so when I do my next round of updates I will see if it is something I can address.
1 2 3 4 5 6 7 8 9
Please login to post comments