Alex's Notes

Hotspot Interaction (QTI)

A hotspot interaction is a graphical interaction with a corresponding set of choices that are defined as areas of the graphic image. The candidate’s task is to select one or more of the areas (hotspots). The hotspot interaction should only be used when the spacial relationship of the choices with respect to each other (as represented by the graphic image) is important to the needs of the item. Otherwise, choiceInteraction should be used instead with separate material for each option. The delivery engine must clearly indicate the selected area(s) of the image and may also indicate the unselected areas as well. Interactions with hidden hotspots are achieved with the selectPointInteraction. The hotspot interaction must be bound to a response variable with a baseType of identifier and single or multiple cardinality.The relevant classes are:

HotspotInteraction

HotspotChoice

Data Model

Example

<assessmentItem xsi:schemaLocation="http://www.imsglobal.org/xsd/imsqti_v2p2 http://www.imsglobal.org/xsd/qti/qtiv2p2/imsqti_v2p2p2.xsd" identifier="hotspot" title="UK Airports (Take 1)" adaptive="false" timeDependent="false">
    <responseDeclaration identifier="RESPONSE" cardinality="single" baseType="identifier">
	<correctResponse>
	    <value>A</value>
	</correctResponse>
    </responseDeclaration>
    <outcomeDeclaration identifier="SCORE" cardinality="single" baseType="float"/>
    <itemBody>
	<p>
The picture illustrates four of the most popular destinations for air travellers arriving in the United Kingdom: London, Manchester, Edinburgh and Glasgow.
	</p>
	<hotspotInteraction responseIdentifier="RESPONSE" maxChoices="1">
	    <prompt>Which one is Glasgow?</prompt>
	    <object type="image/png" width="206" height="280" data="images/ukair.png">UK Map</object>
	    <hotspotChoice shape="circle" coords="77,115,8" identifier="A"/>
	    <hotspotChoice shape="circle" coords="118,184,8" identifier="B"/>
	    <hotspotChoice shape="circle" coords="150,235,8" identifier="C"/>
	    <hotspotChoice shape="circle" coords="96,114,8" identifier="D"/>
	</hotspotInteraction>
    </itemBody>
    <responseProcessing template="http://www.imsglobal.org/question/qti_v2p2/rptemplates/match_correct"/>
</assessmentItem>

Links to this note