<?xml version="1.0" encoding="UTF-8"?>
<quiz>
 <!-- categoryid: 1206 -->
 <question type="category"><category><text>/</text></category></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;,&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;&lt;mi&gt;com&lt;/mi&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;b&lt;/mi&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;mrow&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;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;&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>
 </quiz>
