Alex's Notes

Hot Text Interaction (QTI)

The hottext interaction presents a set of choices to the candidate represented as selectable runs of text embedded within a surrounding context, such as a simple passage of text. Like choiceInteraction, the candidate’s task is to select one or more of the choices, up to a maximum of maxChoices. The interaction is initialized from the defaultValue of the associated response variable, a NULL value indicating that no choices are selected (the usual case). The hottextInteraction must be bound to a response variable with a baseType of identifier and single or multiple cardinality. The relevant classes are:

HotTextInteraction

HotText

Data Model

Examples

This example illustrates the hottextInteraction. This interaction presents a passage of text with some hot words/phrases highlighted and selectable by the candidate. It differs from the choiceInteraction in that the choices have to be presented in the context of the surrounding text.

<assessmentItem xsi:schemaLocation="http://www.imsglobal.org/xsd/imsqti_v2p2 http://www.imsglobal.org/xsd/qti/qtiv2p2/imsqti_v2p2p2.xsd" identifier="IMS00004_StemError" title="Identifying Sentence Errors" adaptive="false" timeDependent="false">
    <responseDeclaration identifier="RESPONSE" cardinality="single" baseType="identifier">
	<correctResponse>
	    <value>B</value>
	</correctResponse>
    </responseDeclaration>
    <outcomeDeclaration identifier="SCORE" cardinality="single" baseType="float">
	<defaultValue>
	    <value>0</value>
	</defaultValue>
    </outcomeDeclaration>
    <itemBody>
	<rubricBlock view="candidate">
	    <p>
Select the error in the following passage of text (or
		<em>No Error</em>
if there is none).
	    </p>
	</rubricBlock>
	<hottextInteraction responseIdentifier="RESPONSE" maxChoices="1">
	    <p>
Sponsors of the Olympic Games
		<hottext identifier="A">who bought</hottext>
advertising time on United States television
		<hottext identifier="B">includes</hottext>
		<hottext identifier="C">at least</hottext>
a dozen international firms
		<hottext identifier="D">whose</hottext>
names are familiar to American consumers.
		<hottext identifier="E">No error.</hottext>
	    </p>
	</hottextInteraction>
    </itemBody>
    <responseProcessing template="http://www.imsglobal.org/question/qti_v2p2/rptemplates/match_correct"/>
</assessmentItem>

Links to this note