Gapfill

Question types ::: qtype_gapfill
Maintained by Marcus Green
Cloze (fill in the blanks) question type with VERY simple question creation syntax. Can do drag drop, dropdowns or gapfill questions
Latest release:
4179 sites
1k downloads
109 fans
Current versions available: 11

As discussed in the Moodle Forum

https://moodle.org/mod/forum/discuss.php?d=203802

Contribute translations for other languages

For custom development and consultancy contact Moodle Partner Catalyst EU (https://www.catalyst-eu.net/).


For any questions please post here
https://github.com/marcusgreen/moodle-qtype_gapfill/issues

Screenshots

Screenshot #0
Screenshot #1

Contributors

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

Comments RSS

Comments

  • Liz Steele
    Wed, 9 Sept 2015, 12:20 AM
    Hello,
    I am also experiencing an error in grading. I am trying to use drag and drop on a Spanish quiz. It marks all answers that have an accent incorrect. Moodle 2.8.6, Gapfill 2006082515 1.7, Clean theme. Is there a fix for this? Or should we use a different question type? Thanks!
  • Marcus Green
    Wed, 9 Sept 2015, 12:31 AM
    Can you export your questions as XML and send them to me (I will send my email address directly to you)
  • Marcus Green
    Wed, 9 Sept 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.
  • Marcus Green
    Wed, 9 Sept 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).
  • camille Grasset
    Mon, 19 Oct 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.
  • Marcus Green
    Mon, 19 Oct 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)
  • Sourabh Maheshwari
    Fri, 6 Nov 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
  • Marcus Green
    Fri, 6 Nov 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.
  • Elton LaClare
    Tue, 10 Nov 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 http://934091646357577694.weebly.com/gapfill-images.html) 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.
  • Marcus Green
    Tue, 10 Nov 2015, 8:58 PM
    That's awesome Elton, many thanks for the link.
  • camille Grasset
    Fri, 13 Nov 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.
  • camille Grasset
    Fri, 13 Nov 2015, 9:40 PM
    OK... solved! This error appeared when I used @ symbols as delimit characters... Changed it to # , works just fine
  • Mariapaola Cirelli
    Thu, 19 Nov 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!
    Paola
  • Marcus Green
    Thu, 19 Nov 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.
  • Mariapaola Cirelli
    Fri, 20 Nov 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!
Please login to post comments