questions-SP7B-Edu.Moodle.GheorgheSincai-Cluj-Primar-20150405-1135
q5
mc]]>
1.0000000
0.3333333
0
true
Your answer is correct.]]>
Your answer is partially correct.]]>
Your answer is incorrect.]]>
In produsul P = #u x #v , cifra zecilor este egala cu :]]>
#s
Restul impartirii unui numar la #a, este cel mult egal cu :]]>
#r
#d
<question><wirisCasSession><![CDATA[<session lang="en" version="2.0"><library closed="false"><mtext style="color:#ffc800" xml:lang="en">variables</mtext><group><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"><apply><csymbol definitionURL="http://www.wiris.com/XML/csymbol">repeat</csymbol><mtable><mtr><mtd><mi>a</mi><mo>=</mo><mi>random</mi><mo>(</mo><mn>5</mn><mo>,</mo><mn>9</mn><mo>)</mo></mtd></mtr><mtr><mtd><mi>r</mi><mo>=</mo><mi>a</mi><mo>-</mo><mn>1</mn></mtd></mtr><mtr><mtd><mi>u</mi><mo>=</mo><mi>random</mi><mo>(</mo><mn>23</mn><mo>,</mo><mn>45</mn><mo>)</mo></mtd></mtr><mtr><mtd><mi>v</mi><mo>=</mo><mi>random</mi><mo>(</mo><mn>5</mn><mo>,</mo><mn>95</mn><mo>)</mo></mtd></mtr><mtr><mtd><mi>c</mi><mo>=</mo><mi>u</mi><mo>*</mo><mi>v</mi></mtd></mtr><mtr><mtd><mi>p</mi><mo>=</mo><mi>floor</mi><mo>(</mo><mi>c</mi><mo>/</mo><mn>10</mn><mo>)</mo></mtd></mtr><mtr><mtd><mi>s</mi><mo>=</mo><mi>remainder</mi><mo>(</mo><mi>p</mi><mo>,</mo><mn>10</mn><mo>)</mo></mtd></mtr></mtable><mrow><mi>r</mi><mo>≠</mo><mi>s</mi></mrow></apply></math></input></command><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"><apply><csymbol definitionURL="http://www.wiris.com/XML/csymbol">if</csymbol><mrow><mi>a</mi><mo>=</mo><mi>s</mi></mrow><mrow><mi>d</mi><mo>=</mo><mi>a</mi><mo>-</mo><mn>2</mn></mrow><mrow><mi>d</mi><mo>=</mo><mi>a</mi></mrow></apply></math></input></command></group></library><group><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>r</mi></math></input><output><math xmlns="http://www.w3.org/1998/Math/MathML"><mn>6</mn></math></output></command><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>u</mi></math></input><output><math xmlns="http://www.w3.org/1998/Math/MathML"><mn>43</mn></math></output></command><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>v</mi></math></input><output><math xmlns="http://www.w3.org/1998/Math/MathML"><mn>81</mn></math></output></command><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>c</mi></math></input><output><math xmlns="http://www.w3.org/1998/Math/MathML"><mn>3483</mn></math></output></command><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>p</mi></math></input><output><math xmlns="http://www.w3.org/1998/Math/MathML"><mn>348</mn></math></output></command><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>s</mi></math></input><output><math xmlns="http://www.w3.org/1998/Math/MathML"><mn>8</mn></math></output></command></group><group><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"/></input></command></group></session>]]></wirisCasSession><options><option name="precision">4</option><option name="implicit_times_operator">false</option><option name="times_operator">·</option><option name="imaginary_unit">i</option></options><localData><data name="casSession"/></localData></question>