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

Gapfill 1.976

Moodle 3.1, 3.2, 3.3, 3.4, 3.5, 3.6, 3.7
Released: Sunday, May 19, 2019, 4:26 PM
Gapfill question type V1.976 for Moodle

New svg icon with a touch of colour similar to the Wordselect question type. More english language example questions in xml format (about 450 now). Further code compliance.

For history of changes see

A very easy to use Cloze question type that supports drag/drop answers that work on mobile devices and the mobile app.
Teachers can define the question with square braces to define the missing words. For example The [cat] sat on the [mat].
Alternative delimiting characters can be defined during question edit for example The #cat# sat on the #mat# can be valid.

If the dropdown or dragdrop options are set in the question edit form, it can display a shuffled selection of correct and
wrong answers. These can then can be selected via dropddropdown lists or javascript powered drag and drop functionality.

This question type was written by Marcus Green

This question type was created and tested under Moodle 3.2,3.3,3.4,3.5,3.6,3.7

Place the files in a directory


Where moodle is webroot for your install.

Go to Site Administration/Notifications

Version information

Version build number
Version release name
Stable version
MD5 Sum
Supported software
Moodle 3.1, Moodle 3.2, Moodle 3.3, Moodle 3.4, Moodle 3.5, Moodle 3.6, Moodle 3.7

Version control information

Version control system (VCS)
VCS repository URL

Default installation instructions for plugins of the type Question types

  1. Make sure you have all the required versions.
  2. Download and unpack the module.
  3. Place the folder (eg "myquestiontype") in the "question/type" subdirectory.
  4. Visit to finish the installation