Skip to main content

Select & Order 3

<?xml version="1.0" encoding="UTF-8"?>
<question type="PATTERN" duplicates="1" alignment="horizontal">

  <text>
    <p>This Select &amp;amp; Order question uses horizontal layout. This still gives problems in Internet Explorer when it is combined with duplicates="1".</p>
    <p><b>What is the question?</b></p>
  </text>

  <!--
  Descriptions are displayed when the user selects an option.
  -->
  <option identifier="a">
    <choice>to</choice>
    <description>
      A word.
    </description>
  </option>

  <option identifier="b">
    <choice>be</choice>
  </option>

  <option identifier="c">
    <choice>or</choice>
  </option>

  <option identifier="d">
    <choice>not</choice>
  </option>

  <option identifier="e">
    <choice>exist</choice>
  </option>

  <option identifier="f">
    <choice>never</choice>
  </option>

  <option identifier="g">
    <choice>create</choice>
  </option>

  <option identifier="h">
    <choice>think</choice>
  </option>

  <option identifier="i">
    <choice>am</choice>
  </option>

  <option identifier="j">
    <choice>are</choice>
  </option>

  <option identifier="k">
    <choice>therefore</choice>
  </option>

  <option identifier="l">
    <choice>eat</choice>
  </option>

<hint mintries="1">first hint</hint>
  <!--
    The "answer" is a string with the names of the selected options.
    the pattern is a regular expression that is matched against this answer.
  -->
  <sequence correct="1">
    <pattern>^abcdab$</pattern>
    <feedback>Correct. To be or not to be, that is the question!
    </feedback>
  </sequence>


  <sequence correct="0">
    <pattern>.*</pattern>
    <feedback mintries="1">Nope, that't not correct. Try again.</feedback>
    <feedback mintries="2" maxtries="2">Give it another shot.</feedback>
    <feedback mintries="3">To be or not to be.</feedback>
  </sequence>

</question>