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.5, 2.6, 2.7, 2.8, 2.9, 3.0


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 Marcus Green
    Wed, Sep 9, 2015, 12:34 AM
    Hi Liz, can you also import the sample questions that come in the sample_questions.xml file and in particular run the question/s with the title "Other scripts and accents". This illustrates non ASCII characters, a word in Cyrillic and the a french word with an accent.
  • Picture of Marcus Green
    Wed, Sep 9, 2015, 6:45 AM
    Hi Liz, I have just tried your question in Moodle 2.7 with Gapfill 1.7 and it appeared to work. I will get an install of Moodle 2.8.6 and try it with that (there should be no difference but you never know with these things).
  • Picture of camille Grasset
    Mon, Oct 19, 2015, 3:14 PM
    Hi Marcus, Hi Liz,
    I encountered the same problem with french accents such as "é" on moodle 2.9.2+ (Build: 20151016). The answers containing accents won't be considered right if the option 'case sensitive" is not activated.
  • Picture of Marcus Green
    Mon, Oct 19, 2015, 5:43 PM
    Hi Camille
    This issue was fixed in the most recent release (1.7). Sadly the standard PHP string function would not deal properly with anything except basic ASCII, so I had to switch to a more recent bit of code.
    Here is the text from the releasenotes

    There is a fix to ensure proper handling of string comparison. Previously
    tolower was used which would not work correctly with text containing accents.
    This has been changed to use mb_lower.

    I now include a new sample question that illustrates the handling of text containing more than basic ASCII
    Here is the text of that example question
    The gapfill question type can be used with non ASCII characters. For example the Cyrillic alphabet.

    Moscow is the capital of [Россия]

    The french word garçon has an accent on the letter c [garçon]
    (Hmmm perhaps french should have an upper case F)
  • Picture of Sourabh Maheshwari
    Fri, Nov 6, 2015, 2:29 AM
    Hi Marcus,

    I am working with non ASCII characters. In the question bank every thing works fine but in the quiz when I check the answers it will not grade the questions. Could you please look into this. Thanks
  • Picture of Marcus Green
    Fri, Nov 6, 2015, 2:48 AM
    Hi Sourabh, what version of the plugin are you using, what version of Moodle are you using, have you got case sensitivity on or off (which doesn't matter for versions of Gapfill later than 1.6), and what do you mean by it will not grade the questions.
  • Picture of Elton LaClare
    Tue, Nov 10, 2015, 1:11 PM
    Hi Marcus,

    I just wanted to say thank you for a great plugin. My school uses tablets in the classroom, and the drag & drop functionality is a big plus. I've put up screenshots (see of a couple of questions I made. The first is a pretty standard picture matching. The second is a listening task in which students listen to the audio file (located in the table header) and drag items to the appropriate location on the timetable. I used CSS to change the location of the question status information. It is normally located to the left of the question, but I found that this took up valuable space on the page, especially for a question type like Gapfill.
  • Picture of Marcus Green
    Tue, Nov 10, 2015, 8:58 PM
    That's awesome Elton, many thanks for the link.
  • Picture of camille Grasset
    Fri, Nov 13, 2015, 8:25 PM
    Hello again Marcus,
    I have trouble with the insertion of audio files (mp3) in the question text area. They don't appear as players but as error messages: PLUGINFILE (empty box)
    /name.mp3">name.mp3 ... Any ideas on how to deal with it? I saw Elton's screenshot: it seems to work fine for him.
  • Picture of camille Grasset
    Fri, Nov 13, 2015, 9:40 PM
    OK... solved! This error appeared when I used @ symbols as delimit characters... Changed it to # , works just fine
  • Picture of Mariapaola Cirelli
    Thu, Nov 19, 2015, 11:14 AM
    Hi Marcus,
    I am experiencing an error everytime I work with non ASCII characters. My language is Italian. Whenever I create a gapfill exercise where my students have to write words with a final accent (è, à, ecc) the system will mark the answer wrong even when it's right.
    For example, if the word to type in the box is [andrà] and the student writes [andrà], the system will mark it wrong anyway and suggest the correct answer which is ...[andrà]!!!
    I am using version 2.9 of Moodle and version 1.8 of Gapfill. I tried switching case sensitivity on and off but it didn't work. Is there a way the problem can be fixed?
    Thank you!
  • Picture of Marcus Green
    Thu, Nov 19, 2015, 6:27 PM
    Hi Mariapaola, I have sent you a direct message with my email address in it and I have been doing some tests with your example.
  • Picture of Mariapaola Cirelli
    Fri, Nov 20, 2015, 5:17 AM
    Hi Marcus,
    yes I got your message but I didn't quite understand what I was supposed to do. Thank you for getting back to me so quickly!
  • Picture of Vela Simeonova
    Thu, Nov 26, 2015, 3:58 PM
    Hello Marcus,

    The plugin is great and helpfull, but I am experiencing the same problem with non ASCII characters. Using Moodle2.8, gapfill1.8. The problem is axactly the same as Cirrelli wrote before. Is there any solution?
    Thank you
  • Picture of Marcus Green
    Thu, Nov 26, 2015, 4:34 PM
    Uncheck the regular expression checkbox and let me know the result
1 2 3 4 5 6 7
Please login to post comments