> ## Documentation Index
> Fetch the complete documentation index at: https://docs.uflo.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Fill-in-the-Blank

> Add blanks and the answers Uflo accepts.

A **Fill In The Blank** question asks students to fill in blanks in your text, such as a sentence, a formula, or a table.
You write the text, then add a blank for each answer.

> [!WARNING]
>
> Paper exams and LMS imports can't grade this type, so use another type there.

## Add the Blanks

**1. Choose the Type**

In the [question form](https://docs.uflo.io/instructors/assessments/manage-questions.md#add-a-question), set the question type to **Fill In The Blank**. The editor appears below, with **Add Text Blank** and **Add Number Blank** above it.

![Question form with the type set to Fill In The Blank, the Add Text Blank and Add Number Blank buttons, and the fill editor with a paragraph and a table. Text blanks hold mitochondria, DNA, and proteins; number blanks hold 2000 with a margin of 500, 2, and 0.](https://mintcdn.com/uflo/dfYcR1qfGQBFSrA0/images/illustrations/screenshot/fill-in-the-blank-editor-type/light.webp?fit=max\&auto=format\&n=dfYcR1qfGQBFSrA0\&q=85\&s=091e891402ee416c42c886bd4c1032a4)

Text blanks end in T, number blanks in #.

**2. Add Each Blank**

> [tab] Text
>
> There are two ways to add blanks to your text:
>
> * **At the cursor:** click where the blank belongs, select **Add Text Blank** or **Add Number Blank**, and type the answer.
> * **Around selected words:** select words already in your text, then select **Add Text Blank** or **Add Number Blank**. The words become the answer.
>
> <video autoPlay muted loop playsInline controls poster="/images/illustrations/video/fill-in-the-blank-add-blanks/light.webp" src="https://mintcdn.com/uflo/QbXH4A4dnOos4hAt/images/illustrations/video/fill-in-the-blank-add-blanks/light.webm?fit=max&auto=format&n=QbXH4A4dnOos4hAt&q=85&s=641de13c251843cc270a81e2ba5cdaf5" aria-label="The pointer clicks after “made in the”, selects Add Text Blank, and types mitochondria into the new blank. Then it selects 2000 and selects Add Number Blank, which turns it into a number blank." />
>
> Add a blank at the cursor, or around selected words.
>
> Math in the text shows to students as raw LaTeX, such as `$P_{S}$`.

> [tab] Table
>
> Use a table when answers line up in rows and columns.
>
> 1. Click a new line, open the **+** menu beside it, and choose **Table**.
> 2. Type the headings and labels into the cells.
> 3. Use the **+** buttons at the table's edges to add rows and columns.
> 4. Click a cell, add a text or number blank, and type the answer.
>
> <video autoPlay muted loop playsInline controls poster="/images/illustrations/video/fill-in-the-blank-table/light.webp" src="https://mintcdn.com/uflo/QbXH4A4dnOos4hAt/images/illustrations/video/fill-in-the-blank-table/light.webm?fit=max&auto=format&n=QbXH4A4dnOos4hAt&q=85&s=1d3f2b1c55b5d069ea16464504217414" aria-label="The pointer adds a table from the + menu, types the headings Organelle, Main job, and Membranes, adds a row, and fills both rows with text and number blanks. Then it adds a column from the column menu and deletes it." />
>
> Build the table, then put text and number blanks in its cells.
>
> Each column widens to fit its longest answer. A table too wide for the editor scrolls sideways, and students see its first row and column stay in place.

> [!CAUTION]
>
> Blanks don't take commas, so write `1000` rather than `1,000`.

**3. Edit the Blanks**

A text blank takes a word or phrase, and a number blank takes a number.

> [tab] Margin of Error
>
> A number blank has a **±** field after its answer. Enter how far a student's answer can be from yours and still count. Leave it empty to require the exact number.
>
> For example, **2000** with a margin of **500** accepts answers from 1500 to 2500.
>
> <video autoPlay muted loop playsInline controls poster="/images/illustrations/video/fill-in-the-blank-number-margin/light.webp" src="https://mintcdn.com/uflo/QbXH4A4dnOos4hAt/images/illustrations/video/fill-in-the-blank-number-margin/light.webm?fit=max&auto=format&n=QbXH4A4dnOos4hAt&q=85&s=aca4e2185387139d811b15f8006d83ff" aria-label="2000 is selected and Add Number Blank turns it into a number blank. The pointer then types 500 in its ± field." />
>
> Type the margin in the ± field after the answer.

> [tab] Switch Type
>
> Click the **T** or **#** at the end of a blank to switch it between text and number. Switching to number clears an answer that isn't a number.
>
> <video autoPlay muted loop playsInline controls poster="/images/illustrations/video/fill-in-the-blank-switch-type/light.webp" src="https://mintcdn.com/uflo/QbXH4A4dnOos4hAt/images/illustrations/video/fill-in-the-blank-switch-type/light.webm?fit=max&auto=format&n=QbXH4A4dnOos4hAt&q=85&s=3a993590a6303ada904757cc4e8e2b6f" aria-label="A text blank holding 2000 ends in T. The pointer clicks the T, and the blank becomes a number blank ending in # with a ± field." />
>
> Click T or # at the end of a blank to switch its type.

> [tab] Remove
>
> Put the cursor just after a blank and press **Backspace**.
>
> <video autoPlay muted loop playsInline controls poster="/images/illustrations/video/fill-in-the-blank-remove/light.webp" src="https://mintcdn.com/uflo/QbXH4A4dnOos4hAt/images/illustrations/video/fill-in-the-blank-remove/light.webm?fit=max&auto=format&n=QbXH4A4dnOos4hAt&q=85&s=c5f67797508020c10dbd5cea85537f5a" aria-label="The pointer clicks just after the mitochondria blank, and Backspace removes the blank from the sentence." />
>
> Backspace removes the blank before the cursor.

Each blank holds one accepted answer. Uflo doesn't accept other spellings or synonyms, so word the text to point to a single answer.

## What Students See

Students type into each blank. A text blank ends in **T** and a number blank in **#**, so students know what to enter. The [student guide](https://docs.uflo.io/students/assessments/questions/fill-in-the-blank.md) shows how students fill in blanks.

![Student view of a fill-in-the-blank question with mitochondria typed in the sentence's first blank and DNA in the table, and the other blanks empty.](https://mintcdn.com/uflo/dfYcR1qfGQBFSrA0/images/illustrations/screenshot/fill-in-the-blank-student-view/light.webp?fit=max\&auto=format\&n=dfYcR1qfGQBFSrA0\&q=85\&s=acebd36f371fa3aefcf181dbbe2decba)

Students fill in each blank, in the text and the table.

> [accordion] What students see when you show answers
>
> When you [show answers](https://docs.uflo.io/instructors/assessments/assessment-settings.md#feedback-and-tutoring), students see every blank filled in, with any margin shown. Each blank they answered also shows a check or an X.
>
> ![Correct Answer box with every blank filled in, including 2000 ± 500, above the student's response. Each answer has a check, except 1 in the Nucleus row, which has an X.](https://mintcdn.com/uflo/dfYcR1qfGQBFSrA0/images/illustrations/screenshot/fill-in-the-blank-student-answers/light.webp?fit=max\&auto=format\&n=dfYcR1qfGQBFSrA0\&q=85\&s=0515659dda608ca9c706dc2ae1253d7a)
>
> With answers shown, students see the key above their marked response.

## How Answers Are Graded

Uflo grades a fill-in-the-blank question as soon as it's submitted. Each blank is checked against its own answer, so the right word in the wrong blank doesn't count.

* **Case and extra spaces don't matter.** `Mitochondria` matches `mitochondria`, and `cell  wall` matches `cell wall`.
* **Numbers match by value.** `5.0` matches `5`.
* **A margin widens the match.** Without a margin, `4.99` doesn't match `5`. With a margin of `0.01`, it does.
* **Each blank is worth an equal share.** With two blanks on a 4-point question, each correct answer earns 2 points.

> [card] [Question Analytics](https://docs.uflo.io/instructors/results/question-analytics.md)
>
> See how students answered each blank.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.