Classification

Description

The Classification question allows students to categorise a list of possible responses, in the form of words or images, into a table.

Figure 1 - Classification question example.

Create a Question


Enter a question stem in the Compose Question area. The number of columns and rows can be specified in the Column Count and Row Count boxes respectively; these columns and rows can be given titles, using the Column titles and Row titles fields. In the Possible Responses section, enter all possible response options that the student can drag into the table. See Figure 2. The +Add button will add more responses, and the trash can icon beside a possible response will remove it.

Figure 2 - Classification basic parameters.

Additional rows and columns can be added in the More options section.

Follow these steps in order to configure question validation:

  • Insert a value in the Point(s) box to set up a mark for the question. The default value is 1.
  • The Correct tab holds a list of possible responses to be classified into categories. To validate the question simply drag and drop responses into the correct category. See example in Figure 3.

Figure 3 - Validate area for Classification.

Group Possible Responses

This feature allows the grouping of possible responses. To use this feature simply switch the toggle to ‘yes’ which appears under the compose question area.


Figure 4 - Group Possible Responses Toggle


Figure 5 - Adding Groups and Possible Responses

Once this has been switched on you will notice a blue + add group button appear under the stimulus list. Once you click this button you add the title of the group and then begin adding the possible responses that belong in that group. You can then add a second group and add possible responses to that and so on. Once you have all the fields filled in, your question will look like this.

Figure 6 - Classification with Groups


Scoring type menu can be found under More Options.

The following scoring types are available in Classification questions:

  • Exact Match - Student must answer all parts of the question correct to receive a mark.
  • Partial Match Per Cell - Each cell of the table will be scored individually and a score will be awarded for each cell.
  • Partial Match Per Cell - Max Score - Each cell of the table will be scored individually and the overall question score will be divided between cells.
  • Partial match Per Element - Each response element will be awarded an individual score.

Enable Duplicate responses if you want the responses to be used infinite times. This means a response when dragged into a cell will not disappear from the possible responses container and is reusable.

You can also toggle Drag Handles. They appear on the left of responses and can be disabled. Both options can be found below Validation.


More Options

Under this section you will the Max Response Per Cell option. This will limit the number of possible responses a cell can have. When the field is empty or set to 0 unlimited responses can be dragged into a cell.


Layout

From the Possibility List Position drop down menu you can choose where to position the possible responses container. Options include Top, Bottom, Left and Right.

Authors can also add Row header. It will be displayed on top of the row. If there is no row title this attribute will be ignored.

Additionally, Row Min Height can be specified. It will set minimum height of table rows. And Row Titles Width control row title column width. Both values should be in entered in pixels.

Example 1 - Classification question with one cell layout and Column Title.

Source
{
    "instant_feedback": true,
    "possible_responses": [
        "1",
        "2",
        "3",
        "4",
        "5"
    ],
    "stimulus": "<p>Drag all the even numbers into the content box</p>",
    "type": "classification",
    "ui_style": {
        "column_titles": [
            "Even numbers"
        ]
    },
    "validation": {
        "scoring_type": "exactMatch",
        "valid_response": {
            "score": 1,
            "value": [
                [
                    1,
                    3
                ]
            ]
        }
    }
}


Example 2 - Math Classification question with Column and Row Titles and max response per cell set to 1 .

Source
{
    "instant_feedback": true,
    "is_math": true,
    "possible_responses": [
        "\\(x+3\\)",
        "\\(x^2+4x+3\\)",
        "\\(x+y+3\\)",
        "\\(x^2+3xy+y^2+4x+3y\\)"
    ],
    "max_response_per_cell": 1,
    "stimulus": "<p>Drag all the equations to their correct classification box<\/p>",
    "type": "classification",
    "ui_style": {
        "column_count": 2,
        "column_titles": [
            "Linear",
            "Quadratic"
        ],
        "row_count": 2,
        "row_min_height": "80px",
        "row_titles": [
            "Single Variable",
            "Two Variables"
        ],
        "row_titles_width": "80px",
        "show_drag_handle": false
    },
    "validation": {
        "scoring_type": "exactMatch",
        "valid_response": {
            "score": 1,
            "value": [
                [
                    0
                ],
                [
                    1
                ],
                [
                    2
                ],
                [
                    3
                ]
            ]
        }
    }
}


Example 3 - Chemistry Classification question with 2 cell layout with drag handles disabled.

Source
{
    "instant_feedback": true,
    "is_math": true,
    "possible_responses": [
        "\\(NaCl\\)",
        "\\(C_2H_6O\\)",
        "\\(C_2H_6\\)",
        "\\(H_2S\\)",
        "\\(O_3\\)",
        "\\(CH_4\\)"
    ],
    "stimulus": "Drag the organic and inorganic compounds to the respective boxes.",
    "type": "classification",
    "ui_style": {
        "column_count": 2,
        "column_titles": [
            "Organic",
            "Inorganic"
        ],
        "show_drag_handle": false
    },
    "validation": {
        "scoring_type": "partialMatch",
        "valid_response": {
            "score": 3,
            "value": [
                [
                    1,
                    2,
                    5
                ],
                [
                    0,
                    3,
                    4
                ]
            ]
        }
    }
}


Example 4 - Classification question with responses positioned to the right.

Source
{
    "instant_feedback": true,
    "possible_responses": [
        "Speak",
        "Theatre",
        "Dress",
        "Festival",
        "Cry",
        "Believe"
    ],
    "stimulus": "<p>Drag the words to their correct category.</p>",
    "type": "classification",
    "ui_style": {
        "column_count": 2,
        "column_titles": [
            "Noun",
            "Verb"
        ],
        "possibility_list_position": "top"
    },
    "validation": {
        "scoring_type": "partialMatchElement",
        "valid_response": {
            "score": 1,
            "value": [
                [
                    1,
                    3,
                    4
                ],
                [
                    0,
                    5,
                    4,
                    2
                ]
            ]
        }
    }
}


Example 5 - Classification question with 3 column layout with image responses.

Source
{
    "instant_feedback": true,
    "possible_responses": [
        "<img alt=\"\" height=\"120\" src=\"\/\/assets.learnosity.com\/organisations\/1\/kangaroo_2015727114851.jpg\" width=\"180\" \/>",
        "<img alt=\"\" height=\"120\" src=\"\/\/assets.learnosity.com\/organisations\/1\/penguin.jpg\" width=\"180\" \/>",
        "<img alt=\"\" height=\"121\" src=\"\/\/assets.learnosity.com\/organisations\/1\/Llama.jpg\" width=\"120\" \/>",
        "<img alt=\"\" height=\"110\" src=\"\/\/assets.learnosity.com\/organisations\/1\/jaguar.jpg\" width=\"150\" \/>",
        "<img alt=\"\" height=\"112\" src=\"\/\/assets.learnosity.com\/organisations\/1\/polar-bear.jpg\" width=\"180\" \/>",
        "<img alt=\"\" height=\"127\" src=\"\/\/assets.learnosity.com\/organisations\/1\/Koala.jpg\" width=\"180\" \/>"
    ],
    "stimulus": "<p>Classify these animals by continent they live in.<\/p>",
    "type": "classification",
    "ui_style": {
        "column_count": 3,
        "column_titles": [
            "South America",
            "Antarctica",
            "Australia"
        ],
        "show_drag_handle": false
    },
    "validation": {
        "scoring_type": "exactMatch",
        "valid_response": {
            "score": 1,
            "value": [
                [
                    2,
                    3
                ],
                [
                    1,
                    4
                ],
                [
                    0,
                    5
                ]
            ]
        }
    }
}


Example 6 - Classification question with Duplicate Responses.

Source
{
    "duplicate_responses": true,
    "instant_feedback": true,
    "max_response_per_cell": 1,
    "metadata": {
        "distractor_rationale": "Think of the words in both Spanish and English that end this way. Do they serve as subjects of sentences or do they describe people or things?"
    },
    "possible_responses": [
        "Adjectives",
        "Nouns"
    ],
    "type": "classification",
    "ui_style": {
        "column_count": 3,
        "column_titles": [
            "Spanish \u2014ante \/ \u2014nte<br \/>=<br \/>English \u2014ant \/ \u2014ent",
            "Spanish \u2014ci\u00f3n<br \/>=<br \/>English \u2014tion",
            "Spanish \u2014dad<br \/>=<br \/>English \u2014ty"
        ]
    },
    "validation": {
        "scoring_type": "exactMatch",
        "valid_response": {
            "score": 1,
            "value": [
                [
                    0
                ],
                [
                    1
                ],
                [
                    1
                ]
            ]
        }
    }
}