<?xml version="1.0" encoding="UTF-8"?>
<quiz>
 <!-- categoryid: 1206 -->
 <question type="category"><category><text>/</text></category></question>
 
 <!-- resourceid-resourcedataid: 12183-10290 -->
 <question type="shortanswerwiris">
    <name>
      <text>-a + c/b</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p><span style="font-size: medium; color: #ff00ff;"><strong><span style="font-size: medium;">Calcule  #a + #q en donnant donne le résultat sous la forme la plus simplifiée possible.</span></strong></span></p>
<p><span style="font-size: medium; color: #0000ff;"><strong>Tape le résultat sous la forme d'une fraction : (par exemple : «math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mfrac»«mn»2«/mn»«mn»3«/mn»«/mfrac»«/math» s'écrira <span style="color: #ff0000;">2/3</span></strong></span><span style="font-size: medium;"><strong><span style="color: #ff0000;">)</span></strong></span><span style="font-size: medium;"><strong>.</strong></span></p>
<p> </p>
<p> </p>
<p> </p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>1.0000000</penalty>
    <hidden>0</hidden>
    <usecase>0</usecase>
    <answer fraction="100" format="moodle_auto_format">
      <text><![CDATA[<math xmlns="http://www.w3.org/1998/Math/MathML"><mstyle displaystyle="false"><mo>#</mo><mi mathvariant="normal">s</mi><mi>o</mi><mi mathvariant="normal">l</mi><mi>u</mi><mi>t</mi><mi mathvariant="normal">i</mi><mi>o</mi><mi>n</mi></mstyle></math>]]></text>
      <feedback format="html">
        <text><![CDATA[<p><span style="color: #008000; font-size: medium;"><strong>Super !</strong></span></p>]]></text>
      </feedback>
    </answer>
    <answer fraction="50" format="moodle_auto_format">
      <text><![CDATA[<math xmlns="http://www.w3.org/1998/Math/MathML"><mo>#</mo><mi>s</mi><mi>o</mi><mi>l</mi><mi>u</mi><mi>t</mi><mi mathvariant="normal">i</mi><mi>o</mi><mi>n</mi></math>]]></text>
      <feedback format="html">
        <text><![CDATA[<p><span style="font-size: medium;"><strong><span style="color: #008000;">Résultat correct, mais non simplifié !!!</span></strong></span></p>]]></text>
      </feedback>
    </answer>
    <wirisquestion>
&lt;question&gt;&lt;wirisCasSession&gt;&lt;![CDATA[&lt;session lang="fr" version="2.0"&gt;&lt;library closed="false"&gt;&lt;mtext style="color:#ffc800" xml:lang="fr"&gt;variables&lt;/mtext&gt;&lt;group&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;b&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;aléa&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;10&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;alea&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;8&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"/&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;repeat&lt;/csymbol&gt;&lt;mtable&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;c&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;aléa&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;3&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;15&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;q&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mfrac&gt;&lt;mi&gt;c&lt;/mi&gt;&lt;mi&gt;b&lt;/mi&gt;&lt;/mfrac&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;mrow&gt;&lt;mi&gt;q&lt;/mi&gt;&lt;mo&gt;∉&lt;/mo&gt;&lt;integers/&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;/mrow&gt;&lt;/apply&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"/&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;solution&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mi&gt;q&lt;/mi&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;/group&gt;&lt;/library&gt;&lt;/session&gt;]]&gt;&lt;/wirisCasSession&gt;&lt;correctAnswers&gt;&lt;correctAnswer type="mathml"&gt;&lt;![CDATA[&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mstyle displaystyle="false"&gt;&lt;mo&gt;#&lt;/mo&gt;&lt;mi mathvariant="normal"&gt;s&lt;/mi&gt;&lt;mi&gt;o&lt;/mi&gt;&lt;mi mathvariant="normal"&gt;l&lt;/mi&gt;&lt;mi&gt;u&lt;/mi&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;mi mathvariant="normal"&gt;i&lt;/mi&gt;&lt;mi&gt;o&lt;/mi&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/mstyle&gt;&lt;/math&gt;]]&gt;&lt;/correctAnswer&gt;&lt;correctAnswer id="1" type="mathml"&gt;&lt;![CDATA[&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mo&gt;#&lt;/mo&gt;&lt;mi&gt;s&lt;/mi&gt;&lt;mi&gt;o&lt;/mi&gt;&lt;mi&gt;l&lt;/mi&gt;&lt;mi&gt;u&lt;/mi&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;mi mathvariant="normal"&gt;i&lt;/mi&gt;&lt;mi&gt;o&lt;/mi&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/math&gt;]]&gt;&lt;/correctAnswer&gt;&lt;correctAnswer id="2"&gt;&lt;/correctAnswer&gt;&lt;correctAnswer id="3"&gt;&lt;/correctAnswer&gt;&lt;/correctAnswers&gt;&lt;assertions&gt;&lt;assertion name="check_simplified"/&gt;&lt;assertion name="syntax_quantity"&gt;&lt;param name="units"&gt;&lt;![CDATA[m, s, g, sr, E, K, mol, cd, rad, h, min, l, N, Pa, Hz, W, J, C, V, Ω, F, S, Wb, b, H, T, lx, lm, Gy, Bq, Sv, kat]]&gt;&lt;/param&gt;&lt;param name="unitprefixes"&gt;M, k, c, m, y, z, a, f, p, n, µ, d, da, h, G, T, P, E, Z, Y&lt;/param&gt;&lt;param name="groupoperators"&gt;(,[,{&lt;/param&gt;&lt;/assertion&gt;&lt;assertion name="equivalent_symbolic"/&gt;&lt;assertion name="syntax_expression" correctAnswer="1"/&gt;&lt;assertion name="equivalent_symbolic" correctAnswer="1"/&gt;&lt;/assertions&gt;&lt;options&gt;&lt;option name="tolerance"&gt;10^(-4)&lt;/option&gt;&lt;option name="relative_tolerance"&gt;false&lt;/option&gt;&lt;option name="precision"&gt;4&lt;/option&gt;&lt;option name="implicit_times_operator"&gt;false&lt;/option&gt;&lt;option name="times_operator"&gt;×&lt;/option&gt;&lt;option name="imaginary_unit"&gt;i&lt;/option&gt;&lt;/options&gt;&lt;localData&gt;&lt;data name="inputField"&gt;popupEditor&lt;/data&gt;&lt;data name="gradeCompound"&gt;and&lt;/data&gt;&lt;data name="gradeCompoundDistribution"&gt;&lt;/data&gt;&lt;data name="casSession"/&gt;&lt;/localData&gt;&lt;/question&gt;    </wirisquestion>
  </question>
 
 <!-- resourceid-resourcedataid: 12185-10292 -->
 <question type="shortanswerwiris">
    <name>
      <text>-a/b - c/b</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p><span style="font-size: medium; color: #ff0000;"><strong><span style="font-size: medium;">Calcule  #p </span></strong><span style="font-size: medium;"><span style="color: #000000;">-</span></span><strong><span style="font-size: medium;"> #q en donnant donne le résultat sous la forme la plus simplifiée possible.</span></strong></span></p>
<p><span style="font-size: medium; color: #0000ff;" data-mce-mark="1"><strong>Tape le résultat sous la forme d'une fraction : (par exemple : «math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mfrac»«mn»2«/mn»«mn»3«/mn»«/mfrac»«/math» s'écrira <span style="color: #ff0000;" data-mce-mark="1">2/3</span></strong></span><span style="font-size: medium;" data-mce-mark="1"><strong><span style="color: #ff0000;" data-mce-mark="1">)</span></strong></span><span style="font-size: medium;" data-mce-mark="1"><strong>.</strong></span></p>
<p> </p>
<p> </p>
<p> </p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>1.0000000</penalty>
    <hidden>0</hidden>
    <usecase>0</usecase>
    <answer fraction="100" format="moodle_auto_format">
      <text><![CDATA[<math xmlns="http://www.w3.org/1998/Math/MathML"><mstyle displaystyle="false"><mo>#</mo><mi mathvariant="normal">s</mi><mi>o</mi><mi mathvariant="normal">l</mi><mi>u</mi><mi>t</mi><mi mathvariant="normal">i</mi><mi>o</mi><mi>n</mi></mstyle></math>]]></text>
      <feedback format="html">
        <text><![CDATA[<p><span style="color: #008000; font-size: medium;"><strong>Super !</strong></span></p>]]></text>
      </feedback>
    </answer>
    <answer fraction="50" format="moodle_auto_format">
      <text><![CDATA[<math xmlns="http://www.w3.org/1998/Math/MathML"><mo>#</mo><mi mathvariant="normal">s</mi><mi>o</mi><mi mathvariant="normal">l</mi><mi>u</mi><mi>t</mi><mi mathvariant="normal">i</mi><mi>o</mi><mi>n</mi></math>]]></text>
      <feedback format="html">
        <text><![CDATA[<p><span style="font-size: medium;"><strong><span style="color: #008000;">Résultat correct, mais non simplifié !!!</span></strong></span></p>]]></text>
      </feedback>
    </answer>
    <wirisquestion>
&lt;question&gt;&lt;wirisCasSession&gt;&lt;![CDATA[&lt;session lang="fr" version="2.0"&gt;&lt;library closed="false"&gt;&lt;mtext style="color:#ffc800" xml:lang="fr"&gt;variables&lt;/mtext&gt;&lt;group&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;b&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;aléa&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;50&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"/&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;repeat&lt;/csymbol&gt;&lt;mtable&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;alea&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;25&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;p&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mfrac&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mi&gt;b&lt;/mi&gt;&lt;/mfrac&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;mrow&gt;&lt;mi&gt;p&lt;/mi&gt;&lt;mo&gt;∉&lt;/mo&gt;&lt;integers/&gt;&lt;/mrow&gt;&lt;/apply&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;repeat&lt;/csymbol&gt;&lt;mtable&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;c&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;aléa&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;15&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;q&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mfrac&gt;&lt;mi&gt;c&lt;/mi&gt;&lt;mi&gt;b&lt;/mi&gt;&lt;/mfrac&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;mrow&gt;&lt;mi&gt;q&lt;/mi&gt;&lt;mo&gt;∉&lt;/mo&gt;&lt;integers/&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;/mrow&gt;&lt;/apply&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"/&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;solution&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;p&lt;/mi&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mi&gt;q&lt;/mi&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;/group&gt;&lt;/library&gt;&lt;/session&gt;]]&gt;&lt;/wirisCasSession&gt;&lt;correctAnswers&gt;&lt;correctAnswer type="mathml"&gt;&lt;![CDATA[&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mstyle displaystyle="false"&gt;&lt;mo&gt;#&lt;/mo&gt;&lt;mi mathvariant="normal"&gt;s&lt;/mi&gt;&lt;mi&gt;o&lt;/mi&gt;&lt;mi mathvariant="normal"&gt;l&lt;/mi&gt;&lt;mi&gt;u&lt;/mi&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;mi mathvariant="normal"&gt;i&lt;/mi&gt;&lt;mi&gt;o&lt;/mi&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/mstyle&gt;&lt;/math&gt;]]&gt;&lt;/correctAnswer&gt;&lt;correctAnswer id="1" type="mathml"&gt;&lt;![CDATA[&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mo&gt;#&lt;/mo&gt;&lt;mi mathvariant="normal"&gt;s&lt;/mi&gt;&lt;mi&gt;o&lt;/mi&gt;&lt;mi mathvariant="normal"&gt;l&lt;/mi&gt;&lt;mi&gt;u&lt;/mi&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;mi mathvariant="normal"&gt;i&lt;/mi&gt;&lt;mi&gt;o&lt;/mi&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/math&gt;]]&gt;&lt;/correctAnswer&gt;&lt;correctAnswer id="2"&gt;&lt;/correctAnswer&gt;&lt;correctAnswer id="3"&gt;&lt;/correctAnswer&gt;&lt;/correctAnswers&gt;&lt;assertions&gt;&lt;assertion name="check_simplified"/&gt;&lt;assertion name="syntax_quantity"&gt;&lt;param name="units"&gt;&lt;![CDATA[m, s, g, sr, E, K, mol, cd, rad, h, min, l, N, Pa, Hz, W, J, C, V, Ω, F, S, Wb, b, H, T, lx, lm, Gy, Bq, Sv, kat]]&gt;&lt;/param&gt;&lt;param name="unitprefixes"&gt;M, k, c, m, y, z, a, f, p, n, µ, d, da, h, G, T, P, E, Z, Y&lt;/param&gt;&lt;param name="groupoperators"&gt;(,[,{&lt;/param&gt;&lt;/assertion&gt;&lt;assertion name="equivalent_symbolic"/&gt;&lt;assertion name="syntax_expression" correctAnswer="1"/&gt;&lt;assertion name="equivalent_symbolic" correctAnswer="1"/&gt;&lt;/assertions&gt;&lt;options&gt;&lt;option name="tolerance"&gt;10^(-4)&lt;/option&gt;&lt;option name="relative_tolerance"&gt;false&lt;/option&gt;&lt;option name="precision"&gt;4&lt;/option&gt;&lt;option name="implicit_times_operator"&gt;false&lt;/option&gt;&lt;option name="times_operator"&gt;×&lt;/option&gt;&lt;option name="imaginary_unit"&gt;i&lt;/option&gt;&lt;/options&gt;&lt;localData&gt;&lt;data name="inputField"&gt;popupEditor&lt;/data&gt;&lt;data name="gradeCompound"&gt;and&lt;/data&gt;&lt;data name="gradeCompoundDistribution"&gt;&lt;/data&gt;&lt;data name="casSession"/&gt;&lt;/localData&gt;&lt;/question&gt;    </wirisquestion>
  </question>
 
 <!-- resourceid-resourcedataid: 12184-10291 -->
 <question type="shortanswerwiris">
    <name>
      <text>-a/b + c/b</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p><span style="font-size: medium;"><strong><span style="color: #ff00ff;">Calcule  #p + #q en donnant donne le résultat sous la forme la plus simplifiée possible.</span></strong></span></p>
<p><span style="font-size: medium; color: #0000ff;"><strong>Tape le résultat sous la forme d'une fraction : (par exemple : «math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mfrac»«mn»2«/mn»«mn»3«/mn»«/mfrac»«/math» s'écrira <span style="color: #ff0000;">2/3</span></strong></span><span style="font-size: medium;"><strong><span style="color: #ff0000;">)</span></strong></span><span style="font-size: medium;"><strong>.</strong></span></p>
<p> </p>
<p> </p>
<p> </p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>1.0000000</penalty>
    <hidden>0</hidden>
    <usecase>0</usecase>
    <answer fraction="100" format="moodle_auto_format">
      <text><![CDATA[<math xmlns="http://www.w3.org/1998/Math/MathML"><mstyle displaystyle="false"><mo>#</mo><mi mathvariant="normal">s</mi><mi>o</mi><mi mathvariant="normal">l</mi><mi>u</mi><mi>t</mi><mi mathvariant="normal">i</mi><mi>o</mi><mi>n</mi></mstyle></math>]]></text>
      <feedback format="html">
        <text><![CDATA[<p><span style="color: #008000; font-size: medium;"><strong>Super !</strong></span></p>]]></text>
      </feedback>
    </answer>
    <answer fraction="50" format="moodle_auto_format">
      <text><![CDATA[<math xmlns="http://www.w3.org/1998/Math/MathML"><mo>#</mo><mi mathvariant="normal">s</mi><mi>o</mi><mi mathvariant="normal">l</mi><mi>u</mi><mi>t</mi><mi mathvariant="normal">i</mi><mi>o</mi><mi>n</mi></math>]]></text>
      <feedback format="html">
        <text><![CDATA[<p><span style="font-size: medium;"><strong><span style="color: #008000;">Résultat correct, mais non simplifié !!!</span></strong></span></p>]]></text>
      </feedback>
    </answer>
    <wirisquestion>
&lt;question&gt;&lt;wirisCasSession&gt;&lt;![CDATA[&lt;session lang="fr" version="2.0"&gt;&lt;library closed="false"&gt;&lt;mtext style="color:#ffc800" xml:lang="fr"&gt;variables&lt;/mtext&gt;&lt;group&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;b&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;aléa&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;23&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"/&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;repeat&lt;/csymbol&gt;&lt;mtable&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;alea&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;50&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;p&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mfrac&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mi&gt;b&lt;/mi&gt;&lt;/mfrac&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;mrow&gt;&lt;mi&gt;p&lt;/mi&gt;&lt;mo&gt;∉&lt;/mo&gt;&lt;integers/&gt;&lt;/mrow&gt;&lt;/apply&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;repeat&lt;/csymbol&gt;&lt;mtable&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;c&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;aléa&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;15&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;q&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mfrac&gt;&lt;mi&gt;c&lt;/mi&gt;&lt;mi&gt;b&lt;/mi&gt;&lt;/mfrac&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;mrow&gt;&lt;mi&gt;q&lt;/mi&gt;&lt;mo&gt;∉&lt;/mo&gt;&lt;integers/&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;/mrow&gt;&lt;/apply&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"/&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;solution&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;p&lt;/mi&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mi&gt;q&lt;/mi&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;/group&gt;&lt;/library&gt;&lt;/session&gt;]]&gt;&lt;/wirisCasSession&gt;&lt;correctAnswers&gt;&lt;correctAnswer type="mathml"&gt;&lt;![CDATA[&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mstyle displaystyle="false"&gt;&lt;mo&gt;#&lt;/mo&gt;&lt;mi mathvariant="normal"&gt;s&lt;/mi&gt;&lt;mi&gt;o&lt;/mi&gt;&lt;mi mathvariant="normal"&gt;l&lt;/mi&gt;&lt;mi&gt;u&lt;/mi&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;mi mathvariant="normal"&gt;i&lt;/mi&gt;&lt;mi&gt;o&lt;/mi&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/mstyle&gt;&lt;/math&gt;]]&gt;&lt;/correctAnswer&gt;&lt;correctAnswer id="1" type="mathml"&gt;&lt;![CDATA[&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mo&gt;#&lt;/mo&gt;&lt;mi mathvariant="normal"&gt;s&lt;/mi&gt;&lt;mi&gt;o&lt;/mi&gt;&lt;mi mathvariant="normal"&gt;l&lt;/mi&gt;&lt;mi&gt;u&lt;/mi&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;mi mathvariant="normal"&gt;i&lt;/mi&gt;&lt;mi&gt;o&lt;/mi&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/math&gt;]]&gt;&lt;/correctAnswer&gt;&lt;correctAnswer id="2"&gt;&lt;/correctAnswer&gt;&lt;correctAnswer id="3"&gt;&lt;/correctAnswer&gt;&lt;/correctAnswers&gt;&lt;assertions&gt;&lt;assertion name="check_simplified"/&gt;&lt;assertion name="syntax_quantity"&gt;&lt;param name="units"&gt;&lt;![CDATA[m, s, g, sr, E, K, mol, cd, rad, h, min, l, N, Pa, Hz, W, J, C, V, Ω, F, S, Wb, b, H, T, lx, lm, Gy, Bq, Sv, kat]]&gt;&lt;/param&gt;&lt;param name="unitprefixes"&gt;M, k, c, m, y, z, a, f, p, n, µ, d, da, h, G, T, P, E, Z, Y&lt;/param&gt;&lt;param name="groupoperators"&gt;(,[,{&lt;/param&gt;&lt;/assertion&gt;&lt;assertion name="equivalent_symbolic"/&gt;&lt;assertion name="syntax_expression" correctAnswer="1"/&gt;&lt;assertion name="equivalent_symbolic" correctAnswer="1"/&gt;&lt;/assertions&gt;&lt;options&gt;&lt;option name="tolerance"&gt;10^(-4)&lt;/option&gt;&lt;option name="relative_tolerance"&gt;false&lt;/option&gt;&lt;option name="precision"&gt;4&lt;/option&gt;&lt;option name="implicit_times_operator"&gt;false&lt;/option&gt;&lt;option name="times_operator"&gt;×&lt;/option&gt;&lt;option name="imaginary_unit"&gt;i&lt;/option&gt;&lt;/options&gt;&lt;localData&gt;&lt;data name="inputField"&gt;popupEditor&lt;/data&gt;&lt;data name="gradeCompound"&gt;and&lt;/data&gt;&lt;data name="gradeCompoundDistribution"&gt;&lt;/data&gt;&lt;data name="casSession"/&gt;&lt;/localData&gt;&lt;/question&gt;    </wirisquestion>
  </question>
 
 <!-- resourceid-resourcedataid: 12187-10294 -->
 <question type="shortanswerwiris">
    <name>
      <text>a - c/b</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p><span style="font-size: medium; color: #ff00ff;"><strong><span style="font-size: medium;">Calcule  #a </span></strong><span style="font-size: medium;"><span style="color: #000000;">-</span></span><strong><span style="font-size: medium;"> #q en donnant donne le résultat sous la forme la plus simplifiée possible.</span></strong></span></p>
<p><span style="font-size: medium; color: #0000ff;"><strong>Tape le résultat sous la forme d'une fraction : (par exemple : «math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mfrac»«mn»2«/mn»«mn»3«/mn»«/mfrac»«/math» s'écrira <span style="color: #ff0000;">2/3</span></strong></span><span style="font-size: medium;"><strong><span style="color: #ff0000;">)</span></strong></span><span style="font-size: medium;"><strong>.</strong></span></p>
<p> </p>
<p> </p>
<p> </p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>1.0000000</penalty>
    <hidden>0</hidden>
    <usecase>0</usecase>
    <answer fraction="100" format="moodle_auto_format">
      <text><![CDATA[<math xmlns="http://www.w3.org/1998/Math/MathML"><mstyle displaystyle="false"><mo>#</mo><mi mathvariant="normal">s</mi><mi>o</mi><mi mathvariant="normal">l</mi><mi>u</mi><mi>t</mi><mi mathvariant="normal">i</mi><mi>o</mi><mi>n</mi></mstyle></math>]]></text>
      <feedback format="html">
        <text><![CDATA[<p><span style="color: #008000; font-size: medium;"><strong>Super !</strong></span></p>]]></text>
      </feedback>
    </answer>
    <answer fraction="50" format="moodle_auto_format">
      <text><![CDATA[<math xmlns="http://www.w3.org/1998/Math/MathML"><mo>#</mo><mi mathvariant="normal">s</mi><mi>o</mi><mi mathvariant="normal">l</mi><mi>u</mi><mi>t</mi><mi mathvariant="normal">i</mi><mi>o</mi><mi>n</mi></math>]]></text>
      <feedback format="html">
        <text><![CDATA[<p><span style="font-size: medium;"><strong><span style="color: #008000;">Résultat correct, mais non simplifié !!!</span></strong></span></p>]]></text>
      </feedback>
    </answer>
    <wirisquestion>
&lt;question&gt;&lt;wirisCasSession&gt;&lt;![CDATA[&lt;session lang="fr" version="2.0"&gt;&lt;library closed="false"&gt;&lt;mtext style="color:#ffc800" xml:lang="fr"&gt;variables&lt;/mtext&gt;&lt;group&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;b&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;aléa&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;10&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;alea&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;8&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"/&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;repeat&lt;/csymbol&gt;&lt;mtable&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;c&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;aléa&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;3&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;15&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;q&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mfrac&gt;&lt;mi&gt;c&lt;/mi&gt;&lt;mi&gt;b&lt;/mi&gt;&lt;/mfrac&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;mrow&gt;&lt;mi&gt;q&lt;/mi&gt;&lt;mo&gt;∉&lt;/mo&gt;&lt;integers/&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;/mrow&gt;&lt;/apply&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"/&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;solution&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mi&gt;q&lt;/mi&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;/group&gt;&lt;/library&gt;&lt;/session&gt;]]&gt;&lt;/wirisCasSession&gt;&lt;correctAnswers&gt;&lt;correctAnswer type="mathml"&gt;&lt;![CDATA[&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mstyle displaystyle="false"&gt;&lt;mo&gt;#&lt;/mo&gt;&lt;mi mathvariant="normal"&gt;s&lt;/mi&gt;&lt;mi&gt;o&lt;/mi&gt;&lt;mi mathvariant="normal"&gt;l&lt;/mi&gt;&lt;mi&gt;u&lt;/mi&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;mi mathvariant="normal"&gt;i&lt;/mi&gt;&lt;mi&gt;o&lt;/mi&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/mstyle&gt;&lt;/math&gt;]]&gt;&lt;/correctAnswer&gt;&lt;correctAnswer id="1" type="mathml"&gt;&lt;![CDATA[&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mo&gt;#&lt;/mo&gt;&lt;mi mathvariant="normal"&gt;s&lt;/mi&gt;&lt;mi&gt;o&lt;/mi&gt;&lt;mi mathvariant="normal"&gt;l&lt;/mi&gt;&lt;mi&gt;u&lt;/mi&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;mi mathvariant="normal"&gt;i&lt;/mi&gt;&lt;mi&gt;o&lt;/mi&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/math&gt;]]&gt;&lt;/correctAnswer&gt;&lt;correctAnswer id="2"&gt;&lt;/correctAnswer&gt;&lt;correctAnswer id="3"&gt;&lt;/correctAnswer&gt;&lt;/correctAnswers&gt;&lt;assertions&gt;&lt;assertion name="check_simplified"/&gt;&lt;assertion name="syntax_quantity"&gt;&lt;param name="units"&gt;&lt;![CDATA[m, s, g, sr, E, K, mol, cd, rad, h, min, l, N, Pa, Hz, W, J, C, V, Ω, F, S, Wb, b, H, T, lx, lm, Gy, Bq, Sv, kat]]&gt;&lt;/param&gt;&lt;param name="unitprefixes"&gt;M, k, c, m, y, z, a, f, p, n, µ, d, da, h, G, T, P, E, Z, Y&lt;/param&gt;&lt;param name="groupoperators"&gt;(,[,{&lt;/param&gt;&lt;/assertion&gt;&lt;assertion name="equivalent_symbolic"/&gt;&lt;assertion name="syntax_expression" correctAnswer="1"/&gt;&lt;assertion name="equivalent_symbolic" correctAnswer="1"/&gt;&lt;/assertions&gt;&lt;options&gt;&lt;option name="tolerance"&gt;10^(-4)&lt;/option&gt;&lt;option name="relative_tolerance"&gt;false&lt;/option&gt;&lt;option name="precision"&gt;4&lt;/option&gt;&lt;option name="implicit_times_operator"&gt;false&lt;/option&gt;&lt;option name="times_operator"&gt;×&lt;/option&gt;&lt;option name="imaginary_unit"&gt;i&lt;/option&gt;&lt;/options&gt;&lt;localData&gt;&lt;data name="inputField"&gt;popupEditor&lt;/data&gt;&lt;data name="gradeCompound"&gt;and&lt;/data&gt;&lt;data name="gradeCompoundDistribution"&gt;&lt;/data&gt;&lt;data name="casSession"/&gt;&lt;/localData&gt;&lt;/question&gt;    </wirisquestion>
  </question>
 
 <!-- resourceid-resourcedataid: 12186-10293 -->
 <question type="shortanswerwiris">
    <name>
      <text>a + c/b</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p><span style="font-size: medium; color: #ff00ff;"><strong><span style="font-size: medium;">Calcule  #a + #q en donnant donne le résultat sous la forme la plus simplifiée possible.</span></strong></span></p>
<p><span style="font-size: medium; color: #0000ff;"><strong>Tape le résultat sous la forme d'une fraction : (par exemple : «math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mfrac»«mn»2«/mn»«mn»3«/mn»«/mfrac»«/math» s'écrira <span style="color: #ff0000;">2/3</span></strong></span><span style="font-size: medium;"><strong><span style="color: #ff0000;">)</span></strong></span><span style="font-size: medium;"><strong>.</strong></span></p>
<p> </p>
<p> </p>
<p> </p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>1.0000000</penalty>
    <hidden>0</hidden>
    <usecase>0</usecase>
    <answer fraction="100" format="moodle_auto_format">
      <text><![CDATA[<math xmlns="http://www.w3.org/1998/Math/MathML"><mstyle displaystyle="false"><mo>#</mo><mi mathvariant="normal">s</mi><mi>o</mi><mi mathvariant="normal">l</mi><mi>u</mi><mi>t</mi><mi mathvariant="normal">i</mi><mi>o</mi><mi>n</mi></mstyle></math>]]></text>
      <feedback format="html">
        <text><![CDATA[<p><span style="color: #008000; font-size: medium;"><strong>Super !</strong></span></p>]]></text>
      </feedback>
    </answer>
    <answer fraction="50" format="moodle_auto_format">
      <text><![CDATA[<math xmlns="http://www.w3.org/1998/Math/MathML"><mo>#</mo><mi mathvariant="normal">s</mi><mi>o</mi><mi mathvariant="normal">l</mi><mi>u</mi><mi>t</mi><mi mathvariant="normal">i</mi><mi>o</mi><mi>n</mi></math>]]></text>
      <feedback format="html">
        <text><![CDATA[<p><span style="font-size: medium;"><strong><span style="color: #008000;">Résultat correct, mais non simplifié !!!</span></strong></span></p>]]></text>
      </feedback>
    </answer>
    <wirisquestion>
&lt;question&gt;&lt;wirisCasSession&gt;&lt;![CDATA[&lt;session lang="fr" version="2.0"&gt;&lt;library closed="false"&gt;&lt;mtext style="color:#ffc800" xml:lang="fr"&gt;variables&lt;/mtext&gt;&lt;group&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;b&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;aléa&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;10&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;alea&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;8&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"/&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;repeat&lt;/csymbol&gt;&lt;mtable&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;c&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;aléa&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;3&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;15&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;q&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mfrac&gt;&lt;mi&gt;c&lt;/mi&gt;&lt;mi&gt;b&lt;/mi&gt;&lt;/mfrac&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;mrow&gt;&lt;mi&gt;q&lt;/mi&gt;&lt;mo&gt;∉&lt;/mo&gt;&lt;integers/&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;/mrow&gt;&lt;/apply&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"/&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;solution&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mi&gt;q&lt;/mi&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;/group&gt;&lt;/library&gt;&lt;/session&gt;]]&gt;&lt;/wirisCasSession&gt;&lt;correctAnswers&gt;&lt;correctAnswer type="mathml"&gt;&lt;![CDATA[&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mstyle displaystyle="false"&gt;&lt;mo&gt;#&lt;/mo&gt;&lt;mi mathvariant="normal"&gt;s&lt;/mi&gt;&lt;mi&gt;o&lt;/mi&gt;&lt;mi mathvariant="normal"&gt;l&lt;/mi&gt;&lt;mi&gt;u&lt;/mi&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;mi mathvariant="normal"&gt;i&lt;/mi&gt;&lt;mi&gt;o&lt;/mi&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/mstyle&gt;&lt;/math&gt;]]&gt;&lt;/correctAnswer&gt;&lt;correctAnswer id="1" type="mathml"&gt;&lt;![CDATA[&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mo&gt;#&lt;/mo&gt;&lt;mi mathvariant="normal"&gt;s&lt;/mi&gt;&lt;mi&gt;o&lt;/mi&gt;&lt;mi mathvariant="normal"&gt;l&lt;/mi&gt;&lt;mi&gt;u&lt;/mi&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;mi mathvariant="normal"&gt;i&lt;/mi&gt;&lt;mi&gt;o&lt;/mi&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/math&gt;]]&gt;&lt;/correctAnswer&gt;&lt;correctAnswer id="2"&gt;&lt;/correctAnswer&gt;&lt;correctAnswer id="3"&gt;&lt;/correctAnswer&gt;&lt;/correctAnswers&gt;&lt;assertions&gt;&lt;assertion name="check_simplified"/&gt;&lt;assertion name="syntax_quantity"&gt;&lt;param name="units"&gt;&lt;![CDATA[m, s, g, sr, E, K, mol, cd, rad, h, min, l, N, Pa, Hz, W, J, C, V, Ω, F, S, Wb, b, H, T, lx, lm, Gy, Bq, Sv, kat]]&gt;&lt;/param&gt;&lt;param name="unitprefixes"&gt;M, k, c, m, y, z, a, f, p, n, µ, d, da, h, G, T, P, E, Z, Y&lt;/param&gt;&lt;param name="groupoperators"&gt;(,[,{&lt;/param&gt;&lt;/assertion&gt;&lt;assertion name="equivalent_symbolic"/&gt;&lt;assertion name="syntax_expression" correctAnswer="1"/&gt;&lt;assertion name="equivalent_symbolic" correctAnswer="1"/&gt;&lt;/assertions&gt;&lt;options&gt;&lt;option name="tolerance"&gt;10^(-4)&lt;/option&gt;&lt;option name="relative_tolerance"&gt;false&lt;/option&gt;&lt;option name="precision"&gt;4&lt;/option&gt;&lt;option name="implicit_times_operator"&gt;false&lt;/option&gt;&lt;option name="times_operator"&gt;×&lt;/option&gt;&lt;option name="imaginary_unit"&gt;i&lt;/option&gt;&lt;/options&gt;&lt;localData&gt;&lt;data name="inputField"&gt;popupEditor&lt;/data&gt;&lt;data name="gradeCompound"&gt;and&lt;/data&gt;&lt;data name="gradeCompoundDistribution"&gt;&lt;/data&gt;&lt;data name="casSession"/&gt;&lt;/localData&gt;&lt;/question&gt;    </wirisquestion>
  </question>
 
 <!-- resourceid-resourcedataid: 12188-10295 -->
 <question type="shortanswerwiris">
    <name>
      <text>a/-b - (c/-b)</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p><span style="font-size: medium; color: #ff0000;"><strong><span style="font-size: medium;">Calcule  <span style="color: #000000;">#p </span></span></strong><span style="font-size: medium; color: #000000;">-</span><strong><span style="font-size: medium;"><span style="color: #000000;"> (#q)</span> en donnant donne le résultat sous la forme la plus simplifiée possible.</span></strong></span></p>
<p><span style="font-size: medium; color: #0000ff;" data-mce-mark="1"><strong>Tape le résultat sous la forme d'une fraction : (par exemple : «math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mfrac»«mn»2«/mn»«mn»3«/mn»«/mfrac»«/math» s'écrira <span style="color: #ff0000;" data-mce-mark="1">2/3</span></strong></span><span style="font-size: medium;" data-mce-mark="1"><strong><span style="color: #ff0000;" data-mce-mark="1">)</span></strong></span><span style="font-size: medium;" data-mce-mark="1"><strong>.</strong></span></p>
<p> </p>
<p> </p>
<p> </p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>1.0000000</penalty>
    <hidden>0</hidden>
    <usecase>0</usecase>
    <answer fraction="100" format="moodle_auto_format">
      <text><![CDATA[<math xmlns="http://www.w3.org/1998/Math/MathML"><mstyle displaystyle="false"><mo>#</mo><mi mathvariant="normal">s</mi><mi>o</mi><mi mathvariant="normal">l</mi><mi>u</mi><mi>t</mi><mi mathvariant="normal">i</mi><mi>o</mi><mi>n</mi></mstyle></math>]]></text>
      <feedback format="html">
        <text><![CDATA[<p><span style="color: #008000; font-size: medium;"><strong>Super !</strong></span></p>]]></text>
      </feedback>
    </answer>
    <answer fraction="50" format="moodle_auto_format">
      <text><![CDATA[<math xmlns="http://www.w3.org/1998/Math/MathML"><mo>#</mo><mi mathvariant="normal">s</mi><mi>o</mi><mi mathvariant="normal">l</mi><mi>u</mi><mi>t</mi><mi mathvariant="normal">i</mi><mi>o</mi><mi>n</mi></math>]]></text>
      <feedback format="html">
        <text><![CDATA[<p><span style="font-size: medium;"><strong><span style="color: #008000;">Résultat correct, mais non simplifié !!!</span></strong></span></p>]]></text>
      </feedback>
    </answer>
    <wirisquestion>
&lt;question&gt;&lt;wirisCasSession&gt;&lt;![CDATA[&lt;session lang="fr" version="2.0"&gt;&lt;library closed="false"&gt;&lt;mtext style="color:#ffc800" xml:lang="fr"&gt;variables&lt;/mtext&gt;&lt;group&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;b&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;aléa&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;50&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"/&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;repeat&lt;/csymbol&gt;&lt;mtable&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;alea&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;25&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;p&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mfrac&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mi&gt;b&lt;/mi&gt;&lt;/mfrac&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;mrow&gt;&lt;mi&gt;p&lt;/mi&gt;&lt;mo&gt;∉&lt;/mo&gt;&lt;integers/&gt;&lt;/mrow&gt;&lt;/apply&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;repeat&lt;/csymbol&gt;&lt;mtable&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;c&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;aléa&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;15&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;q&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mfrac&gt;&lt;mi&gt;c&lt;/mi&gt;&lt;mi&gt;b&lt;/mi&gt;&lt;/mfrac&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;mrow&gt;&lt;mi&gt;q&lt;/mi&gt;&lt;mo&gt;∉&lt;/mo&gt;&lt;integers/&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;/mrow&gt;&lt;/apply&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"/&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;solution&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;p&lt;/mi&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mi&gt;q&lt;/mi&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;/group&gt;&lt;/library&gt;&lt;/session&gt;]]&gt;&lt;/wirisCasSession&gt;&lt;correctAnswers&gt;&lt;correctAnswer type="mathml"&gt;&lt;![CDATA[&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mstyle displaystyle="false"&gt;&lt;mo&gt;#&lt;/mo&gt;&lt;mi mathvariant="normal"&gt;s&lt;/mi&gt;&lt;mi&gt;o&lt;/mi&gt;&lt;mi mathvariant="normal"&gt;l&lt;/mi&gt;&lt;mi&gt;u&lt;/mi&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;mi mathvariant="normal"&gt;i&lt;/mi&gt;&lt;mi&gt;o&lt;/mi&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/mstyle&gt;&lt;/math&gt;]]&gt;&lt;/correctAnswer&gt;&lt;correctAnswer id="1" type="mathml"&gt;&lt;![CDATA[&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mo&gt;#&lt;/mo&gt;&lt;mi mathvariant="normal"&gt;s&lt;/mi&gt;&lt;mi&gt;o&lt;/mi&gt;&lt;mi mathvariant="normal"&gt;l&lt;/mi&gt;&lt;mi&gt;u&lt;/mi&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;mi mathvariant="normal"&gt;i&lt;/mi&gt;&lt;mi&gt;o&lt;/mi&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/math&gt;]]&gt;&lt;/correctAnswer&gt;&lt;correctAnswer id="2"&gt;&lt;/correctAnswer&gt;&lt;correctAnswer id="3"&gt;&lt;/correctAnswer&gt;&lt;/correctAnswers&gt;&lt;assertions&gt;&lt;assertion name="check_simplified"/&gt;&lt;assertion name="syntax_quantity"&gt;&lt;param name="units"&gt;&lt;![CDATA[m, s, g, sr, E, K, mol, cd, rad, h, min, l, N, Pa, Hz, W, J, C, V, Ω, F, S, Wb, b, H, T, lx, lm, Gy, Bq, Sv, kat]]&gt;&lt;/param&gt;&lt;param name="unitprefixes"&gt;M, k, c, m, y, z, a, f, p, n, µ, d, da, h, G, T, P, E, Z, Y&lt;/param&gt;&lt;param name="groupoperators"&gt;(,[,{&lt;/param&gt;&lt;/assertion&gt;&lt;assertion name="equivalent_symbolic"/&gt;&lt;assertion name="syntax_expression" correctAnswer="1"/&gt;&lt;assertion name="equivalent_symbolic" correctAnswer="1"/&gt;&lt;/assertions&gt;&lt;options&gt;&lt;option name="tolerance"&gt;10^(-4)&lt;/option&gt;&lt;option name="relative_tolerance"&gt;false&lt;/option&gt;&lt;option name="precision"&gt;4&lt;/option&gt;&lt;option name="implicit_times_operator"&gt;false&lt;/option&gt;&lt;option name="times_operator"&gt;×&lt;/option&gt;&lt;option name="imaginary_unit"&gt;i&lt;/option&gt;&lt;/options&gt;&lt;localData&gt;&lt;data name="inputField"&gt;popupEditor&lt;/data&gt;&lt;data name="gradeCompound"&gt;and&lt;/data&gt;&lt;data name="gradeCompoundDistribution"&gt;&lt;/data&gt;&lt;data name="casSession"&gt;&lt;/data&gt;&lt;/localData&gt;&lt;/question&gt;    </wirisquestion>
  </question>
 
 <!-- resourceid-resourcedataid: 12191-10298 -->
 <question type="shortanswerwiris">
    <name>
      <text>a/b - c/b</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p><span style="font-size: medium; color: #ff0000;"><strong><span style="font-size: medium;">Calcule  #p </span></strong><span style="font-size: medium;"><span style="color: #000000;">-</span></span><strong><span style="font-size: medium;"> #q en donnant donne le résultat sous la forme la plus simplifiée possible.</span></strong></span></p>
<p><span style="font-size: medium; color: #0000ff;" data-mce-mark="1"><strong>Tape le résultat sous la forme d'une fraction : (par exemple : «math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mfrac»«mn»2«/mn»«mn»3«/mn»«/mfrac»«/math» s'écrira <span style="color: #ff0000;" data-mce-mark="1">2/3</span></strong></span><span style="font-size: medium;" data-mce-mark="1"><strong><span style="color: #ff0000;" data-mce-mark="1">)</span></strong></span><span style="font-size: medium;" data-mce-mark="1"><strong>.</strong></span></p>
<p> </p>
<p> </p>
<p> </p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>1.0000000</penalty>
    <hidden>0</hidden>
    <usecase>0</usecase>
    <answer fraction="100" format="moodle_auto_format">
      <text><![CDATA[<math xmlns="http://www.w3.org/1998/Math/MathML"><mstyle displaystyle="false"><mo>#</mo><mi mathvariant="normal">s</mi><mi>o</mi><mi mathvariant="normal">l</mi><mi>u</mi><mi>t</mi><mi mathvariant="normal">i</mi><mi>o</mi><mi>n</mi></mstyle></math>]]></text>
      <feedback format="html">
        <text><![CDATA[<p><span style="color: #008000; font-size: medium;"><strong>Super !</strong></span></p>]]></text>
      </feedback>
    </answer>
    <answer fraction="50" format="moodle_auto_format">
      <text><![CDATA[<math xmlns="http://www.w3.org/1998/Math/MathML"><mo>#</mo><mi mathvariant="normal">s</mi><mi>o</mi><mi mathvariant="normal">l</mi><mi>u</mi><mi>t</mi><mi mathvariant="normal">i</mi><mi>o</mi><mi>n</mi></math>]]></text>
      <feedback format="html">
        <text><![CDATA[<p><span style="font-size: medium;"><strong><span style="color: #008000;">Résultat correct, mais non simplifié !!!</span></strong></span></p>]]></text>
      </feedback>
    </answer>
    <wirisquestion>
&lt;question&gt;&lt;wirisCasSession&gt;&lt;![CDATA[&lt;session lang="fr" version="2.0"&gt;&lt;library closed="false"&gt;&lt;mtext style="color:#ffc800" xml:lang="fr"&gt;variables&lt;/mtext&gt;&lt;group&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;b&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;aléa&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;50&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"/&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;repeat&lt;/csymbol&gt;&lt;mtable&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;alea&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;25&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;p&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mfrac&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mi&gt;b&lt;/mi&gt;&lt;/mfrac&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;mrow&gt;&lt;mi&gt;p&lt;/mi&gt;&lt;mo&gt;∉&lt;/mo&gt;&lt;integers/&gt;&lt;/mrow&gt;&lt;/apply&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;repeat&lt;/csymbol&gt;&lt;mtable&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;c&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;aléa&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;15&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;q&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mfrac&gt;&lt;mi&gt;c&lt;/mi&gt;&lt;mi&gt;b&lt;/mi&gt;&lt;/mfrac&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;mrow&gt;&lt;mi&gt;q&lt;/mi&gt;&lt;mo&gt;∉&lt;/mo&gt;&lt;integers/&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;/mrow&gt;&lt;/apply&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"/&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;solution&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;p&lt;/mi&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mi&gt;q&lt;/mi&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;/group&gt;&lt;/library&gt;&lt;/session&gt;]]&gt;&lt;/wirisCasSession&gt;&lt;correctAnswers&gt;&lt;correctAnswer type="mathml"&gt;&lt;![CDATA[&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mstyle displaystyle="false"&gt;&lt;mo&gt;#&lt;/mo&gt;&lt;mi mathvariant="normal"&gt;s&lt;/mi&gt;&lt;mi&gt;o&lt;/mi&gt;&lt;mi mathvariant="normal"&gt;l&lt;/mi&gt;&lt;mi&gt;u&lt;/mi&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;mi mathvariant="normal"&gt;i&lt;/mi&gt;&lt;mi&gt;o&lt;/mi&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/mstyle&gt;&lt;/math&gt;]]&gt;&lt;/correctAnswer&gt;&lt;correctAnswer id="1" type="mathml"&gt;&lt;![CDATA[&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mo&gt;#&lt;/mo&gt;&lt;mi mathvariant="normal"&gt;s&lt;/mi&gt;&lt;mi&gt;o&lt;/mi&gt;&lt;mi mathvariant="normal"&gt;l&lt;/mi&gt;&lt;mi&gt;u&lt;/mi&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;mi mathvariant="normal"&gt;i&lt;/mi&gt;&lt;mi&gt;o&lt;/mi&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/math&gt;]]&gt;&lt;/correctAnswer&gt;&lt;correctAnswer id="2"&gt;&lt;/correctAnswer&gt;&lt;correctAnswer id="3"&gt;&lt;/correctAnswer&gt;&lt;/correctAnswers&gt;&lt;assertions&gt;&lt;assertion name="check_simplified"/&gt;&lt;assertion name="syntax_quantity"&gt;&lt;param name="units"&gt;&lt;![CDATA[m, s, g, sr, E, K, mol, cd, rad, h, min, l, N, Pa, Hz, W, J, C, V, Ω, F, S, Wb, b, H, T, lx, lm, Gy, Bq, Sv, kat]]&gt;&lt;/param&gt;&lt;param name="unitprefixes"&gt;M, k, c, m, y, z, a, f, p, n, µ, d, da, h, G, T, P, E, Z, Y&lt;/param&gt;&lt;param name="groupoperators"&gt;(,[,{&lt;/param&gt;&lt;/assertion&gt;&lt;assertion name="equivalent_symbolic"/&gt;&lt;assertion name="syntax_expression" correctAnswer="1"/&gt;&lt;assertion name="equivalent_symbolic" correctAnswer="1"/&gt;&lt;/assertions&gt;&lt;options&gt;&lt;option name="tolerance"&gt;10^(-4)&lt;/option&gt;&lt;option name="relative_tolerance"&gt;false&lt;/option&gt;&lt;option name="precision"&gt;4&lt;/option&gt;&lt;option name="implicit_times_operator"&gt;false&lt;/option&gt;&lt;option name="times_operator"&gt;×&lt;/option&gt;&lt;option name="imaginary_unit"&gt;i&lt;/option&gt;&lt;/options&gt;&lt;localData&gt;&lt;data name="inputField"&gt;popupEditor&lt;/data&gt;&lt;data name="gradeCompound"&gt;and&lt;/data&gt;&lt;data name="gradeCompoundDistribution"&gt;&lt;/data&gt;&lt;data name="casSession"&gt;&lt;/data&gt;&lt;/localData&gt;&lt;/question&gt;    </wirisquestion>
  </question>
 
 <!-- resourceid-resourcedataid: 12189-10296 -->
 <question type="shortanswerwiris">
    <name>
      <text>a/b + c/(db)</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p><span style="font-size: medium;"><strong><span style="color: #ff00ff;">Calcule  #p + #q en donnant donne le résultat sous la forme la plus simplifiée possible.</span></strong></span></p>
<p><span style="font-size: medium; color: #0000ff;"><strong>Tape le résultat sous la forme d'une fraction : (par exemple : «math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mfrac»«mn»2«/mn»«mn»3«/mn»«/mfrac»«/math» s'écrira <span style="color: #ff0000;">2/3</span></strong></span><span style="font-size: medium;"><strong><span style="color: #ff0000;">)</span></strong></span><span style="font-size: medium;"><strong>.</strong></span></p>
<p> </p>
<p> </p>
<p> </p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.5000000</defaultgrade>
    <penalty>1.0000000</penalty>
    <hidden>0</hidden>
    <usecase>0</usecase>
    <answer fraction="100" format="moodle_auto_format">
      <text><![CDATA[<math xmlns="http://www.w3.org/1998/Math/MathML"><mstyle displaystyle="false"><mo>#</mo><mi mathvariant="normal">s</mi><mi>o</mi><mi mathvariant="normal">l</mi><mi>u</mi><mi>t</mi><mi mathvariant="normal">i</mi><mi>o</mi><mi>n</mi></mstyle></math>]]></text>
      <feedback format="html">
        <text><![CDATA[<p><span style="color: #008000; font-size: medium;"><strong>Super !</strong></span></p>]]></text>
      </feedback>
    </answer>
    <answer fraction="50" format="moodle_auto_format">
      <text><![CDATA[<math xmlns="http://www.w3.org/1998/Math/MathML"><mo>#</mo><mi mathvariant="normal">s</mi><mi>o</mi><mi mathvariant="normal">l</mi><mi>u</mi><mi>t</mi><mi mathvariant="normal">i</mi><mi>o</mi><mi>n</mi></math>]]></text>
      <feedback format="html">
        <text><![CDATA[<p><span style="font-size: medium;"><strong><span style="color: #008000;">Résultat correct, mais non simplifié !!!</span></strong></span></p>]]></text>
      </feedback>
    </answer>
    <wirisquestion>
&lt;question&gt;&lt;wirisCasSession&gt;&lt;![CDATA[&lt;session lang="fr" version="2.0"&gt;&lt;library closed="false"&gt;&lt;mtext style="color:#ffc800" xml:lang="fr"&gt;variables&lt;/mtext&gt;&lt;group&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;b&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;aléa&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;10&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;d&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;aléa&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;5&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;b&lt;/mi&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"/&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;repeat&lt;/csymbol&gt;&lt;mtable&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;alea&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;7&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;p&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mfrac&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mi&gt;b&lt;/mi&gt;&lt;/mfrac&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;mrow&gt;&lt;mi&gt;p&lt;/mi&gt;&lt;mo&gt;∉&lt;/mo&gt;&lt;integers/&gt;&lt;/mrow&gt;&lt;/apply&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;repeat&lt;/csymbol&gt;&lt;mtable&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;c&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;aléa&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;27&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;q&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mfrac&gt;&lt;mi&gt;c&lt;/mi&gt;&lt;mi&gt;d&lt;/mi&gt;&lt;/mfrac&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;mrow&gt;&lt;mi&gt;pgcd&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;c&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mi&gt;d&lt;/mi&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/mrow&gt;&lt;/apply&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"/&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;solution&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;p&lt;/mi&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mi&gt;q&lt;/mi&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;/group&gt;&lt;/library&gt;&lt;/session&gt;]]&gt;&lt;/wirisCasSession&gt;&lt;correctAnswers&gt;&lt;correctAnswer type="mathml"&gt;&lt;![CDATA[&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mstyle displaystyle="false"&gt;&lt;mo&gt;#&lt;/mo&gt;&lt;mi mathvariant="normal"&gt;s&lt;/mi&gt;&lt;mi&gt;o&lt;/mi&gt;&lt;mi mathvariant="normal"&gt;l&lt;/mi&gt;&lt;mi&gt;u&lt;/mi&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;mi mathvariant="normal"&gt;i&lt;/mi&gt;&lt;mi&gt;o&lt;/mi&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/mstyle&gt;&lt;/math&gt;]]&gt;&lt;/correctAnswer&gt;&lt;correctAnswer id="1" type="mathml"&gt;&lt;![CDATA[&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mo&gt;#&lt;/mo&gt;&lt;mi mathvariant="normal"&gt;s&lt;/mi&gt;&lt;mi&gt;o&lt;/mi&gt;&lt;mi mathvariant="normal"&gt;l&lt;/mi&gt;&lt;mi&gt;u&lt;/mi&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;mi mathvariant="normal"&gt;i&lt;/mi&gt;&lt;mi&gt;o&lt;/mi&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/math&gt;]]&gt;&lt;/correctAnswer&gt;&lt;correctAnswer id="2"&gt;&lt;/correctAnswer&gt;&lt;correctAnswer id="3"&gt;&lt;/correctAnswer&gt;&lt;/correctAnswers&gt;&lt;assertions&gt;&lt;assertion name="check_simplified"/&gt;&lt;assertion name="syntax_quantity"&gt;&lt;param name="units"&gt;&lt;![CDATA[m, s, g, sr, E, K, mol, cd, rad, h, min, l, N, Pa, Hz, W, J, C, V, Ω, F, S, Wb, b, H, T, lx, lm, Gy, Bq, Sv, kat]]&gt;&lt;/param&gt;&lt;param name="unitprefixes"&gt;M, k, c, m, y, z, a, f, p, n, µ, d, da, h, G, T, P, E, Z, Y&lt;/param&gt;&lt;param name="groupoperators"&gt;(,[,{&lt;/param&gt;&lt;/assertion&gt;&lt;assertion name="equivalent_symbolic"/&gt;&lt;assertion name="syntax_expression" correctAnswer="1"/&gt;&lt;assertion name="equivalent_symbolic" correctAnswer="1"/&gt;&lt;/assertions&gt;&lt;options&gt;&lt;option name="tolerance"&gt;10^(-4)&lt;/option&gt;&lt;option name="relative_tolerance"&gt;false&lt;/option&gt;&lt;option name="precision"&gt;4&lt;/option&gt;&lt;option name="implicit_times_operator"&gt;true&lt;/option&gt;&lt;option name="times_operator"&gt;×&lt;/option&gt;&lt;option name="imaginary_unit"&gt;i&lt;/option&gt;&lt;/options&gt;&lt;localData&gt;&lt;data name="inputField"&gt;popupEditor&lt;/data&gt;&lt;data name="gradeCompound"&gt;and&lt;/data&gt;&lt;data name="gradeCompoundDistribution"&gt;&lt;/data&gt;&lt;data name="casSession"&gt;&lt;/data&gt;&lt;/localData&gt;&lt;/question&gt;    </wirisquestion>
  </question>
 
 <!-- resourceid-resourcedataid: 12190-10297 -->
 <question type="shortanswerwiris">
    <name>
      <text>a/b + c/b</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p><span style="font-size: medium;"><strong><span style="color: #ff00ff;">Calcule  #p + #q en donnant donne le résultat sous la forme la plus simplifiée possible.</span></strong></span></p>
<p><span style="font-size: medium; color: #0000ff;"><strong>Tape le résultat sous la forme d'une fraction : (par exemple : «math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mfrac»«mn»2«/mn»«mn»3«/mn»«/mfrac»«/math» s'écrira <span style="color: #ff0000;">2/3</span></strong></span><span style="font-size: medium;"><strong><span style="color: #ff0000;">)</span></strong></span><span style="font-size: medium;"><strong>.</strong></span></p>
<p> </p>
<p> </p>
<p> </p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>1.0000000</penalty>
    <hidden>0</hidden>
    <usecase>0</usecase>
    <answer fraction="100" format="moodle_auto_format">
      <text><![CDATA[<math xmlns="http://www.w3.org/1998/Math/MathML"><mstyle displaystyle="false"><mo>#</mo><mi mathvariant="normal">s</mi><mi>o</mi><mi mathvariant="normal">l</mi><mi>u</mi><mi>t</mi><mi mathvariant="normal">i</mi><mi>o</mi><mi>n</mi></mstyle></math>]]></text>
      <feedback format="html">
        <text><![CDATA[<p><span style="color: #008000; font-size: medium;"><strong>Super !</strong></span></p>]]></text>
      </feedback>
    </answer>
    <answer fraction="50" format="moodle_auto_format">
      <text><![CDATA[<math xmlns="http://www.w3.org/1998/Math/MathML"><mo>#</mo><mi mathvariant="normal">s</mi><mi>o</mi><mi mathvariant="normal">l</mi><mi>u</mi><mi>t</mi><mi mathvariant="normal">i</mi><mi>o</mi><mi>n</mi></math>]]></text>
      <feedback format="html">
        <text><![CDATA[<p><span style="font-size: medium;"><strong><span style="color: #008000;">Résultat correct, mais non simplifié !!!</span></strong></span></p>]]></text>
      </feedback>
    </answer>
    <wirisquestion>
&lt;question&gt;&lt;wirisCasSession&gt;&lt;![CDATA[&lt;session lang="fr" version="2.0"&gt;&lt;library closed="false"&gt;&lt;mtext style="color:#ffc800" xml:lang="fr"&gt;variables&lt;/mtext&gt;&lt;group&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;b&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;aléa&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;23&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"/&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;repeat&lt;/csymbol&gt;&lt;mtable&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;alea&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;25&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;p&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mfrac&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mi&gt;b&lt;/mi&gt;&lt;/mfrac&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;mrow&gt;&lt;mi&gt;p&lt;/mi&gt;&lt;mo&gt;∉&lt;/mo&gt;&lt;integers/&gt;&lt;/mrow&gt;&lt;/apply&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;repeat&lt;/csymbol&gt;&lt;mtable&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;c&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;aléa&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;15&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;q&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mfrac&gt;&lt;mi&gt;c&lt;/mi&gt;&lt;mi&gt;b&lt;/mi&gt;&lt;/mfrac&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;mrow&gt;&lt;mi&gt;q&lt;/mi&gt;&lt;mo&gt;∉&lt;/mo&gt;&lt;integers/&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;/mrow&gt;&lt;/apply&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"/&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;solution&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;p&lt;/mi&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mi&gt;q&lt;/mi&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;/group&gt;&lt;/library&gt;&lt;/session&gt;]]&gt;&lt;/wirisCasSession&gt;&lt;correctAnswers&gt;&lt;correctAnswer type="mathml"&gt;&lt;![CDATA[&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mstyle displaystyle="false"&gt;&lt;mo&gt;#&lt;/mo&gt;&lt;mi mathvariant="normal"&gt;s&lt;/mi&gt;&lt;mi&gt;o&lt;/mi&gt;&lt;mi mathvariant="normal"&gt;l&lt;/mi&gt;&lt;mi&gt;u&lt;/mi&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;mi mathvariant="normal"&gt;i&lt;/mi&gt;&lt;mi&gt;o&lt;/mi&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/mstyle&gt;&lt;/math&gt;]]&gt;&lt;/correctAnswer&gt;&lt;correctAnswer id="1" type="mathml"&gt;&lt;![CDATA[&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mo&gt;#&lt;/mo&gt;&lt;mi mathvariant="normal"&gt;s&lt;/mi&gt;&lt;mi&gt;o&lt;/mi&gt;&lt;mi mathvariant="normal"&gt;l&lt;/mi&gt;&lt;mi&gt;u&lt;/mi&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;mi mathvariant="normal"&gt;i&lt;/mi&gt;&lt;mi&gt;o&lt;/mi&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/math&gt;]]&gt;&lt;/correctAnswer&gt;&lt;correctAnswer id="2"&gt;&lt;/correctAnswer&gt;&lt;correctAnswer id="3"&gt;&lt;/correctAnswer&gt;&lt;/correctAnswers&gt;&lt;assertions&gt;&lt;assertion name="check_simplified"/&gt;&lt;assertion name="syntax_quantity"&gt;&lt;param name="units"&gt;&lt;![CDATA[m, s, g, sr, E, K, mol, cd, rad, h, min, l, N, Pa, Hz, W, J, C, V, Ω, F, S, Wb, b, H, T, lx, lm, Gy, Bq, Sv, kat]]&gt;&lt;/param&gt;&lt;param name="unitprefixes"&gt;M, k, c, m, y, z, a, f, p, n, µ, d, da, h, G, T, P, E, Z, Y&lt;/param&gt;&lt;param name="groupoperators"&gt;(,[,{&lt;/param&gt;&lt;/assertion&gt;&lt;assertion name="equivalent_symbolic"/&gt;&lt;assertion name="syntax_expression" correctAnswer="1"/&gt;&lt;assertion name="equivalent_symbolic" correctAnswer="1"/&gt;&lt;/assertions&gt;&lt;options&gt;&lt;option name="tolerance"&gt;10^(-4)&lt;/option&gt;&lt;option name="relative_tolerance"&gt;false&lt;/option&gt;&lt;option name="precision"&gt;4&lt;/option&gt;&lt;option name="implicit_times_operator"&gt;false&lt;/option&gt;&lt;option name="times_operator"&gt;×&lt;/option&gt;&lt;option name="imaginary_unit"&gt;i&lt;/option&gt;&lt;/options&gt;&lt;localData&gt;&lt;data name="inputField"&gt;popupEditor&lt;/data&gt;&lt;data name="gradeCompound"&gt;and&lt;/data&gt;&lt;data name="gradeCompoundDistribution"&gt;&lt;/data&gt;&lt;data name="casSession"/&gt;&lt;/localData&gt;&lt;/question&gt;    </wirisquestion>
  </question>
 
 <!-- resourceid-resourcedataid: 12192-10299 -->
 <question type="shortanswerwiris">
    <name>
      <text>c/(db) - a/b</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p><span style="font-size: medium; color: #ff00ff;" data-mce-mark="1"><strong><span style="font-size: medium;" data-mce-mark="1">Calcule  #q </span></strong><span style="font-size: medium;" data-mce-mark="1"><span style="color: #000000;">-</span></span><strong><span style="font-size: medium;" data-mce-mark="1"> <strong><span style="font-size: medium;" data-mce-mark="1">#p </span></strong>en donnant donne le résultat sous la forme la plus simplifiée possible.</span></strong></span></p>
<p><span style="font-size: medium; color: #0000ff;" data-mce-mark="1"><strong>Tape le résultat sous la forme d'une fraction : (par exemple : «math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mfrac»«mn»2«/mn»«mn»3«/mn»«/mfrac»«/math» s'écrira <span style="color: #ff0000;" data-mce-mark="1">2/3</span></strong></span><span style="font-size: medium;" data-mce-mark="1"><strong><span style="color: #ff0000;" data-mce-mark="1">)</span></strong></span><span style="font-size: medium;" data-mce-mark="1"><strong>.</strong></span></p>
<p> </p>
<p> </p>
<p> </p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>1.0000000</penalty>
    <hidden>0</hidden>
    <usecase>0</usecase>
    <answer fraction="100" format="moodle_auto_format">
      <text><![CDATA[<math xmlns="http://www.w3.org/1998/Math/MathML"><mstyle displaystyle="false"><mo>#</mo><mi mathvariant="normal">s</mi><mi>o</mi><mi mathvariant="normal">l</mi><mi>u</mi><mi>t</mi><mi mathvariant="normal">i</mi><mi>o</mi><mi>n</mi></mstyle></math>]]></text>
      <feedback format="html">
        <text><![CDATA[<p><span style="color: #008000; font-size: medium;"><strong>Super !</strong></span></p>]]></text>
      </feedback>
    </answer>
    <answer fraction="50" format="moodle_auto_format">
      <text><![CDATA[<math xmlns="http://www.w3.org/1998/Math/MathML"><mo>#</mo><mi>s</mi><mi>o</mi><mi>l</mi><mi>u</mi><mi>t</mi><mi mathvariant="normal">i</mi><mi>o</mi><mi>n</mi></math>]]></text>
      <feedback format="html">
        <text><![CDATA[<p><span style="font-size: medium;"><strong><span style="color: #008000;">Résultat correct, mais non simplifié !!!</span></strong></span></p>]]></text>
      </feedback>
    </answer>
    <wirisquestion>
&lt;question&gt;&lt;wirisCasSession&gt;&lt;![CDATA[&lt;session lang="fr" version="2.0"&gt;&lt;library closed="false"&gt;&lt;mtext style="color:#ffc800" xml:lang="fr"&gt;variables&lt;/mtext&gt;&lt;group&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;b&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;aléa&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;10&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;d&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;aléa&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;5&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;b&lt;/mi&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"/&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;repeat&lt;/csymbol&gt;&lt;mtable&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;alea&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;7&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;p&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mfrac&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mi&gt;b&lt;/mi&gt;&lt;/mfrac&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;mrow&gt;&lt;mi&gt;p&lt;/mi&gt;&lt;mo&gt;∉&lt;/mo&gt;&lt;integers/&gt;&lt;/mrow&gt;&lt;/apply&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;repeat&lt;/csymbol&gt;&lt;mtable&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;c&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;aléa&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;25&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;q&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mfrac&gt;&lt;mi&gt;c&lt;/mi&gt;&lt;mi&gt;d&lt;/mi&gt;&lt;/mfrac&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;mrow&gt;&lt;mi&gt;pgcd&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;c&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mi&gt;d&lt;/mi&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/mrow&gt;&lt;/apply&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"/&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;solution&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;q&lt;/mi&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mi&gt;p&lt;/mi&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;/group&gt;&lt;/library&gt;&lt;/session&gt;]]&gt;&lt;/wirisCasSession&gt;&lt;correctAnswers&gt;&lt;correctAnswer type="mathml"&gt;&lt;![CDATA[&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mstyle displaystyle="false"&gt;&lt;mo&gt;#&lt;/mo&gt;&lt;mi mathvariant="normal"&gt;s&lt;/mi&gt;&lt;mi&gt;o&lt;/mi&gt;&lt;mi mathvariant="normal"&gt;l&lt;/mi&gt;&lt;mi&gt;u&lt;/mi&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;mi mathvariant="normal"&gt;i&lt;/mi&gt;&lt;mi&gt;o&lt;/mi&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/mstyle&gt;&lt;/math&gt;]]&gt;&lt;/correctAnswer&gt;&lt;correctAnswer id="1" type="mathml"&gt;&lt;![CDATA[&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mo&gt;#&lt;/mo&gt;&lt;mi&gt;s&lt;/mi&gt;&lt;mi&gt;o&lt;/mi&gt;&lt;mi&gt;l&lt;/mi&gt;&lt;mi&gt;u&lt;/mi&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;mi mathvariant="normal"&gt;i&lt;/mi&gt;&lt;mi&gt;o&lt;/mi&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/math&gt;]]&gt;&lt;/correctAnswer&gt;&lt;correctAnswer id="2"&gt;&lt;/correctAnswer&gt;&lt;correctAnswer id="3"&gt;&lt;/correctAnswer&gt;&lt;/correctAnswers&gt;&lt;assertions&gt;&lt;assertion name="check_simplified"/&gt;&lt;assertion name="syntax_expression" correctAnswer="1"/&gt;&lt;assertion name="equivalent_symbolic" correctAnswer="1"/&gt;&lt;assertion name="syntax_quantity"&gt;&lt;param name="units"&gt;&lt;![CDATA[m, s, g, sr, E, K, mol, cd, rad, h, min, l, N, Pa, Hz, W, J, C, V, Ω, F, S, Wb, b, H, T, lx, lm, Gy, Bq, Sv, kat]]&gt;&lt;/param&gt;&lt;param name="unitprefixes"&gt;M, k, c, m, y, z, a, f, p, n, µ, d, da, h, G, T, P, E, Z, Y&lt;/param&gt;&lt;param name="groupoperators"&gt;(,[,{&lt;/param&gt;&lt;/assertion&gt;&lt;assertion name="equivalent_symbolic"/&gt;&lt;/assertions&gt;&lt;options&gt;&lt;option name="tolerance"&gt;10^(-4)&lt;/option&gt;&lt;option name="relative_tolerance"&gt;false&lt;/option&gt;&lt;option name="precision"&gt;4&lt;/option&gt;&lt;option name="implicit_times_operator"&gt;true&lt;/option&gt;&lt;option name="times_operator"&gt;×&lt;/option&gt;&lt;option name="imaginary_unit"&gt;i&lt;/option&gt;&lt;/options&gt;&lt;localData&gt;&lt;data name="inputField"&gt;popupEditor&lt;/data&gt;&lt;data name="gradeCompound"&gt;and&lt;/data&gt;&lt;data name="gradeCompoundDistribution"&gt;&lt;/data&gt;&lt;data name="casSession"&gt;&lt;/data&gt;&lt;/localData&gt;&lt;/question&gt;    </wirisquestion>
  </question>
 
 <!-- resourceid-resourcedataid: 12193-10300 -->
 <question type="multianswerwiris">
    <name>
      <text>cas_g1_aide</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p><span style="font-size: medium; color: #ff00ff;">On souhaite  calculer  : <strong><span style="color: #000000;">#p + #q </span></strong></span></p>
<ul>
<li><span style="font-size: medium; color: #ff00ff;"><span style="color: #0000ff;"><strong>Quel est le plus petit multiple commun de #d1 et #d2 ?</strong>  </span>  <span style="color: #000000;" data-mce-mark="1">{#1}</span></span></li>
</ul>
<p style="margin-left: 30px;"><span style="font-size: medium; color: #ff00ff;"><span style="color: #0000ff;">En effet ce nombre</span> <span style="color: #000080;"><span style="line-height: 12.791666984558105px;" data-mce-mark="1">{#2}</span><span style="line-height: 1.231;" data-mce-mark="1"> = <span data-mce-mark="1">{#3}</span></span><span style="line-height: 1.231;" data-mce-mark="1"> x #d1 = {#4} x #d2</span></span></span></p>
<ul>
<li><strong><span style="font-size: medium; color: #0000ff;">Réduisons ces écritures fractionnaires au même dénominateur : </span></strong></li>
</ul>
<p style="margin-left: 60px;"><strong><span style="color: #000000;"> #p + #q  </span></strong></p>
<p style="margin-left: 60px;"><span style="font-size: medium; color: #000000;">= {#5} / <span data-mce-mark="1">{#6}</span><span data-mce-mark="1">  + {#7} / <span data-mce-mark="1">{#8}    <span style="font-size: medium; color: #ff00ff;"><strong><span style="color: #0000ff; font-size: x-small;"> (Ne taper que des nombres dans chacune des cases !)</span></strong></span><br /></span></span></span></p>
<p style="margin-left: 60px;"><span style="font-size: medium; color: #000000;"><span data-mce-mark="1"><span data-mce-mark="1">= {#9} / <span data-mce-mark="1">{#10}</span><span data-mce-mark="1"> </span></span></span></span></p>
<p style="margin-left: 60px;"><span style="font-size: medium; color: #ff00ff;"><span style="color: #000000;">= {#11} / {#12}</span> <strong><span style="color: #0000ff; font-size: x-small;"> (Ecriture simplifiée ou éventuellement la même expression qu'au dessus)</span></strong></span></p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>12.0000000</defaultgrade>
    <penalty>1.0000000</penalty>
    <hidden>0</hidden>
    <wirissubquestions>
        <wirissubquestion>
            <![CDATA[{:SA:=\#m}]]>
        </wirissubquestion>
        <wirissubquestion>
            <![CDATA[{:SA:=\#m}]]>
        </wirissubquestion>
        <wirissubquestion>
            <![CDATA[{:SA:=\#f1}]]>
        </wirissubquestion>
        <wirissubquestion>
            <![CDATA[{:SA:=\#f2}]]>
        </wirissubquestion>
        <wirissubquestion>
            <![CDATA[{:SA:=\#n3}]]>
        </wirissubquestion>
        <wirissubquestion>
            <![CDATA[{:SA:=\#m}]]>
        </wirissubquestion>
        <wirissubquestion>
            <![CDATA[{:SA:=\#n4}]]>
        </wirissubquestion>
        <wirissubquestion>
            <![CDATA[{:SA:=\#m}]]>
        </wirissubquestion>
        <wirissubquestion>
            <![CDATA[{:SA:=\#n5}]]>
        </wirissubquestion>
        <wirissubquestion>
            <![CDATA[{:SA:=\#m}]]>
        </wirissubquestion>
        <wirissubquestion>
            <![CDATA[{:SA:=\#n6}]]>
        </wirissubquestion>
        <wirissubquestion>
            <![CDATA[{:SA:=\#d6}]]>
        </wirissubquestion>
    </wirissubquestions>
    <wirisquestion>
&lt;question&gt;&lt;wirisCasSession&gt;&lt;![CDATA[&lt;session lang="fr" version="2.0"&gt;&lt;library closed="false"&gt;&lt;mtext style="color:#ffc800" xml:lang="fr"&gt;variables&lt;/mtext&gt;&lt;group&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"/&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;com&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;aléa&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;5&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;repeat&lt;/csymbol&gt;&lt;mtable&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;f&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;aléa&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;9&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;b&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;aléa&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;3&lt;/mn&gt;&lt;mo&gt;,&lt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;d2&lt;/mi&gt;&lt;/mrow&gt;&lt;/apply&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"/&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;repeat&lt;/csymbol&gt;&lt;mtable&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;n1&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;alea&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;7&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;p&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mfrac&gt;&lt;mi&gt;n1&lt;/mi&gt;&lt;mi&gt;d1&lt;/mi&gt;&lt;/mfrac&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;mrow&gt;&lt;mi&gt;pgcd&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;n1&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mi&gt;d1&lt;/mi&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/mrow&gt;&lt;/apply&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;repeat&lt;/csymbol&gt;&lt;mtable&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;n2&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;aléa&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;15&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;q&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mfrac&gt;&lt;mi&gt;n2&lt;/mi&gt;&lt;mi&gt;d2&lt;/mi&gt;&lt;/mfrac&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;mrow&gt;&lt;mi&gt;pgcd&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;n2&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mi&gt;d2&lt;/mi&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/mrow&gt;&lt;/apply&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"/&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;solution&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;p&lt;/mi&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mi&gt;q&lt;/mi&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;m&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;ppcm&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;d1&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mi&gt;d2&lt;/mi&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;f1&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;m&lt;/mi&gt;&lt;mo&gt;/&lt;/mo&gt;&lt;mi&gt;d1&lt;/mi&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;f2&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;m&lt;/mi&gt;&lt;mo&gt;/&lt;/mo&gt;&lt;mi&gt;d2&lt;/mi&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;n3&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;f1&lt;/mi&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;n1&lt;/mi&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;n4&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;f2&lt;/mi&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;n2&lt;/mi&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;n5&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;n3&lt;/mi&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mi&gt;n4&lt;/mi&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;n6&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;numerateur&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;solution&lt;/mi&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;d6&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;denominateur&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;solution&lt;/mi&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;/group&gt;&lt;/library&gt;&lt;/session&gt;]]&gt;&lt;/wirisCasSession&gt;&lt;correctAnswers&gt;&lt;correctAnswer&gt;&lt;/correctAnswer&gt;&lt;/correctAnswers&gt;&lt;options&gt;&lt;option name="precision"&gt;4&lt;/option&gt;&lt;option name="implicit_times_operator"&gt;false&lt;/option&gt;&lt;option name="times_operator"&gt;·&lt;/option&gt;&lt;option name="imaginary_unit"&gt;i&lt;/option&gt;&lt;/options&gt;&lt;localData&gt;&lt;data name="casSession"&gt;&lt;/data&gt;&lt;/localData&gt;&lt;/question&gt;    </wirisquestion>
  </question>
 
 <!-- resourceid-resourcedataid: 12194-10301 -->
 <question type="shortanswerwiris">
    <name>
      <text>cas_g1_s_aide</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p><span style="font-size: medium; color: #ff00ff;"><strong>Calculer</strong>  : <strong><span style="color: #000000;">#p + #q  <span style="color: #ff00ff;">en donnant le résultat sous forme simplifiée (au maximum).</span><br /></span></strong></span></p>
<p><span style="font-size: medium; color: #008000;"><strong>Aucune étape intermédiaire n'est demandée.</strong></span></p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>2.0000000</defaultgrade>
    <penalty>1.0000000</penalty>
    <hidden>0</hidden>
    <usecase>0</usecase>
    <answer fraction="100" format="moodle_auto_format">
      <text><![CDATA[<math xmlns="http://www.w3.org/1998/Math/MathML"><mo>#</mo><mi>s</mi><mi>o</mi><mi>l</mi><mi>u</mi><mi>t</mi><mi mathvariant="normal">i</mi><mi>o</mi><mi>n</mi></math>]]></text>
      <feedback format="html">
        <text><![CDATA[<p><span style="font-size: medium;"><strong><span style="color: #008000;">Super !!!</span></strong></span></p>]]></text>
      </feedback>
    </answer>
    <answer fraction="50" format="moodle_auto_format">
      <text><![CDATA[<math xmlns="http://www.w3.org/1998/Math/MathML"><mo>#</mo><mi>s</mi><mi>o</mi><mi>l</mi><mi>u</mi><mi>t</mi><mi mathvariant="normal">i</mi><mi>o</mi><mi>n</mi></math>]]></text>
      <feedback format="html">
        <text><![CDATA[<p><strong><span style="color: #008000; font-size: medium;">Réponse correcte mais non simplifiée !!!</span></strong></p>]]></text>
      </feedback>
    </answer>
    <wirisquestion>
&lt;question&gt;&lt;wirisCasSession&gt;&lt;![CDATA[&lt;session lang="fr" version="2.0"&gt;&lt;library closed="false"&gt;&lt;mtext style="color:#ffc800" xml:lang="fr"&gt;variables&lt;/mtext&gt;&lt;group&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"/&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;com&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;aléa&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;mo&gt;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mo&gt;(&lt;/mo&gt;&lt;mi&gt;d1&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mi&gt;d2&lt;/mi&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;&amp;lt;&lt;/mo&gt;&lt;mn&gt;151&lt;/mn&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mo&gt;&amp;amp;&lt;/mo&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;d2&lt;/mi&gt;&lt;mo&gt;&amp;lt;&lt;/mo&gt;&lt;mi&gt;d1&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mo&gt;&amp;amp;&lt;/mo&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;pgcd&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;d1&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mi&gt;d2&lt;/mi&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;&amp;lt;&lt;/mo&gt;&lt;mi&gt;d2&lt;/mi&gt;&lt;/mrow&gt;&lt;/apply&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"/&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;repeat&lt;/csymbol&gt;&lt;mtable&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;n1&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;alea&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;7&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&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able&gt;&lt;mrow&gt;&lt;mi&gt;pgcd&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;n2&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mi&gt;d2&lt;/mi&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/mrow&gt;&lt;/apply&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"/&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;solution&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;p&lt;/mi&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mi&gt;q&lt;/mi&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;/group&gt;&lt;/library&gt;&lt;/session&gt;]]&gt;&lt;/wirisCasSession&gt;&lt;correctAnswers&gt;&lt;correctAnswer type="mathml"&gt;&lt;![CDATA[&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mo&gt;#&lt;/mo&gt;&lt;mi&gt;s&lt;/mi&gt;&lt;mi&gt;o&lt;/mi&gt;&lt;mi&gt;l&lt;/mi&gt;&lt;mi&gt;u&lt;/mi&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;mi mathvariant="normal"&gt;i&lt;/mi&gt;&lt;mi&gt;o&lt;/mi&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/math&gt;]]&gt;&lt;/correctAnswer&gt;&lt;correctAnswer id="1" type="mathml"&gt;&lt;![CDATA[&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mo&gt;#&lt;/mo&gt;&lt;mi&gt;s&lt;/mi&gt;&lt;mi&gt;o&lt;/mi&gt;&lt;mi&gt;l&lt;/mi&gt;&lt;mi&gt;u&lt;/mi&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;mi mathvariant="normal"&gt;i&lt;/mi&gt;&lt;mi&gt;o&lt;/mi&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/math&gt;]]&gt;&lt;/correctAnswer&gt;&lt;correctAnswer id="2"&gt;&lt;/correctAnswer&gt;&lt;/correctAnswers&gt;&lt;assertions&gt;&lt;assertion name="check_simplified"/&gt;&lt;assertion name="syntax_expression" correctAnswer="1"/&gt;&lt;assertion name="equivalent_symbolic" correctAnswer="1"/&gt;&lt;assertion name="syntax_expression"/&gt;&lt;assertion name="equivalent_symbolic"/&gt;&lt;/assertions&gt;&lt;options&gt;&lt;option name="tolerance"&gt;10^(-4)&lt;/option&gt;&lt;option name="relative_tolerance"&gt;false&lt;/option&gt;&lt;option name="precision"&gt;4&lt;/option&gt;&lt;option name="implicit_times_operator"&gt;false&lt;/option&gt;&lt;option name="times_operator"&gt;·&lt;/option&gt;&lt;option name="imaginary_unit"&gt;i&lt;/option&gt;&lt;/options&gt;&lt;localData&gt;&lt;data name="inputField"&gt;popupEditor&lt;/data&gt;&lt;data name="gradeCompound"&gt;and&lt;/data&gt;&lt;data name="gradeCompoundDistribution"&gt;&lt;/data&gt;&lt;data name="casSession"&gt;&lt;/data&gt;&lt;/localData&gt;&lt;/question&gt;    </wirisquestion>
  </question>
 
 <!-- resourceid-resourcedataid: 12195-10302 -->
 <question type="multianswerwiris">
    <name>
      <text>cas_g2_aide</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p><span style="font-size: medium; color: #ff00ff;">On souhaite  calculer  : <strong><span style="color: #000000;">#p - #q </span></strong></span></p>
<ul>
<li><span style="font-size: medium; color: #ff00ff;"><span style="color: #0000ff;"><strong>Quel est le plus petit multiple commun de #d1 et #d2 ?</strong>  </span>  <span style="color: #000000;" data-mce-mark="1">{#1}</span></span></li>
</ul>
<p style="margin-left: 30px;"><span style="font-size: medium; color: #ff00ff;"><span style="color: #0000ff;">En effet ce nombre</span> <span style="color: #000080;"><span style="line-height: 12.791666984558105px;" data-mce-mark="1">{#2}</span><span style="line-height: 1.231;" data-mce-mark="1"> = <span data-mce-mark="1">{#3}</span></span><span style="line-height: 1.231;" data-mce-mark="1"> x #d1 = {#4} x #d2</span></span></span></p>
<ul>
<li><strong><span style="font-size: medium; color: #0000ff;">Réduisons ces écritures fractionnaires au même dénominateur : </span></strong></li>
</ul>
<p style="margin-left: 60px;"><strong><span style="color: #000000;"> #p - #q  </span></strong></p>
<p style="margin-left: 60px;"><span style="font-size: medium; color: #000000;">= {#5} / <span data-mce-mark="1">{#6}</span><span data-mce-mark="1">  - {#7} / <span data-mce-mark="1">{#8}  <span style="font-size: medium; color: #000000;"><span data-mce-mark="1"><span data-mce-mark="1">   <span style="font-size: medium; color: #ff00ff;"><strong><span style="color: #0000ff; font-size: x-small;"> (Ne taper que des nombres dans chacune des cases !)</span></strong></span></span></span></span><br /></span></span></span></p>
<p style="margin-left: 60px;"><span style="font-size: medium; color: #000000;"><span data-mce-mark="1"><span data-mce-mark="1">= {#9} / <span data-mce-mark="1">{#10}</span><span data-mce-mark="1"> </span></span></span></span></p>
<p style="margin-left: 60px;"><span style="font-size: medium; color: #ff00ff;"><span style="color: #000000;">= {#11} / {#12}</span> <strong><span style="color: #0000ff; font-size: x-small;"> (Ecriture simplifiée ou éventuellement la même expression qu'au dessus)</span></strong></span></p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>12.0000000</defaultgrade>
    <penalty>1.0000000</penalty>
    <hidden>0</hidden>
    <wirissubquestions>
        <wirissubquestion>
            <![CDATA[{:SA:=\#m}]]>
        </wirissubquestion>
        <wirissubquestion>
            <![CDATA[{:SA:=\#m}]]>
        </wirissubquestion>
        <wirissubquestion>
            <![CDATA[{:SA:=\#f1}]]>
        </wirissubquestion>
        <wirissubquestion>
            <![CDATA[{:SA:=\#f2}]]>
        </wirissubquestion>
        <wirissubquestion>
            <![CDATA[{:SA:=\#n3}]]>
        </wirissubquestion>
        <wirissubquestion>
            <![CDATA[{:SA:=\#m}]]>
        </wirissubquestion>
        <wirissubquestion>
            <![CDATA[{:SA:=\#n4}]]>
        </wirissubquestion>
        <wirissubquestion>
            <![CDATA[{:SA:=\#m}]]>
        </wirissubquestion>
        <wirissubquestion>
            <![CDATA[{:SA:=\#n5}]]>
        </wirissubquestion>
        <wirissubquestion>
            <![CDATA[{:SA:=\#m}]]>
        </wirissubquestion>
        <wirissubquestion>
            <![CDATA[{:SA:=\#n6}]]>
        </wirissubquestion>
        <wirissubquestion>
            <![CDATA[{:SA:=\#d6}]]>
        </wirissubquestion>
    </wirissubquestions>
    <wirisquestion>
&lt;question&gt;&lt;wirisCasSession&gt;&lt;![CDATA[&lt;session lang="fr" version="2.0"&gt;&lt;library closed="false"&gt;&lt;mtext style="color:#ffc800" xml:lang="fr"&gt;variables&lt;/mtext&gt;&lt;group&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"/&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;com&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;aléa&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;5&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;repeat&lt;/csymbol&gt;&lt;mtable&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;f&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi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;lt;&lt;/mo&gt;&lt;mi&gt;d1&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mo&gt;&amp;amp;&lt;/mo&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;pgcd&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;d1&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mi&gt;d2&lt;/mi&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;&amp;lt;&lt;/mo&gt;&lt;mi&gt;d2&lt;/mi&gt;&lt;/mrow&gt;&lt;/apply&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"/&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;repeat&lt;/csymbol&gt;&lt;mtable&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;n1&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;alea&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;7&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;p&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mfrac&gt;&lt;mi&gt;n1&lt;/mi&gt;&lt;mi&gt;d1&lt;/mi&gt;&lt;/mfrac&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;mrow&gt;&lt;mi&gt;pgcd&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;n1&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mi&gt;d1&lt;/mi&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/mrow&gt;&lt;/apply&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;repeat&lt;/csymbol&gt;&lt;mtable&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;n2&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;aléa&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;15&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;q&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mfrac&gt;&lt;mi&gt;n2&lt;/mi&gt;&lt;mi&gt;d2&lt;/mi&gt;&lt;/mfrac&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;mrow&gt;&lt;mi&gt;pgcd&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;n2&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mi&gt;d2&lt;/mi&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/mrow&gt;&lt;/apply&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"/&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;solution&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;p&lt;/mi&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mi&gt;q&lt;/mi&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;m&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;ppcm&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;d1&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mi&gt;d2&lt;/mi&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;f1&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;m&lt;/mi&gt;&lt;mo&gt;/&lt;/mo&gt;&lt;mi&gt;d1&lt;/mi&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;f2&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;m&lt;/mi&gt;&lt;mo&gt;/&lt;/mo&gt;&lt;mi&gt;d2&lt;/mi&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;n3&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;f1&lt;/mi&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;n1&lt;/mi&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;n4&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;f2&lt;/mi&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;n2&lt;/mi&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;n5&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;n3&lt;/mi&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mi&gt;n4&lt;/mi&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;n6&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;numerateur&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;solution&lt;/mi&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;d6&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;denominateur&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;solution&lt;/mi&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;/group&gt;&lt;/library&gt;&lt;/session&gt;]]&gt;&lt;/wirisCasSession&gt;&lt;correctAnswers&gt;&lt;correctAnswer&gt;&lt;/correctAnswer&gt;&lt;/correctAnswers&gt;&lt;options&gt;&lt;option name="precision"&gt;4&lt;/option&gt;&lt;option name="implicit_times_operator"&gt;false&lt;/option&gt;&lt;option name="times_operator"&gt;·&lt;/option&gt;&lt;option name="imaginary_unit"&gt;i&lt;/option&gt;&lt;/options&gt;&lt;localData&gt;&lt;data name="casSession"&gt;&lt;/data&gt;&lt;/localData&gt;&lt;/question&gt;    </wirisquestion>
  </question>
 
 <!-- resourceid-resourcedataid: 12196-10303 -->
 <question type="shortanswerwiris">
    <name>
      <text>cas_g2_s_aide</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p><span style="font-size: medium; color: #ff00ff;"><strong>Calculer</strong>  : <strong><span style="color: #000000;">#p - #q  <span style="color: #ff00ff;">en donnant le résultat sous forme simplifiée (au maximum).</span><br /></span></strong></span></p>
<p><span style="font-size: medium; color: #008000;"><strong>Aucune étape intermédiaire n'est demandée.</strong></span></p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>2.0000000</defaultgrade>
    <penalty>1.0000000</penalty>
    <hidden>0</hidden>
    <usecase>0</usecase>
    <answer fraction="100" format="moodle_auto_format">
      <text><![CDATA[<math xmlns="http://www.w3.org/1998/Math/MathML"><mo>#</mo><mi>s</mi><mi>o</mi><mi>l</mi><mi>u</mi><mi>t</mi><mi mathvariant="normal">i</mi><mi>o</mi><mi>n</mi></math>]]></text>
      <feedback format="html">
        <text><![CDATA[<p><span style="font-size: medium;"><strong><span style="color: #008000;">Super !!!</span></strong></span></p>]]></text>
      </feedback>
    </answer>
    <answer fraction="50" format="moodle_auto_format">
      <text><![CDATA[<math xmlns="http://www.w3.org/1998/Math/MathML"><mo>#</mo><mi>s</mi><mi>o</mi><mi>l</mi><mi>u</mi><mi>t</mi><mi mathvariant="normal">i</mi><mi>o</mi><mi>n</mi></math>]]></text>
      <feedback format="html">
        <text><![CDATA[<p><strong><span style="color: #008000; font-size: medium;">Réponse correcte mais non simplifiée !!!</span></strong></p>]]></text>
      </feedback>
    </answer>
    <wirisquestion>
&lt;question&gt;&lt;wirisCasSession&gt;&lt;![CDATA[&lt;session lang="fr" version="2.0"&gt;&lt;library closed="false"&gt;&lt;mtext style="color:#ffc800" xml:lang="fr"&gt;variables&lt;/mtext&gt;&lt;group&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"/&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;com&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;aléa&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;5&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;repeat&lt;/csymbol&gt;&lt;mtable&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;f&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;aléa&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;9&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;b&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;aléa&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;3&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;10&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;d1&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt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;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;repeat&lt;/csymbol&gt;&lt;mtable&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;n1&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;alea&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;7&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;p&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mfrac&gt;&lt;mi&gt;n1&lt;/mi&gt;&lt;mi&gt;d1&lt;/mi&gt;&lt;/mfrac&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;mrow&gt;&lt;mi&gt;pgcd&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;n1&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mi&gt;d1&lt;/mi&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/mrow&gt;&lt;/apply&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;repeat&lt;/csymbol&gt;&lt;mtable&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;n2&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;aléa&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;15&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;q&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mfrac&gt;&lt;mi&gt;n2&lt;/mi&gt;&lt;mi&gt;d2&lt;/mi&gt;&lt;/mfrac&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;mrow&gt;&lt;mi&gt;pgcd&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;n2&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mi&gt;d2&lt;/mi&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/mrow&gt;&lt;/apply&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"/&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;solution&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;p&lt;/mi&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mi&gt;q&lt;/mi&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;/group&gt;&lt;/library&gt;&lt;/session&gt;]]&gt;&lt;/wirisCasSession&gt;&lt;correctAnswers&gt;&lt;correctAnswer type="mathml"&gt;&lt;![CDATA[&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mo&gt;#&lt;/mo&gt;&lt;mi&gt;s&lt;/mi&gt;&lt;mi&gt;o&lt;/mi&gt;&lt;mi&gt;l&lt;/mi&gt;&lt;mi&gt;u&lt;/mi&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;mi mathvariant="normal"&gt;i&lt;/mi&gt;&lt;mi&gt;o&lt;/mi&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/math&gt;]]&gt;&lt;/correctAnswer&gt;&lt;correctAnswer id="1" type="mathml"&gt;&lt;![CDATA[&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mo&gt;#&lt;/mo&gt;&lt;mi&gt;s&lt;/mi&gt;&lt;mi&gt;o&lt;/mi&gt;&lt;mi&gt;l&lt;/mi&gt;&lt;mi&gt;u&lt;/mi&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;mi mathvariant="normal"&gt;i&lt;/mi&gt;&lt;mi&gt;o&lt;/mi&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/math&gt;]]&gt;&lt;/correctAnswer&gt;&lt;correctAnswer id="2"&gt;&lt;/correctAnswer&gt;&lt;/correctAnswers&gt;&lt;assertions&gt;&lt;assertion name="check_simplified"/&gt;&lt;assertion name="syntax_expression" correctAnswer="1"/&gt;&lt;assertion name="equivalent_symbolic" correctAnswer="1"/&gt;&lt;assertion name="syntax_expression"/&gt;&lt;assertion name="equivalent_symbolic"/&gt;&lt;/assertions&gt;&lt;options&gt;&lt;option name="tolerance"&gt;10^(-4)&lt;/option&gt;&lt;option name="relative_tolerance"&gt;false&lt;/option&gt;&lt;option name="precision"&gt;4&lt;/option&gt;&lt;option name="implicit_times_operator"&gt;false&lt;/option&gt;&lt;option name="times_operator"&gt;·&lt;/option&gt;&lt;option name="imaginary_unit"&gt;i&lt;/option&gt;&lt;/options&gt;&lt;localData&gt;&lt;data name="inputField"&gt;popupEditor&lt;/data&gt;&lt;data name="gradeCompound"&gt;and&lt;/data&gt;&lt;data name="gradeCompoundDistribution"&gt;&lt;/data&gt;&lt;data name="casSession"&gt;&lt;/data&gt;&lt;/localData&gt;&lt;/question&gt;    </wirisquestion>
  </question>
 
 <!-- resourceid-resourcedataid: 12197-10304 -->
 <question type="multianswerwiris">
    <name>
      <text>cas_g3_aide</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p><span style="font-size: medium; color: #ff00ff;">On souhaite  calculer  : <strong><span style="color: #000000;">#p - #q </span></strong></span></p>
<ul>
<li><span style="font-size: medium; color: #ff00ff;"><span style="color: #0000ff;"><strong>Quel est le plus petit multiple commun de #d1 et #d2 ?</strong>  </span>  <span style="color: #000000;" data-mce-mark="1">{#1}</span></span></li>
</ul>
<p style="margin-left: 30px;"><span style="font-size: medium; color: #ff00ff;"><span style="color: #0000ff;">En effet ce nombre</span> <span style="color: #000080;"><span style="line-height: 12.791666984558105px;" data-mce-mark="1">{#2}</span><span style="line-height: 1.231;" data-mce-mark="1"> = <span data-mce-mark="1">{#3}</span></span><span style="line-height: 1.231;" data-mce-mark="1"> x #d1 = {#4} x #d2</span></span></span></p>
<ul>
<li><strong><span style="font-size: medium; color: #0000ff;">Réduisons ces écritures fractionnaires au même dénominateur : </span></strong></li>
</ul>
<p style="margin-left: 60px;"><strong><span style="color: #000000;"> #p - #q  </span></strong></p>
<p style="margin-left: 60px;"><span style="font-size: medium; color: #000000;">= {#5} / <span data-mce-mark="1">{#6}</span><span data-mce-mark="1">  - {#7} / <span data-mce-mark="1">{#8} <span style="font-size: medium; color: #000000;"><span data-mce-mark="1"><span data-mce-mark="1">   <span style="font-size: medium; color: #ff00ff;"><strong><span style="color: #0000ff; font-size: x-small;"> (Ne taper que des nombres dans chacune des cases !)</span></strong></span></span></span></span><br /></span></span></span></p>
<p style="margin-left: 60px;"><span style="font-size: medium; color: #000000;"><span data-mce-mark="1"><span data-mce-mark="1">= {#9} / <span data-mce-mark="1">{#10}</span><span data-mce-mark="1"> </span></span></span></span></p>
<p style="margin-left: 60px;"><span style="font-size: medium; color: #ff00ff;"><span style="color: #000000;">= {#11} / {#12}</span> <strong><span style="color: #0000ff; font-size: x-small;"> (Ecriture simplifiée ou éventuellement la même expression qu'au dessus)</span></strong></span></p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>12.0000000</defaultgrade>
    <penalty>1.0000000</penalty>
    <hidden>0</hidden>
    <wirissubquestions>
        <wirissubquestion>
            <![CDATA[{:SA:=\#m}]]>
        </wirissubquestion>
        <wirissubquestion>
            <![CDATA[{:SA:=\#m}]]>
        </wirissubquestion>
        <wirissubquestion>
            <![CDATA[{:SA:=\#f1}]]>
        </wirissubquestion>
        <wirissubquestion>
            <![CDATA[{:SA:=\#f2}]]>
        </wirissubquestion>
        <wirissubquestion>
            <![CDATA[{:SA:=\#n3}]]>
        </wirissubquestion>
        <wirissubquestion>
            <![CDATA[{:SA:=\#m}]]>
        </wirissubquestion>
        <wirissubquestion>
            <![CDATA[{:SA:=\#n4}]]>
        </wirissubquestion>
        <wirissubquestion>
            <![CDATA[{:SA:=\#m}]]>
        </wirissubquestion>
        <wirissubquestion>
            <![CDATA[{:SA:=\#n5}]]>
        </wirissubquestion>
        <wirissubquestion>
            <![CDATA[{:SA:=\#m}]]>
        </wirissubquestion>
        <wirissubquestion>
            <![CDATA[{:SA:=\#n6}]]>
        </wirissubquestion>
        <wirissubquestion>
            <![CDATA[{:SA:=\#d6}]]>
        </wirissubquestion>
    </wirissubquestions>
    <wirisquestion>
&lt;question&gt;&lt;wirisCasSession&gt;&lt;![CDATA[&lt;session lang="fr" version="2.0"&gt;&lt;library closed="false"&gt;&lt;mtext style="color:#ffc800" xml:lang="fr"&gt;variables&lt;/mtext&gt;&lt;group&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"/&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;com&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;aléa&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;2&lt;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cm&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;d1&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mi&gt;d2&lt;/mi&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;&amp;lt;&lt;/mo&gt;&lt;mn&gt;151&lt;/mn&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mo&gt;&amp;amp;&lt;/mo&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;d2&lt;/mi&gt;&lt;mo&gt;&amp;lt;&lt;/mo&gt;&lt;mi&gt;d1&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mo&gt;&amp;amp;&lt;/mo&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;pgcd&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;d1&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mi&gt;d2&lt;/mi&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;&amp;lt;&lt;/mo&gt;&lt;mi&gt;d2&lt;/mi&gt;&lt;/mrow&gt;&lt;/apply&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"/&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;repeat&lt;/csymbol&gt;&lt;mtable&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;n1&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;alea&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;7&lt;/mn&gt;&lt;mo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t;/mtr&gt;&lt;/mtable&gt;&lt;mrow&gt;&lt;mi&gt;pgcd&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;n2&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mi&gt;d2&lt;/mi&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/mrow&gt;&lt;/apply&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"/&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;solution&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;p&lt;/mi&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mi&gt;q&lt;/mi&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;m&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;ppcm&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;d1&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mi&gt;d2&lt;/mi&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;f1&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;m&lt;/mi&gt;&lt;mo&gt;/&lt;/mo&gt;&lt;mi&gt;d1&lt;/mi&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;f2&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;m&lt;/mi&gt;&lt;mo&gt;/&lt;/mo&gt;&lt;mi&gt;d2&lt;/mi&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;n3&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;f1&lt;/mi&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;n1&lt;/mi&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;n4&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;f2&lt;/mi&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;n2&lt;/mi&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;n5&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;n3&lt;/mi&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mi&gt;n4&lt;/mi&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;n6&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;numerateur&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;solution&lt;/mi&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;d6&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;denominateur&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;solution&lt;/mi&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;/group&gt;&lt;/library&gt;&lt;/session&gt;]]&gt;&lt;/wirisCasSession&gt;&lt;correctAnswers&gt;&lt;correctAnswer&gt;&lt;/correctAnswer&gt;&lt;/correctAnswers&gt;&lt;options&gt;&lt;option name="precision"&gt;4&lt;/option&gt;&lt;option name="implicit_times_operator"&gt;false&lt;/option&gt;&lt;option name="times_operator"&gt;·&lt;/option&gt;&lt;option name="imaginary_unit"&gt;i&lt;/option&gt;&lt;/options&gt;&lt;localData&gt;&lt;data name="casSession"&gt;&lt;/data&gt;&lt;/localData&gt;&lt;/question&gt;    </wirisquestion>
  </question>
 
 <!-- resourceid-resourcedataid: 12198-10305 -->
 <question type="shortanswerwiris">
    <name>
      <text>cas_g3_s_aide</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p><span style="font-size: medium; color: #ff00ff;"><strong>Calculer</strong>  : <strong><span style="color: #000000;">#p - (#q)  <span style="color: #ff00ff;">en donnant le résultat sous forme simplifiée (au maximum).</span><br /></span></strong></span></p>
<p><span style="font-size: medium; color: #008000;"><strong>Aucune étape intermédiaire n'est demandée.</strong></span></p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>2.0000000</defaultgrade>
    <penalty>1.0000000</penalty>
    <hidden>0</hidden>
    <usecase>0</usecase>
    <answer fraction="100" format="moodle_auto_format">
      <text><![CDATA[<math xmlns="http://www.w3.org/1998/Math/MathML"><mo>#</mo><mi>s</mi><mi>o</mi><mi>l</mi><mi>u</mi><mi>t</mi><mi mathvariant="normal">i</mi><mi>o</mi><mi>n</mi></math>]]></text>
      <feedback format="html">
        <text><![CDATA[<p><span style="font-size: medium;"><strong><span style="color: #008000;">Super !!!</span></strong></span></p>]]></text>
      </feedback>
    </answer>
    <answer fraction="50" format="moodle_auto_format">
      <text><![CDATA[<math xmlns="http://www.w3.org/1998/Math/MathML"><mo>#</mo><mi>s</mi><mi>o</mi><mi>l</mi><mi>u</mi><mi>t</mi><mi mathvariant="normal">i</mi><mi>o</mi><mi>n</mi></math>]]></text>
      <feedback format="html">
        <text><![CDATA[<p><strong><span style="color: #008000; font-size: medium;">Réponse correcte mais non simplifiée !!!</span></strong></p>]]></text>
      </feedback>
    </answer>
    <wirisquestion>
&lt;question&gt;&lt;wirisCasSession&gt;&lt;![CDATA[&lt;session lang="fr" version="2.0"&gt;&lt;library closed="false"&gt;&lt;mtext style="color:#ffc800" xml:lang="fr"&gt;variables&lt;/mtext&gt;&lt;group&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"/&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;com&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;aléa&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;5&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;repeat&lt;/csymbol&gt;&lt;mtable&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;f&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;aléa&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;9&l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lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;pgcd&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;d1&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mi&gt;d2&lt;/mi&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;&amp;lt;&lt;/mo&gt;&lt;mi&gt;d2&lt;/mi&gt;&lt;/mrow&gt;&lt;/apply&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"/&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;repeat&lt;/csymbol&gt;&lt;mtable&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;n1&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;alea&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;7&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;p&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mfrac&gt;&lt;mi&gt;n1&lt;/mi&gt;&lt;mi&gt;d1&lt;/mi&gt;&lt;/mfrac&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;mrow&gt;&lt;mi&gt;pgcd&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;n1&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mi&gt;d1&lt;/mi&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/mrow&gt;&lt;/apply&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;repeat&lt;/csymbol&gt;&lt;mtable&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;n2&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;aléa&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;15&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;q&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mfrac&gt;&lt;mi&gt;n2&lt;/mi&gt;&lt;mi&gt;d2&lt;/mi&gt;&lt;/mfrac&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;mrow&gt;&lt;mi&gt;pgcd&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;n2&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mi&gt;d2&lt;/mi&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/mrow&gt;&lt;/apply&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"/&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;solution&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;p&lt;/mi&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mi&gt;q&lt;/mi&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;/group&gt;&lt;/library&gt;&lt;/session&gt;]]&gt;&lt;/wirisCasSession&gt;&lt;correctAnswers&gt;&lt;correctAnswer type="mathml"&gt;&lt;![CDATA[&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mo&gt;#&lt;/mo&gt;&lt;mi&gt;s&lt;/mi&gt;&lt;mi&gt;o&lt;/mi&gt;&lt;mi&gt;l&lt;/mi&gt;&lt;mi&gt;u&lt;/mi&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;mi mathvariant="normal"&gt;i&lt;/mi&gt;&lt;mi&gt;o&lt;/mi&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/math&gt;]]&gt;&lt;/correctAnswer&gt;&lt;correctAnswer id="1" type="mathml"&gt;&lt;![CDATA[&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mo&gt;#&lt;/mo&gt;&lt;mi&gt;s&lt;/mi&gt;&lt;mi&gt;o&lt;/mi&gt;&lt;mi&gt;l&lt;/mi&gt;&lt;mi&gt;u&lt;/mi&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;mi mathvariant="normal"&gt;i&lt;/mi&gt;&lt;mi&gt;o&lt;/mi&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/math&gt;]]&gt;&lt;/correctAnswer&gt;&lt;correctAnswer id="2"&gt;&lt;/correctAnswer&gt;&lt;/correctAnswers&gt;&lt;assertions&gt;&lt;assertion name="check_simplified"/&gt;&lt;assertion name="syntax_expression" correctAnswer="1"/&gt;&lt;assertion name="equivalent_symbolic" correctAnswer="1"/&gt;&lt;assertion name="syntax_expression"/&gt;&lt;assertion name="equivalent_symbolic"/&gt;&lt;/assertions&gt;&lt;options&gt;&lt;option name="tolerance"&gt;10^(-4)&lt;/option&gt;&lt;option name="relative_tolerance"&gt;false&lt;/option&gt;&lt;option name="precision"&gt;4&lt;/option&gt;&lt;option name="implicit_times_operator"&gt;false&lt;/option&gt;&lt;option name="times_operator"&gt;·&lt;/option&gt;&lt;option name="imaginary_unit"&gt;i&lt;/option&gt;&lt;/options&gt;&lt;localData&gt;&lt;data name="inputField"&gt;popupEditor&lt;/data&gt;&lt;data name="gradeCompound"&gt;and&lt;/data&gt;&lt;data name="gradeCompoundDistribution"&gt;&lt;/data&gt;&lt;data name="casSession"&gt;&lt;/data&gt;&lt;/localData&gt;&lt;/question&gt;    </wirisquestion>
  </question>
 
 <!-- resourceid-resourcedataid: 12199-10306 -->
 <question type="multianswerwiris">
    <name>
      <text>cas_g4_aide</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p><span style="font-size: medium; color: #ff00ff;">On souhaite  calculer  : <strong><span style="color: #000000;">#p + #q </span></strong></span></p>
<ul>
<li><span style="font-size: medium; color: #ff00ff;"><span style="color: #0000ff;"><strong>Quel est le plus petit multiple commun de #d1 et #d2 ?</strong>  </span>  <span style="color: #000000;" data-mce-mark="1">{#1}</span></span></li>
</ul>
<p style="margin-left: 30px;"><span style="font-size: medium; color: #ff00ff;"><span style="color: #0000ff;">En effet ce nombre</span> <span style="color: #000080;"><span style="line-height: 12.791666984558105px;" data-mce-mark="1">{#2}</span><span style="line-height: 1.231;" data-mce-mark="1"> = <span data-mce-mark="1">{#3}</span></span><span style="line-height: 1.231;" data-mce-mark="1"> x #d1 = {#4} x #d2</span></span></span></p>
<ul>
<li><strong><span style="font-size: medium; color: #0000ff;">Réduisons ces écritures fractionnaires au même dénominateur : </span></strong></li>
</ul>
<p style="margin-left: 60px;"><strong><span style="color: #000000;"> #p + #q  </span></strong></p>
<p style="margin-left: 60px;"><span style="font-size: medium; color: #000000;">= {#5} / <span data-mce-mark="1">{#6}</span><span data-mce-mark="1">  + {#7} / <span data-mce-mark="1">{#8}  <span style="font-size: medium; color: #000000;"><span data-mce-mark="1"><span data-mce-mark="1">   <span style="font-size: medium; color: #ff00ff;"><strong><span style="color: #0000ff; font-size: x-small;"> (Ne taper que des nombres dans chacune des cases !)</span></strong></span></span></span></span><br /></span></span></span></p>
<p style="margin-left: 60px;"><span style="font-size: medium; color: #000000;"><span data-mce-mark="1"><span data-mce-mark="1">= {#9} / <span data-mce-mark="1">{#10}</span><span data-mce-mark="1"> </span></span></span></span></p>
<p style="margin-left: 60px;"><span style="font-size: medium; color: #ff00ff;"><span style="color: #000000;">= {#11} / {#12}</span> <strong><span style="color: #0000ff; font-size: x-small;"> (Ecriture simplifiée ou éventuellement la même expression qu'au dessus)</span></strong></span></p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>12.0000000</defaultgrade>
    <penalty>1.0000000</penalty>
    <hidden>0</hidden>
    <wirissubquestions>
        <wirissubquestion>
            <![CDATA[{:SA:=\#m}]]>
        </wirissubquestion>
        <wirissubquestion>
            <![CDATA[{:SA:=\#m}]]>
        </wirissubquestion>
        <wirissubquestion>
            <![CDATA[{:SA:=\#f1}]]>
        </wirissubquestion>
        <wirissubquestion>
            <![CDATA[{:SA:=\#f2}]]>
        </wirissubquestion>
        <wirissubquestion>
            <![CDATA[{:SA:=\#n3}]]>
        </wirissubquestion>
        <wirissubquestion>
            <![CDATA[{:SA:=\#m}]]>
        </wirissubquestion>
        <wirissubquestion>
            <![CDATA[{:SA:=\#n4}]]>
        </wirissubquestion>
        <wirissubquestion>
            <![CDATA[{:SA:=\#m}]]>
        </wirissubquestion>
        <wirissubquestion>
            <![CDATA[{:SA:=\#n5}]]>
        </wirissubquestion>
        <wirissubquestion>
            <![CDATA[{:SA:=\#m}]]>
        </wirissubquestion>
        <wirissubquestion>
            <![CDATA[{:SA:=\#n6}]]>
        </wirissubquestion>
        <wirissubquestion>
            <![CDATA[{:SA:=\#d6}]]>
        </wirissubquestion>
    </wirissubquestions>
    <wirisquestion>
&lt;question&gt;&lt;wirisCasSession&gt;&lt;![CDATA[&lt;session lang="fr" version="2.0"&gt;&lt;library closed="false"&gt;&lt;mtext style="color:#ffc800" xml:lang="fr"&gt;variables&lt;/mtext&gt;&lt;group&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"/&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;com&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;aléa&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;5&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;repeat&lt;/csymbol&gt;&lt;mtable&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;f&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;aléa&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;9&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;b&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;aléa&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;3&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;10&lt;/mn&gt;&lt;m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t;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"/&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;repeat&lt;/csymbol&gt;&lt;mtable&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;n1&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;alea&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;7&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;p&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mfrac&gt;&lt;mi&gt;n1&lt;/mi&gt;&lt;mi&gt;d1&lt;/mi&gt;&lt;/mfrac&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;mrow&gt;&lt;mi&gt;pgcd&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;n1&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mi&gt;d1&lt;/mi&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/mrow&gt;&lt;/apply&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;repeat&lt;/csymbol&gt;&lt;mtable&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;n2&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;aléa&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;15&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;q&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mfrac&gt;&lt;mi&gt;n2&lt;/mi&gt;&lt;mi&gt;d2&lt;/mi&gt;&lt;/mfrac&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;mrow&gt;&lt;mi&gt;pgcd&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;n2&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mi&gt;d2&lt;/mi&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/mrow&gt;&lt;/apply&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"/&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;solution&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;p&lt;/mi&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mi&gt;q&lt;/mi&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;m&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;ppcm&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;d1&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mi&gt;d2&lt;/mi&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;f1&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;m&lt;/mi&gt;&lt;mo&gt;/&lt;/mo&gt;&lt;mi&gt;d1&lt;/mi&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;f2&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;m&lt;/mi&gt;&lt;mo&gt;/&lt;/mo&gt;&lt;mi&gt;d2&lt;/mi&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;n3&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;f1&lt;/mi&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;n1&lt;/mi&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;n4&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;f2&lt;/mi&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;n2&lt;/mi&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;n5&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;n3&lt;/mi&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mi&gt;n4&lt;/mi&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;n6&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;numerateur&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;solution&lt;/mi&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;d6&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;denominateur&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;solution&lt;/mi&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;/group&gt;&lt;/library&gt;&lt;/session&gt;]]&gt;&lt;/wirisCasSession&gt;&lt;correctAnswers&gt;&lt;correctAnswer&gt;&lt;/correctAnswer&gt;&lt;/correctAnswers&gt;&lt;options&gt;&lt;option name="precision"&gt;4&lt;/option&gt;&lt;option name="implicit_times_operator"&gt;false&lt;/option&gt;&lt;option name="times_operator"&gt;·&lt;/option&gt;&lt;option name="imaginary_unit"&gt;i&lt;/option&gt;&lt;/options&gt;&lt;localData&gt;&lt;data name="casSession"&gt;&lt;/data&gt;&lt;/localData&gt;&lt;/question&gt;    </wirisquestion>
  </question>
 
 <!-- resourceid-resourcedataid: 12200-10307 -->
 <question type="shortanswerwiris">
    <name>
      <text>cas_g4_s_aide</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p><span style="font-size: medium; color: #ff00ff;"><strong>Calculer</strong>  : <strong><span style="color: #000000;">#p + #q  <span style="color: #ff00ff;">en donnant le résultat sous forme simplifiée (au maximum).</span><br /></span></strong></span></p>
<p><span style="font-size: medium; color: #008000;"><strong>Aucune étape intermédiaire n'est demandée.</strong></span></p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>2.0000000</defaultgrade>
    <penalty>1.0000000</penalty>
    <hidden>0</hidden>
    <usecase>0</usecase>
    <answer fraction="100" format="moodle_auto_format">
      <text><![CDATA[<math xmlns="http://www.w3.org/1998/Math/MathML"><mo>#</mo><mi>s</mi><mi>o</mi><mi>l</mi><mi>u</mi><mi>t</mi><mi mathvariant="normal">i</mi><mi>o</mi><mi>n</mi></math>]]></text>
      <feedback format="html">
        <text><![CDATA[<p><span style="font-size: medium;"><strong><span style="color: #008000;">Super !!!</span></strong></span></p>]]></text>
      </feedback>
    </answer>
    <answer fraction="50" format="moodle_auto_format">
      <text><![CDATA[<math xmlns="http://www.w3.org/1998/Math/MathML"><mo>#</mo><mi>s</mi><mi>o</mi><mi>l</mi><mi>u</mi><mi>t</mi><mi mathvariant="normal">i</mi><mi>o</mi><mi>n</mi></math>]]></text>
      <feedback format="html">
        <text><![CDATA[<p><strong><span style="color: #008000; font-size: medium;">Réponse correcte mais non simplifiée !!!</span></strong></p>]]></text>
      </feedback>
    </answer>
    <wirisquestion>
&lt;question&gt;&lt;wirisCasSession&gt;&lt;![CDATA[&lt;session lang="fr" version="2.0"&gt;&lt;library closed="false"&gt;&lt;mtext style="color:#ffc800" xml:lang="fr"&gt;variables&lt;/mtext&gt;&lt;group&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"/&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;com&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;aléa&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&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i&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;d1&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mi&gt;d2&lt;/mi&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;&amp;lt;&lt;/mo&gt;&lt;mn&gt;151&lt;/mn&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mo&gt;&amp;amp;&lt;/mo&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;d2&lt;/mi&gt;&lt;mo&gt;&amp;lt;&lt;/mo&gt;&lt;mi&gt;d1&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mo&gt;&amp;amp;&lt;/mo&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;pgcd&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;d1&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mi&gt;d2&lt;/mi&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;&amp;lt;&lt;/mo&gt;&lt;mi&gt;d2&lt;/mi&gt;&lt;/mrow&gt;&lt;/apply&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"/&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;repeat&lt;/csymbol&gt;&lt;mtable&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;n1&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;alea&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;8&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;p&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mfrac&gt;&lt;mi&gt;n1&lt;/mi&gt;&lt;mi&gt;d1&lt;/mi&gt;&lt;/mfrac&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;mrow&gt;&lt;mi&gt;pgcd&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;n1&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mi&gt;d1&lt;/mi&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/mrow&gt;&lt;/apply&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;repeat&lt;/csymbol&gt;&lt;mtable&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;n2&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;aléa&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;15&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;q&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mfrac&gt;&lt;mi&gt;n2&lt;/mi&gt;&lt;mi&gt;d2&lt;/mi&gt;&lt;/mfrac&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;mrow&gt;&lt;mi&gt;pgcd&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;n2&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mi&gt;d2&lt;/mi&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/mrow&gt;&lt;/apply&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"/&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;solution&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;p&lt;/mi&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mi&gt;q&lt;/mi&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;/group&gt;&lt;/library&gt;&lt;/session&gt;]]&gt;&lt;/wirisCasSession&gt;&lt;correctAnswers&gt;&lt;correctAnswer type="mathml"&gt;&lt;![CDATA[&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mo&gt;#&lt;/mo&gt;&lt;mi&gt;s&lt;/mi&gt;&lt;mi&gt;o&lt;/mi&gt;&lt;mi&gt;l&lt;/mi&gt;&lt;mi&gt;u&lt;/mi&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;mi mathvariant="normal"&gt;i&lt;/mi&gt;&lt;mi&gt;o&lt;/mi&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/math&gt;]]&gt;&lt;/correctAnswer&gt;&lt;correctAnswer id="1" type="mathml"&gt;&lt;![CDATA[&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mo&gt;#&lt;/mo&gt;&lt;mi&gt;s&lt;/mi&gt;&lt;mi&gt;o&lt;/mi&gt;&lt;mi&gt;l&lt;/mi&gt;&lt;mi&gt;u&lt;/mi&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;mi mathvariant="normal"&gt;i&lt;/mi&gt;&lt;mi&gt;o&lt;/mi&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/math&gt;]]&gt;&lt;/correctAnswer&gt;&lt;correctAnswer id="2"&gt;&lt;/correctAnswer&gt;&lt;/correctAnswers&gt;&lt;assertions&gt;&lt;assertion name="check_simplified"/&gt;&lt;assertion name="syntax_expression" correctAnswer="1"/&gt;&lt;assertion name="equivalent_symbolic" correctAnswer="1"/&gt;&lt;assertion name="syntax_expression"/&gt;&lt;assertion name="equivalent_symbolic"/&gt;&lt;/assertions&gt;&lt;options&gt;&lt;option name="tolerance"&gt;10^(-4)&lt;/option&gt;&lt;option name="relative_tolerance"&gt;false&lt;/option&gt;&lt;option name="precision"&gt;4&lt;/option&gt;&lt;option name="implicit_times_operator"&gt;false&lt;/option&gt;&lt;option name="times_operator"&gt;·&lt;/option&gt;&lt;option name="imaginary_unit"&gt;i&lt;/option&gt;&lt;/options&gt;&lt;localData&gt;&lt;data name="inputField"&gt;popupEditor&lt;/data&gt;&lt;data name="gradeCompound"&gt;and&lt;/data&gt;&lt;data name="gradeCompoundDistribution"&gt;&lt;/data&gt;&lt;data name="casSession"/&gt;&lt;/localData&gt;&lt;/question&gt;    </wirisquestion>
  </question>
 
 <!-- resourceid-resourcedataid: 12201-10308 -->
 <question type="shortanswerwiris">
    <name>
      <text>pb1</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p> <span style="color: #ff00ff;"><span style="font-size: medium;"><strong><span style="font-size: medium;">Juliette possède une collection de timbres. #p des timbres sont des timbres français. </span></strong></span><strong style="font-size: medium; line-height: 1.231;"><span style="font-size: medium;"><span style="font-size: medium;">#q</span> des timbres sont des timbres allemands. Le reste sont des timbres abimés. Quelle est la fraction de ses timbres abimés ?</span></strong></span></p>
<p><strong style="color: #008000; font-size: medium; line-height: 1.231;">Aucune étape intermédiaire n'est demandée.</strong></p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>3.0000000</defaultgrade>
    <penalty>1.0000000</penalty>
    <hidden>0</hidden>
    <usecase>0</usecase>
    <answer fraction="100" format="moodle_auto_format">
      <text><![CDATA[<math xmlns="http://www.w3.org/1998/Math/MathML"><mo>#</mo><mi>s</mi><mi>o</mi><mi>l</mi><mi>u</mi><mi>t</mi><mi mathvariant="normal">i</mi><mi>o</mi><mi>n</mi></math>]]></text>
      <feedback format="html">
        <text><![CDATA[<p><span style="font-size: medium;"><strong><span style="color: #008000;">Super !!!</span></strong></span></p>]]></text>
      </feedback>
    </answer>
    <answer fraction="50" format="moodle_auto_format">
      <text><![CDATA[<math xmlns="http://www.w3.org/1998/Math/MathML"><mo>#</mo><mi>s</mi><mi>o</mi><mi>l</mi><mi>u</mi><mi>t</mi><mi mathvariant="normal">i</mi><mi>o</mi><mi>n</mi></math>]]></text>
      <feedback format="html">
        <text><![CDATA[<p><strong><span style="color: #008000; font-size: medium;">Réponse correcte mais non simplifiée !!!</span></strong></p>]]></text>
      </feedback>
    </answer>
    <wirisquestion>
&lt;question&gt;&lt;wirisCasSession&gt;&lt;![CDATA[&lt;session lang="fr" version="2.0"&gt;&lt;library closed="false"&gt;&lt;mtext style="color:#ffc800" xml:lang="fr"&gt;variables&lt;/mtext&gt;&lt;group&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"/&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;com&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;aléa&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;5&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&g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gt;)&lt;/mo&gt;&lt;mo&gt;&amp;lt;&lt;/mo&gt;&lt;mn&gt;151&lt;/mn&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mo&gt;&amp;amp;&lt;/mo&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;d2&lt;/mi&gt;&lt;mo&gt;&amp;lt;&lt;/mo&gt;&lt;mi&gt;d1&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mo&gt;&amp;amp;&lt;/mo&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;pgcd&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;d1&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mi&gt;d2&lt;/mi&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;&amp;lt;&lt;/mo&gt;&lt;mi&gt;d2&lt;/mi&gt;&lt;/mrow&gt;&lt;/apply&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"/&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;repeat&lt;/csymbol&gt;&lt;mtable&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;n1&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;alea&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;8&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;p&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mfrac&gt;&lt;mi&gt;n1&lt;/mi&gt;&lt;mi&gt;d1&lt;/mi&gt;&lt;/mfrac&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;mrow&gt;&lt;mi&gt;p&lt;/mi&gt;&lt;mo&gt;&amp;lt;&lt;/mo&gt;&lt;mfrac&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mfrac&gt;&lt;/mrow&gt;&lt;/apply&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;repeat&lt;/csymbol&gt;&lt;mtable&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;n2&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;aléa&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;15&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;q&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mfrac&gt;&lt;mi&gt;n2&lt;/mi&gt;&lt;mi&gt;d2&lt;/mi&gt;&lt;/mfrac&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;mrow&gt;&lt;mi&gt;q&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mo&gt;&amp;lt;&lt;/mo&gt;&lt;mfrac&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mfrac&gt;&lt;/mrow&gt;&lt;/apply&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"/&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;solution&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;p&lt;/mi&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mi&gt;q&lt;/mi&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;/group&gt;&lt;/library&gt;&lt;/session&gt;]]&gt;&lt;/wirisCasSession&gt;&lt;correctAnswers&gt;&lt;correctAnswer type="mathml"&gt;&lt;![CDATA[&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mo&gt;#&lt;/mo&gt;&lt;mi&gt;s&lt;/mi&gt;&lt;mi&gt;o&lt;/mi&gt;&lt;mi&gt;l&lt;/mi&gt;&lt;mi&gt;u&lt;/mi&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;mi mathvariant="normal"&gt;i&lt;/mi&gt;&lt;mi&gt;o&lt;/mi&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/math&gt;]]&gt;&lt;/correctAnswer&gt;&lt;correctAnswer id="1" type="mathml"&gt;&lt;![CDATA[&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mo&gt;#&lt;/mo&gt;&lt;mi&gt;s&lt;/mi&gt;&lt;mi&gt;o&lt;/mi&gt;&lt;mi&gt;l&lt;/mi&gt;&lt;mi&gt;u&lt;/mi&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;mi mathvariant="normal"&gt;i&lt;/mi&gt;&lt;mi&gt;o&lt;/mi&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/math&gt;]]&gt;&lt;/correctAnswer&gt;&lt;correctAnswer id="2"&gt;&lt;/correctAnswer&gt;&lt;/correctAnswers&gt;&lt;assertions&gt;&lt;assertion name="check_simplified"/&gt;&lt;assertion name="syntax_expression" correctAnswer="1"/&gt;&lt;assertion name="equivalent_symbolic" correctAnswer="1"/&gt;&lt;assertion name="syntax_expression"/&gt;&lt;assertion name="equivalent_symbolic"/&gt;&lt;/assertions&gt;&lt;options&gt;&lt;option name="tolerance"&gt;10^(-4)&lt;/option&gt;&lt;option name="relative_tolerance"&gt;false&lt;/option&gt;&lt;option name="precision"&gt;4&lt;/option&gt;&lt;option name="implicit_times_operator"&gt;false&lt;/option&gt;&lt;option name="times_operator"&gt;·&lt;/option&gt;&lt;option name="imaginary_unit"&gt;i&lt;/option&gt;&lt;/options&gt;&lt;localData&gt;&lt;data name="inputField"&gt;popupEditor&lt;/data&gt;&lt;data name="gradeCompound"&gt;and&lt;/data&gt;&lt;data name="gradeCompoundDistribution"&gt;&lt;/data&gt;&lt;data name="casSession"/&gt;&lt;/localData&gt;&lt;/question&gt;    </wirisquestion>
  </question>
 
 <!-- resourceid-resourcedataid: 12202-10309 -->
 <question type="shortanswerwiris">
    <name>
      <text>pb2</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p><span style="font-size: medium;"><strong><span style="color: #ff00ff;"> A la fin du collège on constate que la moitié des élèves entre en seconde générale et technologique,  #q des élèves entrent en seconde professionnelle et le reste des autres élèves redoublent.</span> </strong></span><br /><strong><span style="color: #0000ff; font-size: medium;">Quelle est la fraction des élèves qui redoublent ? </span><br /><br /> </strong></p>
<p><strong style="color: #008000; font-size: medium; line-height: 1.231;">Aucune étape intermédiaire n'est demandée.</strong></p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>3.0000000</defaultgrade>
    <penalty>1.0000000</penalty>
    <hidden>0</hidden>
    <usecase>0</usecase>
    <answer fraction="100" format="moodle_auto_format">
      <text><![CDATA[<math xmlns="http://www.w3.org/1998/Math/MathML"><mo>#</mo><mi>s</mi><mi>o</mi><mi>l</mi><mi>u</mi><mi>t</mi><mi mathvariant="normal">i</mi><mi>o</mi><mi>n</mi></math>]]></text>
      <feedback format="html">
        <text><![CDATA[<p><span style="font-size: medium;"><strong><span style="color: #008000;">Super !!!</span></strong></span></p>]]></text>
      </feedback>
    </answer>
    <answer fraction="50" format="moodle_auto_format">
      <text><![CDATA[<math xmlns="http://www.w3.org/1998/Math/MathML"><mo>#</mo><mi>s</mi><mi>o</mi><mi>l</mi><mi>u</mi><mi>t</mi><mi mathvariant="normal">i</mi><mi>o</mi><mi>n</mi></math>]]></text>
      <feedback format="html">
        <text><![CDATA[<p><strong><span style="color: #008000; font-size: medium;">Réponse correcte mais non simplifiée !!!</span></strong></p>]]></text>
      </feedback>
    </answer>
    <wirisquestion>
&lt;question&gt;&lt;wirisCasSession&gt;&lt;![CDATA[&lt;session lang="fr" version="2.0"&gt;&lt;library closed="false"&gt;&lt;mtext style="color:#ffc800" xml:lang="fr"&gt;variables&lt;/mtext&gt;&lt;group&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"/&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;com&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;aléa&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;5&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mtable&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;f&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;aléa&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;9&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;d2&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;com&lt;/mi&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;f&lt;/mi&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;p&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mfrac&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mfrac&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;repeat&lt;/csymbol&gt;&lt;mtable&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;n2&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;aléa&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;15&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;q&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mfrac&gt;&lt;mi&gt;n2&lt;/mi&gt;&lt;mi&gt;d2&lt;/mi&gt;&lt;/mfrac&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;mrow&gt;&lt;mi&gt;q&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mo&gt;&amp;lt;&lt;/mo&gt;&lt;mfrac&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mfrac&gt;&lt;/mrow&gt;&lt;/apply&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"/&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;solution&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;p&lt;/mi&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mi&gt;q&lt;/mi&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;/group&gt;&lt;/library&gt;&lt;/session&gt;]]&gt;&lt;/wirisCasSession&gt;&lt;correctAnswers&gt;&lt;correctAnswer type="mathml"&gt;&lt;![CDATA[&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mo&gt;#&lt;/mo&gt;&lt;mi&gt;s&lt;/mi&gt;&lt;mi&gt;o&lt;/mi&gt;&lt;mi&gt;l&lt;/mi&gt;&lt;mi&gt;u&lt;/mi&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;mi mathvariant="normal"&gt;i&lt;/mi&gt;&lt;mi&gt;o&lt;/mi&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/math&gt;]]&gt;&lt;/correctAnswer&gt;&lt;correctAnswer id="1" type="mathml"&gt;&lt;![CDATA[&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mo&gt;#&lt;/mo&gt;&lt;mi&gt;s&lt;/mi&gt;&lt;mi&gt;o&lt;/mi&gt;&lt;mi&gt;l&lt;/mi&gt;&lt;mi&gt;u&lt;/mi&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;mi mathvariant="normal"&gt;i&lt;/mi&gt;&lt;mi&gt;o&lt;/mi&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/math&gt;]]&gt;&lt;/correctAnswer&gt;&lt;correctAnswer id="2"&gt;&lt;/correctAnswer&gt;&lt;/correctAnswers&gt;&lt;assertions&gt;&lt;assertion name="check_simplified"/&gt;&lt;assertion name="syntax_expression" correctAnswer="1"/&gt;&lt;assertion name="equivalent_symbolic" correctAnswer="1"/&gt;&lt;assertion name="syntax_expression"/&gt;&lt;assertion name="equivalent_symbolic"/&gt;&lt;/assertions&gt;&lt;options&gt;&lt;option name="tolerance"&gt;10^(-4)&lt;/option&gt;&lt;option name="relative_tolerance"&gt;false&lt;/option&gt;&lt;option name="precision"&gt;4&lt;/option&gt;&lt;option name="implicit_times_operator"&gt;false&lt;/option&gt;&lt;option name="times_operator"&gt;·&lt;/option&gt;&lt;option name="imaginary_unit"&gt;i&lt;/option&gt;&lt;/options&gt;&lt;localData&gt;&lt;data name="inputField"&gt;popupEditor&lt;/data&gt;&lt;data name="gradeCompound"&gt;and&lt;/data&gt;&lt;data name="gradeCompoundDistribution"&gt;&lt;/data&gt;&lt;data name="casSession"&gt;&lt;/data&gt;&lt;/localData&gt;&lt;/question&gt;    </wirisquestion>
  </question>
 </quiz>
