Cloze Text

Description

In the Cloze Text question type, the student can type their responses into empty response boxes that have been inserted by the author into a passage of text.

Figure 1 - Cloze Text question example.


Create a Question


Enter the question stem into the Compose Question area. In the Template area below enter your text and add response boxes by clicking on the Insert Response button in the Editor. You can also use the keyboard short cut, double underscore. This will indicate the position of the response box in the text. See example in Figure 2.

Figure 2 - Rich Text Editor - Insert Resport.

Figure 3 -Cloze Text Template area.


In order to set validation follow these steps:

  • Insert value in the Point(s) box to set up a mark for the question. The default value is set to 1.
  • In the Correct tab you will see your text passage with empty response boxes. Enter correct responses into the empty boxes as shown in Figure 4.

Figure 4 - Cloze Text question validation.


Scoring type menu can be found under More Options.

The following scoring types are avaialable in Cloze Text questions:

  • Exact Match - Student must answer all parts of the question correct to receive a mark.
  • Partial Match Per Response - Each correct response element will be awarded an individual score.
  • Partial Match - Each correct response element will be scored individually and the overall question score will be divided between responses.

More Options

Under More Options you will find additional question attributes that can be configured:

Maximum Length defines maximum number of characters that can be entered in response boxes. Maximum value is 250 characters.

The Default Input Type is set for tablet users and defines which keyboard will be displayed to them by default, either text or number.

Character Map - Inserting a character map allows students to select non-typical letters and symbols in language e.g. ó, ç, ñ or Math and Science e.g. μ, ∞ ,≤, and make them available for the students in Cloze Text questions. Clicking Yes/No will turn on our default (Alpha) character map. To enable the Numerical Character Map Has Mathematical Formulas must be also be enabled. To create a Custom Character Map enter the specific characters into the Characters to display box.

Alpha Character Map Numerical Character Map Custom Character Map

Layout

Case Sensitive toggle determines whether students responses should match case or not. By default all questions are not case sensitive i.e. “Yes” and “yes” are treated as the same answer. If you wish the students to enter the response in the correct case enable Case Sensitive.

Multiple Line option allows students to enter text in multiple lines in the response area by pressing the return key on the keyboard.

Browser Spellcheck - This will turn spellcheck on in the text entry area. Note: This is a browser feature and may not always be available.

Authors also have the ability to control the size of response boxes in the text. Width and height of all response boxes can be changed at once in the Response Container (global) section. However if you only wish to change the size of specific boxes go to Response Container (individual).

Additionally, authors can insert a Placeholder for empty response boxes.

Example 1 - Standard Cloze Text question.

Hint Try inserting "be", "question", "slings and arrows" and "troubles".


Source
{
    "instant_feedback": true,
    "max_length": 16,
    "stimulus": "<strong>Fill in the blanks in the paragraph below.</strong>",
    "template": "<p><p>To be, or not {{response}} - that is the {{response}}:<br> Whether &#39;tis nobler in the mind to suffer<br> The {{response}} of outrageous fortune<br> Or to take arms against a sea of {{response}}<br> And by opposing end them.</p> - Hamlet",
    "type": "clozetext",
    "validation": {
        "scoring_type": "exactMatch",
        "valid_response": {
            "score": 1,
            "value": [
                "be",
                "question",
                "slings and arrows",
                "troubles"
            ]
        }
    }
}


Example 2 - Cloze Text question with Case Sensitive option on.

Hint All correct answers are lower case. Try "mouthings", "encroaches", "frock".


Source
{
    "case_sensitive": true,
    "instant_feedback": true,
    "max_length": 10,
    "stimulus": "<p><strong>Complete the below first verse of The Beekeeper&#39;s Daughter, by Sylvia Plath.</strong></p><p><em>Hint:</em> All correct answers are lower case. Try &#34;mouthings&#34;, &#34;encroaches&#34;, &#34;frock&#34;.</p>",
    "template": "<hr /><p><span>A garden of {{response}}. Purple, scarlet-speckled, black </span></p><p><span>The great corollas dilate, peeling back their silks. </span></p><p><span>Their musk {{response}}, circle after circle, </span></p><p><span>A well of scents almost too dense to breathe in.&nbsp;</span></p><p><span>Hieratical in your {{response}} coat, maestro of the bees, </span></p><p><span>You move among the many-breasted hives, </span></p><p><span>My heart under your foot, sister of a stone.</span></p>",
    "type": "clozetext",
    "validation": {
        "scoring_type": "exactMatch",
        "valid_response": {
            "score": 1,
            "value": [
                "mouthings",
                "encroaches",
                "frock"
            ]
        }
    }
}


Example 3 - Cloze Text question used in math with table layout of the template area.

Source
{
    "instant_feedback": true,
    "max_length": 2,
    "case_sensitive": false,
    "stimulus": "<p><strong>Fill in the blanks in the table below.</strong></p>",
    "template": "<table class="table table-bordered table-hover"><thead><tr><th><strong>Multiply</strong></th><th><strong>_ x 1</strong></th><th><strong>_ x 2</strong></th><th><strong>_ x 3</strong></th><th><strong>_ x 4</strong></th><th><strong>_ x 5</strong></th></tr></thead><tbody><tr><td><strong>1 x _</strong></td><td>{{response}}</td><td>2</td><td>3</td><td>4</td><td>5</td></tr><tr><td><strong>2 x _</strong></td><td>2</td><td>{{response}}</td><td>6</td><td>8</td><td>10</td></tr><tr><td><strong>3 x _</strong></td><td>3</td><td>6</td><td>{{response}}</td><td>12</td><td>15</td></tr><tr><td><strong>4 x _</strong></td><td>4</td><td>8</td><td>12</td><td>{{response}}</td><td>20</td></tr><tr><td><strong>5 x _</strong></td><td>5</td><td>10</td><td>15</td><td>20</td><td>{{response}}</td></tr></tbody></table>",
    "type": "clozetext",
    "validation": {
        "scoring_type": "exactMatch",
        "valid_response": {
            "value": [
                "1",
                "4",
                "9",
                "16",
                "25"
            ]
        }
    }
}


Example 4 - Cloze Text with Placeholder Text added to response box.

Hint "California" is a good answer.


Source
{
    "instant_feedback": true,
    "response_container": {
        "placeholder": "Enter Text Here"
    },
    "stimulus": "<p>Fill in the blanks below.&nbsp;</p>",
    "template": "<p><strong>{{response}} </strong>is the most populous state in the United States.</p>",
    "type": "clozetext",
    "validation": {
        "scoring_type": "exactMatch",
        "valid_response": {
            "score": 1,
            "value": [
                "California"
            ]
        }
    }
}


Example 5 - Cloze Text question with multiple correct answers.

HintType either "Barack Obama" or "Obama".


Source
{
    "case_sensitive": true,
    "instant_feedback": true,
    "max_length": 15,
    "stimulus": "<p><em>Hint:</em> Try &#34;Barack Obama&#34; or &#34;Obama&#34;.</p>",
    "template": "<p>Who is the President of the United States?</p><p>{{response}}</p>",
    "type": "clozetext",
    "validation": {
        "alt_responses": [
            {
                "score": 1,
                "value": [
                    "Obama"
                ]
            }
        ],
        "scoring_type": "exactMatch",
        "valid_response": {
            "score": 1,
            "value": [
                "Barack Obama"
            ]
        }
    }
}