> For the complete documentation index, see [llms.txt](https://docs.tlic.cmu.ac.th/cmu-mango-canvas-manual/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tlic.cmu.ac.th/cmu-mango-canvas-manual/quizzes-and-assignment/new-quizzes/fill-in-the-blank.md).

# Fill in the blank

Fill in the blank is a type of question that requires filling in the missing word(s) in a sentence. There can be more than one blank space, and the answer can be of various types.

This type of question can be scored separately for each blank space. For example, in this quiz, each blank space is worth 1 point, and there are 4 blank spaces. Therefore, each blank space is worth 0.25 points. When a learner answers correctly in 2 blank spaces and incorrectly in 2 blank spaces, the total score will be 0.50 points.

### Types of Answers

* Open Entry&#x20;
* Dropdown&#x20;
* Word Bank (Drag and Drop)

### Text Match (Only for Open Entry)

<figure><img src="/files/tK3fmZnOxyF5WCyBSwnp" alt=""><figcaption></figcaption></figure>

* **Contains:** Contains option allows learners to respond in any way they choose, as long as the answer is spelled correctly. For example, if the correct answer is "panda," typing "It's panda" will be considered correct and receive points. However, typing "Panda" will be marked as incorrect and not receive points.
* **Close Enough:** The system uses Levenshtein Distance to check for answers that are close to the correct answer (suitable for English answers).
* **Exact Match:** Students must type the exact answer to receive points.
* **Specify Correct Answers:** Additional acceptable answers can be specified, such as lowercase/uppercase letters.
* **Regular Expression Match:** Regular expressions are used to assist in checking answers, which may not be suitable for basic users. [read the Regular Expression Wikipedia entry](https://en.wikipedia.org/wiki/Regular_expression).

## Video Tutorial for a Fill in the Blank

{% embed url="<https://youtu.be/cF4n-USmr5o>" %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.tlic.cmu.ac.th/cmu-mango-canvas-manual/quizzes-and-assignment/new-quizzes/fill-in-the-blank.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
