Alex's Notes

Select Point Interaction (QTI)

Like hotspotInteraction, a select point interaction is a graphic interaction. The candidate’s task is to select one or more points. The associated response may have an areaMapping that scores the response on the basis of comparing it against predefined areas but the delivery engine must not indicate these areas of the image. Only the actual point(s) selected by the candidate shall be indicated. The select point interaction must be bound to a response variable with a baseType of point and single or multiple cardinality. The relevant class is:

SelectPointInteraction

Data Model

Examples

This example illustrates the selectPointInteraction. The RESPONSE is declared to be a single point that records the coordinates of the point on the map marked by the candidate. The correctResponse is given in the declaration too, however, for this type of question it is clearly unreasonable to expect the candidate to click exactly on the correct point and there would be too many values to build a workable mapping. To get around this problem an areaMapping is used instead, this allows one or more areas of the coordinate space to be mapped to a numeric value (for scoring). In this example, just one area is defined: a circle with radius 8 pixels centred on the correct (optimal) response. The standard response processing template Map Response Point is used to set the score using the areaMapping.

<assessmentItem xsi:schemaLocation="http://www.imsglobal.org/xsd/imsqti_v2p2 http://www.imsglobal.org/xsd/qti/qtiv2p2/imsqti_v2p2p2.xsd" identifier="selectPoint" title="Where is Edinburgh?" adaptive="false" timeDependent="false">
    <responseDeclaration identifier="RESPONSE" cardinality="single" baseType="point">
	<correctResponse>
	    <value>102 113</value>
	</correctResponse>
	<areaMapping defaultValue="0">
	    <areaMapEntry shape="circle" coords="102,113,16" mappedValue="1"/>
	</areaMapping>
    </responseDeclaration>
    <outcomeDeclaration identifier="SCORE" cardinality="single" baseType="float"/>
    <itemBody>
	<selectPointInteraction responseIdentifier="RESPONSE" maxChoices="1">
	    <prompt>Mark Edinburgh on this map of the United Kingdom.</prompt>
	    <object type="image/png" width="196" height="280" data="images/uk.png">UK Map</object>
	</selectPointInteraction>
    </itemBody>
    <responseProcessing template="http://www.imsglobal.org/question/qti_v2p2/rptemplates/map_response_point"/>
</assessmentItem>

Links to this note