Choice Interaction - Single Cardinality

Choice Interactions, whether single or multiple cardinality, list interaction choices vertically by default. For example, if you have four choices for an interaction, each choice is listed on a separate line.

If you have six or more choices, however, it is recommended that you use one of the following up classes to create multiple columns of choices. For example, two-up will break the choices into two separate columns.

two-up three-up four-up five-up

The sample item uses the two-up class:

<choiceInteraction responseIdentifier="RESPONSE" class="two-up" maxChoices="1">

maxChoices

For single cardinality items, maxChoices is ignored (be definition, a single cardinality item has a maximum of one choice that can be selected; radio buttons will not allow more than one choice). See Multiple Cardinality for more information on this setting.

Label Types

There is now the option to specify what type of label you want for each answer choice by adding these classes to the <choiceInteraction> in the XML :
labels-alpha : Capital alphabetic labels in front of the answer choices. (A., B., C., D., etc.)
labels-numeric : Numerical labels in front of the answer choices. (1., 2., 3., 4., etc.)

You can also specify whether or not you want a period to be placed after the label.
suffix-period : A period will appear after the label specified. (A., B., or 1., 2.)
suffix-none : No period will appear after the label specified. (A, B, or 1, 2)

There is also an option for no labels in front of the answer choices.
labels-none : No labels or suffix in front of the answer choices.

If no label or suffix is specified, the default label will be labels-alpha suffix-period. (A. B. C. D. ...)

An example of adding these classes is shown below. The example shows labels that will be alphabetic with a period as the suffix.
<choiceInteraction responseIdentifier="RESPONSE" class="two-up labels-alpha suffix-period" maxChoices="1">

Get Responses:[ Click Get Responses ]
<?xml version="1.0" encoding="utf-8"?>
<!-- This example adapted from the PET Handbook, copyright University of Cambridge ESOL Examinations -->
<!-- The example combines shuffle with the fixation of one simpleChoice in place -->
<assessmentItem xmlns="http://www.imsglobal.org/xsd/imsqti_v2p1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.imsglobal.org/xsd/imsqti_v2p1 http://www.imsglobal.org/xsd/imsqti_v2p1.xsd"
identifier="choice" title="Unattended Luggage" adaptive="false" timeDependent="false">
  <responseDeclaration identifier="RESPONSE" cardinality="single" baseType="identifier">
    <correctResponse>
      <value>ChoiceA</value>
    </correctResponse>
  </responseDeclaration>
  <outcomeDeclaration identifier="SCORE" cardinality="single" baseType="float">
    <defaultValue>
      <value>0.0</value>
    </defaultValue>
  </outcomeDeclaration>
  <itemBody>
    <div class="row">
      <div class="span6">
        <p class="center">Look at the text in the picture.</p>
        <p class="center"><img src="images/sign.png" alt="NEVER LEAVE LUGGAGE UNATTENDED" /></p>
      </div>
      <div class="span6">
        <div class="well">
          <p>What does it say?</p>
          <div class="whitebg pad8">
            <choiceInteraction responseIdentifier="RESPONSE" class="two-up" maxChoices="1" shuffle="false">
              <simpleChoice identifier="ChoiceA">You must stay with your luggage at all times.</simpleChoice>
              <simpleChoice identifier="ChoiceB">Do not let someone else look after your luggage.</simpleChoice>
              <simpleChoice identifier="ChoiceC">Remember your luggage when you leave.</simpleChoice>
              <simpleChoice identifier="ChoiceD">None of the above.</simpleChoice>
            </choiceInteraction>
          </div>            
        </div>
      </div>
  </itemBody>
  <responseProcessing template="http://www.imsglobal.org/question/qti_v2p1/rptemplates/match_correct" />
</assessmentItem>

Look at the text in the picture.

NEVER LEAVE LUGGAGE UNATTENDED

What does it say?