- Demetrius
- Lysander
- Capulet
- Prospero
- The Tempest
- A Midsummer Night's Dream
- Romeo and Juliet
A match interaction is comprised of two collections of choices and targets (i.e., simpleAssociableChoice
elements)
grouped within simpleMatchSet
elements. The first set defines the source choices. The second set
defines the various target bays into which the
source choices can be placed. Each source choice can be moved into a target bay to create a
directedPair response.
Match interaction can support multiple drag bays, where collections of source choices can be grouped together into labeled containers. This is an example where the source choices are grouped into two containers - First Bay and Second Bay.
The label of each container is customizable. You set up a match interaction
to include multiple source bays by defining a "groupCategory" in the class attribute of the simpleAssociableChoice
element. The choices that share the same groupCategory are grouped into a labeled container. Spaces and special characters such as quotes must be escaped; e.g.,
<simpleAssociableChoice class="groupCategory:First%20Bay" .../>
You can also decide to hide the label of each container by adding the class group-labels-none
to the matchInteraction
element. If the
group-labels-none
class is added, then the label for each container WILL NOT appear even if a "groupCategory" is defined.
Get Responses: | [ Click Get Responses ] |
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <assessmentItem xmlns="http://www.imsglobal.org/xsd/imsqti_v2p1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" adaptive="false" identifier="match-multiple-groups" timeDependent="false" title="Characters and Plays - multiple groups" xsi:schemaLocation="http://www.imsglobal.org/xsd/imsqti_v2p1 http://www.imsglobal.org/xsd/imsqti_v2p1.xsd"> <responseDeclaration baseType="directedPair" cardinality="multiple" identifier="RESPONSE" /> <outcomeDeclaration baseType="float" cardinality="single" identifier="SCORE"/> <itemBody> <matchInteraction class="group-two-up" maxAssociations="4" responseIdentifier="RESPONSE" shuffle="true"> <prompt>Match the following characters to the Shakespeare play they appeared in:</prompt> <simpleMatchSet> <simpleAssociableChoice class="groupCategory:First%20Bay" identifier="D" matchMax="1">Demetrius</simpleAssociableChoice> <simpleAssociableChoice class="groupCategory:Second%20Bay" identifier="C" matchMax="1">Capulet</simpleAssociableChoice> <simpleAssociableChoice class="groupCategory:First%20Bay" identifier="L" matchMax="1">Lysander</simpleAssociableChoice> <simpleAssociableChoice class="groupCategory:Second%20Bay" identifier="P" matchMax="1">Prospero</simpleAssociableChoice> </simpleMatchSet> <simpleMatchSet> <simpleAssociableChoice identifier="T" matchMax="0">The Tempest</simpleAssociableChoice> <simpleAssociableChoice identifier="M" matchMax="0">A Midsummer Night's Dream</simpleAssociableChoice> <simpleAssociableChoice identifier="R" matchMax="0">Romeo and Juliet</simpleAssociableChoice> </simpleMatchSet> </matchInteraction> </itemBody> </assessmentItem>