Moodle: Activities & Resources: Quiz Question Types: Gapfill

Gapfill is a Cloze question type that offers dynamic options with a simpler question-builder interface than the Cloze question type. It can consist of a passage of text that has various answers embedded in it. These answers can be in a drag-and-drop, gapfill short answer, or drop-down format. There are several settings options for this question type, including distractors and hints.

The following is a an example of a drag-and-drop gapfill question.
Gapfill example preview

To Add a Gapfill Question to the Question Bank:

  1. Open Moodle and select your course.
  2. In the Quiz administration menu, click Question bank then click Questions.
    admin menu with question bank selected
  3. Click Create a new question.
    question bank with "create new question" selected
  4. Select Gapfill from the sidebar at the left, then click Add at the bottom.
  5. General Settings include a Question Name and Question text. Optional settings include Category and General feedback.

    NOTE: It is suggested that the instructor make sure that the category is correct for organizational reasons and that the question name is something specific (other than Number 1) so that it is easier to find and edit later.
    Gapfill Question name, text, feedback blanks
  6. In the Question text area, begin writing your question. Use the symbols in Delimit characters under More Options around the word(s) that will be missing. The default delimiting characters are square brackets. Distractors can also be added with comma separations. These are extra words that will be added to the answer bank.
    Gapfill question text and distractor example
  7. Use the Add Gap settings button under the Question text to customize the feedback for each gap. Click on the gap word(s) you would like to leave feedback for, and then enter feedback for correct and incorrect responses. Then click OK to move on to the next gap.
    Example feedback for the gap word oaks
  8. Review the settings under More Options before saving.
    Gapfill question type More Options menu
    • Delimit characters: options for the delimiters, [ ] { } # # @ @
    • Display Answers: dragdrop; gapfill; dropdown
    • Fixed Gap Size: makes the gap size not reflect the length of the word(s)
    • Single use draggables: allows the word bank to get smaller as words are used
    • Options after text: places the word bank under the question instead of above
    • Disable Regex: turns off Regular Expression syntax. It is recommended to check this if not using Regex or if using Math or coding
    • Letter hints: provides a letter when the quiz is in interactive mode with multiple attempts
    • No Duplicates: useful when accepting answers in various orders to only score one entry correct if one answer is entered more than once. For example, if the question is, "The French flag is [red|white|blue],[red|white|blue], and [red|white|blue]" checking this would prevent earning full credit for answering red, red, and red but would allow students to enter the colors in any order. Note that this example would also require Disable Regex to stay unchecked.
    • Case Sensitive: requires correct capitalization for Gapfill answers
  9. When you are finished creating the question, and reviewing the additional settings, Save your changes.
  10. To add your newly created question to a Quiz, see the GROK article Adding Quiz Questions to a Quiz.



Support & Training

The Faculty Technology Center (FTC) provides Moodle support by email, by phone, or live through Zoom. For contact information, please see the article Faculty Technology Center: LSU Overview. To connect through Zoom and for further information on support services and training, see the LSU Online & Continuing Education Faculty Resources & Support page.

The FTC also provides just-in-time faculty training opportunities and recorded training sessions. Attending at least one training session for Moodle upgrades is highly recommended. For a comprehensive list of available workshops and recordings, please see the LSU Online & Continuing Education Technology Training page.

6/28/2022 5:11:55 PM