Question types: Gapfill

qtype_gapfill
Maintained by Picture of Marcus GreenMarcus Green
Cloze question type with VERY simple question creation syntax. Can do drag drop, dropdowns or gapfill questions

Gapfill 1.6

Release notes

Gapfill question type V1.6 for Moodle

A very easy to use Cloze question type that supports drag/drop answers that work on mobile devices. 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 2.5, 2.6, 2.7. and 2.8

It will not work with versions of moodle prior to 2.1.

Place the files in a directory

moodle\question\type\gapfill

Where moodle is webroot for your install.

Version 1.1 includes a count of correct answers and clears incorrect responses in interactive mode
Version 1.2 will colour duplicate answers yellow when discard duplicates mode is used (see help)
Version 1.3 toggle regex for plain string compare. Useful for maths, html and programming language questions
Version 1.4 added support for touch devices such as Apple iOS phones and tablets (iPhone/iPad) and Android devices
Version 1.5 added support for gaps that are marked correct if left empty using !!, and fixedgapsize
Version 1.6 added display of the correct answer next to gaps with wrong answers entered
Moodle 2.4, 2.5, 2.6, 2.7, 2.8

Version information

Version build number
2006082514
Version release name
1.6
Can be updated to
1.8 (2006082516)
Maturity
Stable version
MD5 Sum
0baa9cb13685dc97846f3da12b4e777b
Supported software
Moodle 2.4, Moodle 2.5, Moodle 2.6, Moodle 2.7, Moodle 2.8

Version control information

Version control system (VCS)
GIT
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 http://yoursite.com/admin to finish the installation