Commit 557aa7c0 by muzaffaryousaf Committed by muhammad-ammar

Update yaml/default templates for checkbox.

TNL-4977
parent a44c3c87
...@@ -2,43 +2,37 @@ ...@@ -2,43 +2,37 @@
metadata: metadata:
display_name: Checkboxes display_name: Checkboxes
markdown: | markdown: |
Checkbox problems allow learners to select multiple options. Learners can see all the options along with the problem text. You can use this template as a guide to the simple editor markdown and OLX markup to use for checkboxes problems. Edit this component to replace this template with your own assessment.
When you add the problem, be sure to select Settings to specify a Display Name and other values that apply. >>Add the question text, or prompt, here. This text is required.||You can add an optional tip or note related to the prompt like this. <<
You can use the following example problem as a model. [x] a correct answer
[ ] an incorrect answer
>>The following languages are in the Indo-European family:||Make sure you select all of the correct options—there may be more than one!<< [ ] an incorrect answer
[x] Urdu [x] a correct answer
[ ] Finnish
[x] Marathi
[x] French
[ ] Hungarian
[explanation] [explanation]
Urdu, Marathi, and French are all Indo-European languages, while Finnish and Hungarian are in the Uralic family. You can specify an optional explanation that appears after the selected answers are submitted.
[explanation] [explanation]
data: | data: |
<problem> <problem>
<choiceresponse> <choiceresponse>
<p>Checkbox problems allow learners to select multiple options. Learners can see all the options along with the problem text.</p> <p>You can use this template as a guide to the simple editor markdown and OLX markup to use for checkboxes problems. Edit this component to replace this template with your own assessment.</p>
<p>When you add the problem, be sure to select Settings to specify a Display Name and other values that apply.</p> <label>Add the question text, or prompt, here. This text is required.</label>
<p>You can use the following example problem as a model.</p> <description>You can add an optional tip or note related to the prompt like this.</description>
<label>The following languages are in the Indo-European family:</label>
<description>Make sure you select all of the correct options—there may be more than one!</description>
<checkboxgroup> <checkboxgroup>
<choice correct="true">Urdu</choice> <choice correct="true">a correct answer</choice>
<choice correct="false">Finnish</choice> <choice correct="false">an incorrect answer</choice>
<choice correct="true">Marathi</choice> <choice correct="false">an incorrect answer</choice>
<choice correct="true">French</choice> <choice correct="true">a correct answer</choice>
<choice correct="false">Hungarian</choice>
</checkboxgroup> </checkboxgroup>
<solution> <solution>
<div class="detailed-solution"> <div class="detailed-solution">
<p>Explanation</p> <p>Explanation</p>
<p>Urdu, Marathi, and French are all Indo-European languages, while Finnish and Hungarian are in the Uralic family.</p> <p>You can specify an optional explanation that appears after the selected answers are submitted.</p>
</div> </div>
</solution> </solution>
</choiceresponse> </choiceresponse>
</problem> </problem>
...@@ -3,65 +3,50 @@ metadata: ...@@ -3,65 +3,50 @@ metadata:
display_name: Checkboxes with Hints and Feedback display_name: Checkboxes with Hints and Feedback
markdown: | markdown: |
You can provide feedback for each option in a checkbox problem, with distinct feedback depending on whether or not the learner selects that option. You can use this template as a guide to the simple editor markdown and OLX markup to use for checkboxes with hints and feedback problems. Edit this component to replace this template with your own assessment.
You can also provide compound feedback for a specific combination of answers. For example, if you have three possible answers in the problem, you can configure specific feedback for when a learner selects each combination of possible answers. >>Add the question text, or prompt, here. This text is required.||You can add an optional tip or note related to the prompt like this.<<
You can also add hints for learners. [x] a correct answer {{ selected: You can specify optional feedback that appears after the learner selects and submits this answer. }, { unselected: You can specify optional feedback that appears after the learner clears and submits this answer.}}
[ ] an incorrect answer
[ ] an incorrect answer {{ selected: You can specify optional feedback for none, all, or a subset of the answers. }, { unselected: You can specify optional feedback for selected answers, cleared answers, or both.}}
[x] a correct answer
Be sure to select Settings to specify a Display Name and other values that apply.
Use the following example problem as a model. {{ ((A B D)) You can specify optional feedback for a combination of answers which appears after the specified set of answers is submitted. }}
{{ ((A B C D)) You can specify optional feedback for one, several, or all answer combinations. }}
>>Which of the following is a fruit?||Make sure you select all of the correct options—there may be more than one!<< ||You can add an optional hint like this. Problems that have a hint include a hint button, and this text appears the first time learners select the button.||
||If you add more than one hint, a different hint appears each time learners select the hint button.||
[x] apple {{ selected: You are correct that an apple is a fruit because it is the fertilized ovary that comes from an apple tree and contains seeds. }, { unselected: Remember that an apple is also a fruit.}}
[x] pumpkin {{ selected: You are correct that a pumpkin is a fruit because it is the fertilized ovary of a squash plant and contains seeds. }, { unselected: Remember that a pumpkin is also a fruit.}}
[ ] potato {{ U: You are correct that a potato is a vegetable because it is an edible part of a plant in tuber form.}, { S: A potato is a vegetable, not a fruit, because it does not come from a flower and does not contain seeds.}}
[x] tomato {{ S: You are correct that a tomato is a fruit because it is the fertilized ovary of a tomato plant and contains seeds. }, { U: Many people mistakenly think a tomato is a vegetable. However, because a tomato is the fertilized ovary of a tomato plant and contains seeds, it is a fruit.}}
{{ ((A B D)) An apple, pumpkin, and tomato are all fruits as they all are fertilized ovaries of a plant and contain seeds. }}
{{ ((A B C D)) You are correct that an apple, pumpkin, and tomato are all fruits as they all are fertilized ovaries of a plant and contain seeds. However, a potato is not a fruit as it is an edible part of a plant in tuber form and is a vegetable. }}
||A fruit is the fertilized ovary from a flower.||
||A fruit contains seeds of the plant.||
hinted: true hinted: true
data: | data: |
<problem> <problem>
<choiceresponse> <choiceresponse>
<p>You can provide feedback for each option in a checkbox problem, with distinct feedback depending on whether or not the learner selects that option.</p> <p>You can use this template as a guide to the simple editor markdown and OLX markup to use for checkboxes with hints and feedback problems. Edit this component to replace this template with your own assessment.</p>
<p>You can also provide compound feedback for a specific combination of answers. For example, if you have three possible answers in the problem, you can configure specific feedback for when a learner selects each combination of possible answers.</p> <label>Add the question text, or prompt, here. This text is required.</label>
<p>You can also add hints for learners.</p> <description>You can add an optional tip or note related to the prompt like this.</description>
<p>Be sure to select Settings to specify a Display Name and other values that apply.</p>
<p>Use the following example problem as a model.</p>
<label>Which of the following is a fruit?</label>
<description>Make sure you select all of the correct options—there may be more than one!</description>
<checkboxgroup> <checkboxgroup>
<choice correct="true">apple <choice correct="true">a correct answer
<choicehint selected="true">You are correct that an apple is a fruit because it is the fertilized ovary that comes from an apple tree and contains seeds.</choicehint> <choicehint selected="true">You can specify optional feedback that appears after the learner selects and submits this answer.</choicehint>
<choicehint selected="false">Remember that an apple is also a fruit.</choicehint> <choicehint selected="false">You can specify optional feedback that appears after the learner clears and submits this answer.</choicehint>
</choice> </choice>
<choice correct="true">pumpkin <choice correct="false">an incorrect answer
<choicehint selected="true">You are correct that a pumpkin is a fruit because it is the fertilized ovary of a squash plant and contains seeds.</choicehint>
<choicehint selected="false">Remember that a pumpkin is also a fruit.</choicehint>
</choice> </choice>
<choice correct="false">potato <choice correct="false">an incorrect answer
<choicehint selected="true">A potato is a vegetable, not a fruit, because it does not come from a flower and does not contain seeds.</choicehint> <choicehint selected="true">You can specify optional feedback for none, all, or a subset of the answers.</choicehint>
<choicehint selected="false">You are correct that a potato is a vegetable because it is an edible part of a plant in tuber form.</choicehint> <choicehint selected="false">You can specify optional feedback for selected answers, cleared answers, or both.</choicehint>
</choice> </choice>
<choice correct="true">tomato <choice correct="true">a correct answer
<choicehint selected="true">You are correct that a tomato is a fruit because it is the fertilized ovary of a tomato plant and contains seeds.</choicehint>
<choicehint selected="false">Many people mistakenly think a tomato is a vegetable. However, because a tomato is the fertilized ovary of a tomato plant and contains seeds, it is a fruit.</choicehint>
</choice> </choice>
<compoundhint value="A B D">An apple, pumpkin, and tomato are all fruits as they all are fertilized ovaries of a plant and contain seeds.</compoundhint> <compoundhint value="A B D">You can specify optional feedback for a combination of answers which appears after the specified set of answers is submitted.</compoundhint>
<compoundhint value="A B C D">You are correct that an apple, pumpkin, and tomato are all fruits as they all are fertilized ovaries of a plant and contain seeds. However, a potato is not a fruit as it is an edible part of a plant in tuber form and is a vegetable.</compoundhint> <compoundhint value="A B C D">You can specify optional feedback for one, several, or all answer combinations.</compoundhint>
</checkboxgroup> </checkboxgroup>
</choiceresponse> </choiceresponse>
<demandhint> <demandhint>
<hint>A fruit is the fertilized ovary from a flower.</hint> <hint>You can add an optional hint like this. Problems that have a hint include a hint button, and this text appears the first time learners select the button.</hint>
<hint>A fruit contains seeds of the plant.</hint> <hint>If you add more than one hint, a different hint appears each time learners select the hint button.</hint>
</demandhint> </demandhint>
</problem> </problem>
...@@ -2,11 +2,9 @@ ...@@ -2,11 +2,9 @@
metadata: metadata:
display_name: Text Input display_name: Text Input
markdown: | markdown: |
You can use this template as a guide to the simple editor markdown and OLX markup to use for text input with You can use this template as a guide to the simple editor markdown and OLX markup to use for text input with hints and feedback problems. Edit this component to replace this template with your own assessment.
hints and feedback problems. Edit this component to replace this template with your own assessment.
>>Add the question text, or prompt, here. This text is required.||You can add an optional tip or note related >>Add the question text, or prompt, here. This text is required.||You can add an optional tip or note related to the prompt like this. <<
to the prompt like this. <<
= the correct answer {{You can specify optional feedback like this, which appears after this answer is submitted.}} = the correct answer {{You can specify optional feedback like this, which appears after this answer is submitted.}}
or= optional acceptable variant of the correct answer or= optional acceptable variant of the correct answer
...@@ -15,8 +13,7 @@ metadata: ...@@ -15,8 +13,7 @@ metadata:
data: | data: |
<problem> <problem>
<stringresponse answer="the correct answer" type="ci"> <stringresponse answer="the correct answer" type="ci">
<p>You can use this template as a guide to the simple editor markdown and OLX markup to use for text input with</p> <p>You can use this template as a guide to the simple editor markdown and OLX markup to use for text input with hints and feedback problems. Edit this component to replace this template with your own assessment.</p>
<p>hints and feedback problems. Edit this component to replace this template with your own assessment.</p>
<label>Add the question text, or prompt, here. This text is required.</label> <label>Add the question text, or prompt, here. This text is required.</label>
<description>You can add an optional tip or note related to the prompt like this.</description> <description>You can add an optional tip or note related to the prompt like this.</description>
<correcthint>You can specify optional feedback like this, which appears after this answer is submitted.</correcthint> <correcthint>You can specify optional feedback like this, which appears after this answer is submitted.</correcthint>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment