- Ensure that only a course import is saved to the draft branch and then published. A content library has only a single 'library' branch. - Add a fields parameter to the create_library call so the call has the correct number of parameters. - Add tests which import content libraries using different test methods and with different branch settings. - Add test which imports a content library and then exports it. - Use XBlock module version that supports XML-serialized String of None. - Add re-import of content library and equality comparison to test. - Allow get_items to be called on LibraryLocators.
29 lines
2.2 KiB
XML
29 lines
2.2 KiB
XML
<problem display_name="Multiple Choice" markdown="Multiple choice problems allow learners to select only one option. Learners can see all the options along with the problem text. When you add the problem, be sure to select Settings to specify a Display Name and other values that apply. You can use the following example problem as a model. >>Which of the following countries has the largest population?<< ( ) Brazil {{ timely feedback -- explain why an almost correct answer is wrong }} ( ) Germany (x) Indonesia ( ) Russia [explanation] According to September 2014 estimates: The population of Indonesia is approximately 250 million. The population of Brazil is approximately 200 million. The population of Russia is approximately 146 million. The population of Germany is approximately 81 million. [explanation] ">
|
|
<p>Multiple choice problems allow learners to select only one option.
|
|
Learners can see all the options along with the problem text.</p>
|
|
<p>When you add the problem, be sure to select <strong>Settings</strong>
|
|
to specify a <strong>Display Name</strong> and other values that apply.</p>
|
|
<p>You can use the following example problem as a model.</p>
|
|
<p>Which of the following countries has the largest population?</p>
|
|
<multiplechoiceresponse>
|
|
<choicegroup type="MultipleChoice">
|
|
<choice correct="false" name="brazil">Brazil
|
|
<choicehint>timely feedback -- explain why an almost correct answer is wrong</choicehint>
|
|
</choice>
|
|
<choice correct="false" name="germany">Germany</choice>
|
|
<choice correct="true" name="indonesia">Indonesia</choice>
|
|
<choice correct="false" name="russia">Russia</choice>
|
|
</choicegroup>
|
|
</multiplechoiceresponse>
|
|
<solution>
|
|
<div class="detailed-solution">
|
|
<p>Explanation</p>
|
|
<p>According to September 2014 estimates:</p>
|
|
<p>The population of Indonesia is approximately 250 million.</p>
|
|
<p>The population of Brazil is approximately 200 million.</p>
|
|
<p>The population of Russia is approximately 146 million.</p>
|
|
<p>The population of Germany is approximately 81 million.</p>
|
|
</div>
|
|
</solution>
|
|
</problem>
|