<?xml version="1.0" encoding="UTF-8"?>
<!--
  This example assumes the question has a small image as attachment. This image
  is used in some of the feedback.
-->
<question type="fillblanks">
  <text>
    <p><b>Place the right term at the right description:</b></p>

    <p>
      <table>
        <tr><td><inlineChoice identifier="A"/></td><td>To bind a substrate a binding site must have a matching shape.</td></tr>
        <tr><td><inlineChoice identifier="B"/></td><td>Active sites have a shape complementary to that of the substrate only after the substrate is bound.</td></tr>
        <tr><td><inlineChoice identifier="C"/></td><td>Amino acids from different parts of the linear amino acid sequence interact with the substrate
         and create a microenvironment essential for binding and catalysis.</td></tr>
        <tr><td><inlineChoice identifier="D"/></td><td>Amino acids involved in the chemical reactions.</td></tr>
      </table>
    </p>
    <p>A substance that slows an enzymatic reaction is called an <feedbackblock id="i" /><inlineChoice identifier="E" freeform="1" /></p>
    <p>The maximum speed on dutch highways is <feedbackblock id="s" /><inlineChoice identifier="speed" freeform="1" />km/h</p>
    <p>There can be more terms than descriptions, or more descriptions than terms.</p>

  </text>

  <inlineOption identifier="0">Pick One</inlineOption>
  <inlineOption identifier="1">the active site</inlineOption>
  <inlineOption identifier="2">lock and key</inlineOption>
  <inlineOption identifier="3">catalytic residues</inlineOption>
  <inlineOption identifier="4">induced fit</inlineOption>

  <hint mintries="1">A first general hint.</hint>
  <hint mintries="2">A more specific hint.</hint>


  <mapping correct="1">
    <match inlineChoice="A" inlineOption="2" />
    <match inlineChoice="B" inlineOption="4" />
    <match inlineChoice="C" inlineOption="1" />
    <match inlineChoice="D" inlineOption="3" />
    <match inlineChoice="E" pattern="/^inhibitor$/i" />
    <range inlineChoice="speed" minval="119.999" maxval="120.001" />
    <feedback>
              Very good.
    </feedback>
  </mapping>

  <mapping correct="0">
    <not><match inlineChoice="speed" pattern="^[+-]?[0-9]+(\.[0-9]+)?(e[+-]?[0-9]+)?$" /></not>
    <feedback block="s"><span>[inline:1]</span><span class="hovertip">Please give a number as a speed.</span></feedback>
  </mapping>

  <mapping correct="0">
    <range inlineChoice="speed" minval="120.001" />
    <match inlineChoice="speed" pattern="^[+-]?[0-9]+(\.[0-9]+)?(e[+-]?[0-9]+)?$" />
    <feedback block="s"><span>[inline:1]</span><span class="hovertip">No, that's speed is too fast.</span></feedback>
  </mapping>
  <mapping correct="0">
    <range inlineChoice="speed" maxval="119.999" />
    <match inlineChoice="speed" pattern="^[+-]?[0-9]+(\.[0-9]+)?(e[+-]?[0-9]+)?$" />
    <feedback block="s"><span>[inline:1]</span><span class="hovertip">No, the maximum speed on highways is higher than that.</span></feedback>
  </mapping>
  <mapping correct="0">
    <range inlineChoice="speed" minval="129.999" maxval="130.001" />
    <match inlineChoice="speed" pattern="^[+-]?[0-9]+(\.[0-9]+)?(e[+-]?[0-9]+)?$" />
    <feedback block="s"><span>[inline:1]</span><span class="hovertip">130km/h is the maximum speed on highways in some other European countries.</span></feedback>
  </mapping>

  <mapping correct="0">
    <or>
      <match inlineChoice="A" inlineOption="0" />
      <match inlineChoice="B" inlineOption="0" />
      <match inlineChoice="C" inlineOption="0" />
      <match inlineChoice="D" inlineOption="0" />
      <not><match inlineChoice="E" pattern="^\S+$" /></not>
      <not><match inlineChoice="speed" pattern="^\S+$" /></not>
    </or>
    <feedback mintries="1">Please fill in all blanks!</feedback>
  </mapping>

  <mapping correct="0">
    <match inlineChoice="E" pattern="^\S+$" />
    <not><match inlineChoice="E" pattern="/^inhibitor$/i" /></not>
    <feedback block="i" mintries="1"><span>[inline:1]</span><span class="hovertip">A substance that slows an enzymatic reaction is called an inhibitor.</span></feedback>
  </mapping>

  <mapping correct="0">
    <match inlineChoice="B" inlineOption="3" />
    <feedback>“catalytic residues” is not about active sites.</feedback>
  </mapping>

  <mapping correct="0">
    <not>
      <match inlineChoice="B" inlineOption="4" />
    </not>
    <feedback mintries="2">You did not select the correct option for the second box.</feedback>
  </mapping>

</question>