Skip to main content

Choice - Multiple 2

<question type="CHECK" inlinefeedback="0">
<text>
  <p>What do you need to make Tea?<br/>More than one combination of options is correct.</p>
</text>

<correct>Well done.</correct>

<option identifier="a">
  <choice>Water</choice>
</option>

<option identifier="b">
  <choice>Loose Tea leaves</choice>
</option>

<option identifier="c">
  <choice>A tea egg</choice>
</option>

<option identifier="d">
  <choice>A pre filled teabag</choice>
</option>

<option identifier="e">
  <choice>A kettle</choice>
</option>

<option identifier="f">
  <choice>A stove</choice>
</option>

<option identifier="g">
  <choice>A mug</choice>
</option>

<option identifier="h">
  <choice>A microwave oven</choice>
</option>

<hint mintries="1">That's not completely correct.</hint>
<hint mintries="2">There is more than one way to make tea.</hint>
<hint mintries="3">You need some form of tea leaves, something to drink your tea from, and some way to heat your tea.</hint>

<mapping correct="1">
  <or>
    <and><match pattern="b" /><match pattern="c" /><match pattern="^[^d]*$" /></and>
    <and><match pattern="^[^bc]*$" /><match pattern="d" /></and>
  </or>
  <match pattern="a" />
  <match pattern="g" />
  <or>
    <and><match pattern="e" /><match pattern="f" /><match pattern="^[^h]*$" /></and>
    <and><match pattern="^[^ef]*$" /><match pattern="h" /></and>
  </or>
  <feedback>That's right! That is one of the ways to make tea, but there are more ways than one.</feedback>
</mapping>

<mapping correct="0" stop="1">
  <match pattern="^[^a]+$" />
  <feedback>Making tea without water?</feedback>
</mapping>

<mapping correct="0" stop="1">
  <and><match pattern="b" /><match pattern="d" /></and>
  <feedback>You only need one form of tea!</feedback>
</mapping>

<mapping correct="0" stop="1">
  <and><match pattern="c" /><match pattern="d" /></and>
  <feedback>You don't need a tea egg when you already have a pre-filled tea bag.</feedback>
</mapping>

<mapping correct="0" stop="1">
  <not><or>
    <match pattern="b" /><match pattern="d" />
  </or></not>
  <feedback>You need some form of tea...</feedback>
</mapping>

<mapping correct="0" stop="1">
  <and><match pattern="b" /><not><match pattern="c" /></not></and>
  <feedback>You don't want loose tea leaves directly in your mug...</feedback>
</mapping>

<mapping correct="0" stop="1">
  <and><match pattern="f" /><match pattern="h" /></and>
  <feedback>You only need one way to heat water.</feedback>
</mapping>

<mapping correct="0" stop="1">
  <and><match pattern="e" /><match pattern="h" /></and>
  <feedback>You can't put a kettle in a microwave oven, why do you need both?</feedback>
</mapping>

<mapping correct="0" stop="1">
  <and><match pattern="^[^e]*$" /><match pattern="f" /></and>
  <feedback>You need something to put your water in that can be put on the stove.</feedback>
</mapping>

<mapping correct="0" stop="1">
  <not><or>
    <and><match pattern="f" /><match pattern="^[^h]*$" /></and>
    <and><match pattern="^[^f]*$" /><match pattern="h" /></and>
  </or></not>
  <feedback>You need some way to heat your water.</feedback>
</mapping>

<mapping correct="0">
  <match pattern="^[^g]+$" />
  <feedback>You need something to drink your tea from.</feedback>
</mapping>

</question>