mdlAufgabengeneratoren/quiz-M6a pu-moodle_formulas ungleichnamige Brüche-20241129-1649.xml

118 lines
2.9 KiB
XML
Raw Permalink Normal View History

2024-11-29 17:28:13 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<quiz>
<!-- question: 35853 -->
<question type="formulas">
<name>
<text>Addition von 2 ungleichnamigen Brüchen</text>
</name>
<questiontext format="html">
<text>
<![CDATA[<p>Addiere die Brüche und kürze das Ergebnis so weit wie möglich.</p><p>{#A}</p>]]>
</text>
</questiontext>
<generalfeedback format="html">
<text></text>
</generalfeedback>
<defaultgrade>1.0000000</defaultgrade>
<penalty>0.3333333</penalty>
<hidden>0</hidden>
<idnumber></idnumber>
<correctfeedback format="html">
<text>
<![CDATA[<p>Die Antwort ist richtig.</p>]]>
</text>
</correctfeedback>
<partiallycorrectfeedback format="html">
<text>
<![CDATA[<p>Die Antwort ist teilweise richtig.</p>]]>
</text>
</partiallycorrectfeedback>
<incorrectfeedback format="html">
<text>
<![CDATA[<p>Die Antwort ist falsch.</p>]]>
</text>
</incorrectfeedback>
<shownumcorrect/>
<varsrandom>
<text></text>
</varsrandom>
<varsglobal>
<text>n = [3, 7];
d = [2, 3];</text>
</varsglobal>
<answernumbering>
<text>ABCD</text>
</answernumbering>
<answers>
<partindex>
<text>0</text>
</partindex>
<placeholder>
<text>#A</text>
</placeholder>
<answermark>
<text>1</text>
</answermark>
<answertype>
<text>0</text>
</answertype>
<numbox>
<text>2</text>
</numbox>
<vars1>
<text>g = gcd(d[0],d[1]);
cd = d[0]*d[1]/pow(g,2);
e = [cd / d[0], cd / d[1]];
nums = [n[0]*e[0], n[1]*e[1]];
thesumnum = nums[0] + nums[1]</text>
</vars1>
<answer>
<text>[thesumnum, cd]</text>
</answer>
<answernotunique>
<text>0</text>
</answernotunique>
<vars2>
<text>
<![CDATA[ga = _0 == thesumnum && _1 == cd;
gb = (_0 / _1) == (thesumnum / cd);]]>
</text>
</vars2>
<correctness>
<text>ga + 0.5*gb</text>
</correctness>
<unitpenalty>
<text>1</text>
</unitpenalty>
<postunit>
<text></text>
</postunit>
<ruleid>
<text>1</text>
</ruleid>
<otherrule>
<text></text>
</otherrule>
<subqtext format="html">
<text>
<![CDATA[<p>Berechne:</p><p>\(\Large \displaystyle \frac{{n[0]}}{{d[0]}} + \frac{{n[1]}}{{d[1]}} =\) {_0} / {_1}</p>]]>
</text>
</subqtext>
<feedback format="html">
<text>
<![CDATA[<h4>Lösungshinweis</h4><p>Die korrekte Lösung ist:</p><p>\(\Large \displaystyle \frac{{n[0]}}{{d[0]}} + \frac{{n[1]}}{{d[1]}} = \frac{{nums[0]}}{{cd}} + \frac{{nums[1]}}{{cd}} = \frac{{thesumnum}}{{cd}}\)</p>]]>
</text>
</feedback>
<correctfeedback format="html">
<text></text>
</correctfeedback>
<partiallycorrectfeedback format="html">
<text></text>
</partiallycorrectfeedback>
<incorrectfeedback format="html">
<text></text>
</incorrectfeedback>
</answers>
</question>
</quiz>