Creating Fill-in-Blank
Fill-in-the-Blank questions require students to type the correct answer into one or more blanks. They are auto-graded by comparing student input against the correct answer and any accepted alternatives.
Step-by-Step Creation
1
Navigate to Questions
Go to Questions → Create Question from the sidebar.
2
Select Fill in the Blank type
Choose "FILL_IN_BLANKS" from the Question Type dropdown.
3
Write the question text
Enter the sentence or passage with blank placeholders. Use the question text field to provide the context around the blanks.
4
Add blanks
Click "Add Blank" to create each blank. For each blank, enter the correct answer.
5
Set alternative answers
For each blank, optionally add alternative accepted answers. This accounts for synonyms, abbreviations, or alternate spellings.
6
Configure case sensitivity
Toggle case sensitivity per blank. Leave off for most questions; enable for questions where exact casing matters (e.g., proper nouns, code).
7
Save
Set points, difficulty, and metadata, then click Save.
Fill-in-Blank-Specific Fields
| Field | Required | Type | Description |
|---|---|---|---|
Blanks | Required | list | At least 1 blank required. Each blank defines the correct answer, optional alternatives, and case sensitivity. |
Correct Answer | Required | text | The primary correct answer for each blank. This is what the student's response is compared against. |
Alternatives | Optional | text | Additional accepted answers for each blank. For example, "USA" and "United States" could both be correct. |
Case Sensitive | Optional | toggle | When enabled, answers must match exact casing. Off by default (case-insensitive matching). |
Data Structure
Each blank in the FillInBlanksData object contains:
id— unique identifier (auto-generated)correctAnswer— the primary correct answer stringalternatives— optional array of additional accepted answerscaseSensitive— optional boolean, defaults tofalse
Multiple Blanks
You can add multiple blanks to a single question. Each blank is independently configured with its own correct answer and alternatives. For example:
Case Sensitivity Options
- Case-insensitive (default) — "paris", "Paris", and "PARIS" are all accepted. Best for most general knowledge questions.
- Case-sensitive — only the exact casing matches. Use for proper nouns, chemical formulas, programming syntax, or abbreviations where casing matters.
Writing Tips
- Place blanks for key terms, not trivial words like articles or prepositions.
- Provide enough context so the blank can only be filled with the intended answer.
- Avoid blanks at the very beginning of a sentence — students need context before encountering the blank.
- For numerical answers, decide whether to accept different formats (e.g., "1000" vs "1,000") and add them as alternatives.