Building and Running an Open edX Course: Eucalyptus Release
  • 1. General Information
    • 1.1. Read Me
    • 1.2. Other edX Resources
    • 1.3. edX Browser Support
    • 1.4. Change Log
  • 2. Getting Started
    • 2.1. Exploring Your Dashboard, Settings, and Profile
    • 2.2. Getting Started with Studio
  • 3. Reaching As Many Learners As Possible
    • 3.1. Designing Your Course For a Mobile Experience
  • 4. Accessibility Best Practices Guidance for Content Providers
    • 4.1. What Is The EdX Accessibility Best Practices Guidance Based On?
    • 4.2. Supporting Learners with Diverse Needs
    • 4.3. Accessibility Best Practices for Developing Course Content
  • 5. Setting Up Your Course
    • 5.1. Creating a Course
    • 5.2. Licensing a Course
    • 5.3. Setting Start and End Dates
    • 5.4. Setting Course Pacing
    • 5.5. Set Course Prerequisites
    • 5.6. Course Search
    • 5.7. Setting Details About Your Course
    • 5.8. Staffing
    • 5.9. Setting Up Course Certificates
    • 5.10. Creating a Custom Course
  • 6. Developing Your Course
    • 6.1. Getting Started with Course Content Development
    • 6.2. Developing Your Course Outline
    • 6.3. Developing Course Sections
    • 6.4. Developing Course Subsections
    • 6.5. Developing Course Units
    • 6.6. Developing Course Components
    • 6.7. Controlling Content Visibility
    • 6.8. Testing Your Course Content
  • 7. Adding Course Components
    • 7.1. Working with HTML Components
    • 7.2. Working with Video Components
    • 7.3. Working with Discussion Components
    • 7.4. Working with Problem Components
    • 7.5. Working with Content Libraries
  • 8. Creating Exercises and Tools
    • 8.1. Exercises and Tools
    • 8.2. Enable Additional Exercises and Tools
    • 8.3. Annotation Problem
    • 8.4. Calculator Tool
    • 8.5. Checkbox Problem
    • 8.6. Chemical Equation Problem
    • 8.7. Circuit Schematic Builder Problem
    • 8.8. Completion Tool
    • 8.9. Conditional Module
    • 8.10. Custom JavaScript Problem
    • 8.11. Drag and Drop Problem
    • 8.12. Drag and Drop Problem (Deprecated)
    • 8.13. Dropdown Problem
    • 8.14. External Grader
    • 8.15. Full Screen Image Tool
    • 8.16. Gene Explorer Tool
    • 8.17. Google Calendar Tool
    • 8.18. Google Drive Files Tool
    • 8.19. Google Instant Hangout Tool
    • 8.20. Iframe Tool
    • 8.21. Image Mapped Input Problem
    • 8.22. LTI Component
    • 8.23. Math Expression Input Problems
    • 8.24. Molecule Editor Tool
    • 8.25. Molecule Viewer Tool
    • 8.26. Multiple Choice Problem
    • 8.27. Multiple Choice and Numerical Input Problem
    • 8.28. Notes Tool
    • 8.29. Numerical Input Problem
    • 8.30. Office Mix Tool
    • 8.31. Open Response Assessments
    • 8.32. Oppia Exploration Tool
    • 8.33. Peer Instruction Tool
    • 8.34. Periodic Table Tool
    • 8.35. Poll Tool
    • 8.36. Poll Tool for OLX
    • 8.37. Problem with Adaptive Hint
    • 8.38. Problem Written in LaTeX
    • 8.39. Protex Protein Builder Tool
    • 8.40. Qualtrics Survey Tool
    • 8.41. Randomized Content Blocks
    • 8.42. Recommender Tool
    • 8.43. Survey Tool
    • 8.44. Text Input Problem
    • 8.45. Word Cloud Tool
    • 8.46. Write-Your-Own-Grader Problem
    • 8.47. Zooming Image Tool
    • 8.48. A Brief Introduction to MathJax in Studio
  • 9. Adding Course Assets
    • 9.1. Adding Files to a Course
    • 9.2. Adding Course Updates and Handouts
    • 9.3. Adding Pages to a Course
    • 9.4. Textbooks
    • 9.5. Using the Course Wiki
  • 10. Choosing Enhanced Capabilities For Your Course
    • 10.1. Including Learner Cohorts
    • 10.2. Including Teams
    • 10.3. Creating Content Experiments
    • 10.4. Timed Exams
    • 10.5. Using Open edX as an LTI Tool Provider
  • 11. Establishing a Grading Policy For Your Course
    • 11.1. Set the Grade Range
    • 11.2. Set the Grace Period
    • 11.3. Configure the Assignment Types
    • 11.4. Graded Subsections
    • 11.5. The Learner View of Grades
  • 12. Releasing Your Course
    • 12.1. Beta Testing a Course
    • 12.2. Course Launching Activities
  • 13. Managing a Running Course
    • 13.1. Course Data
    • 13.2. Bulk Email
    • 13.3. Enrollment
    • 13.4. Manage Course Fees
    • 13.5. Managing Course Discussions
    • 13.6. Participating in Course Discussions
    • 13.7. Guidance for Discussion Moderators
    • 13.8. Staff Debug Info
  • 14. Managing Learner Progress and Grades
    • 14.1. Learner Data
    • 14.2. Answer Data
    • 14.3. Learner Grades and Grading
    • 14.4. Obtaining Certificate Data
    • 14.5. Assign Final Grades and Issue Certificates
  • 15. Re-running Your Course
    • 15.1. Re-running a Course
  • 16. Glossary
    • 16.1. A
    • 16.2. C
    • 16.3. D
    • 16.4. E
    • 16.5. F
    • 16.6. G
    • 16.7. H
    • 16.8. I
    • 16.9. K
    • 16.10. L
    • 16.11. M
    • 16.12. N
    • 16.13. O
    • 16.14. P
    • 16.15. Q
    • 16.16. R
    • 16.17. S
    • 16.18. T
    • 16.19. U
    • 16.20. V
    • 16.21. W
    • 16.22. XYZ
 
Building and Running an Open edX Course: Eucalyptus Release
  • Table of Contents »
  • 8.13. Dropdown Problem
  • Need Help? |Feedback

8.13. Dropdown Problem¶

Note

EdX offers full support for this problem type.

  • Overview
  • Analyzing Performance on Dropdown Problems
  • Creating a Dropdown Problem
  • Using Feedback in a Dropdown Problem
  • Using Hints in a Dropdown Problem
  • Dropdown Problem XML

8.13.1. Overview¶

Dropdown problems allow learners to choose from a collection of answer options that are presented in a dropdown list. Unlike multiple choice problems, which have answers that are always visible directly below the question, dropdown problems do not show answer choices until the learner clicks the dropdown arrow.

A problem component with 3 dropdown problems, 2 marked correct and 1 incorrect.

8.13.2. Analyzing Performance on Dropdown Problems¶

For the dropdown problems in your course, you can use edX Insights to review aggregated learner performance data and examine submitted answers. For more information, see Using edX Insights.

8.13.3. Creating a Dropdown Problem¶

You can create dropdown problems in the simple editor or in the advanced editor. You can set up a problem in the simple editor, and then switch to the advanced editor to add more configuration options in XML. However, you cannot switch back to the simple editor from the advanced editor. Therefore, you might want to format the problem as completely as possible before you begin to use the advanced editor.

8.13.3.1. Use the Simple Editor to Create a Dropdown Problem¶

To use the simple editor to create a dropdown problem, follow these steps.

  1. In the unit where you want to create the problem, under Add New Component select Problem.
  2. Select one of the two dropdown problem templates.
  • From the list of Common Problem Types, select Dropdown.

  • From the list of Common Problems with Hints and Feedback, select Dropdown with Hints and Feedback. For more information, see Use Feedback in a Dropdown Problem.

    Studio adds the problem to the unit.

  1. Select Edit. The simple editor opens.
  2. Replace the sample problem text with your own text.
  3. Determine the text that describes the question you want learners to answer, and surround that text with two pairs of angle brackets (>>question<<). This text identifies the question for screen readers, reports, and Insights.
  4. Edit your text to place all of the possible answers on the same line, separated by commas.
  5. Select all of the answer options, and then select Dropdown from the toolbar. A double set of brackets ([[ ]]) appears to surround the answer options.
  6. To identify the problem’s answer, locate that answer inside the brackets and surround the correct answer with parentheses.
  7. To provide an explanation, select the explanation text and then select Explanation from the toolbar. [explanation] appears before and after the explanation text.
  8. Select Settings and provide an identifying Display Name for the problem.
  9. Define additional settings for the problem. For more information, see Problem Settings.
  10. Select Save.

For the example problem illustrated above, the following text is displayed in the problem component.

>>What type of data are the following?<<

Age:
[[Nominal, Discrete, (Continuous)]]
Age, rounded to the nearest year:
[[Nominal, (Discrete), Continuous]]
Life stage - infant, child, and adult:
[[(Nominal), Discrete, Continuous]]

8.13.3.2. Use the Advanced Editor to Edit a Dropdown Problem¶

To use the advanced editor to edit a dropdown problem, follow these steps.

  1. Follow the steps for creating the problem in the simple editor.
  2. Select Advanced Editor, and then edit the XML to add the tags and attributes you want. An example follows.

Problem Code:

<problem>
<p>
  <em>This exercise first appeared in HarvardX's PH207x Health in Numbers:
  Quantitative Methods in Clinical &amp; Public Health Research course, fall
  2012.</em>
</p>
<p>What type of data are the following?</p>
<p>Age:</p>
<optionresponse>
  <optioninput options="('Nominal','Discrete','Continuous')"
    correct="Continuous" label="Age"/>
</optionresponse>
<p>Age, rounded to the nearest year:</p>
<optionresponse>
  <optioninput options="('Nominal','Discrete','Continuous')"
    correct="Discrete" label="Age, rounded to the nearest year"/>
</optionresponse>
<p>Life stage - infant, child, and adult:</p>
<optionresponse>
  <optioninput options="('Nominal','Discrete','Continuous')"
    correct="Nominal" label="Life stage"/>
</optionresponse>
</problem>

8.13.4. Using Feedback in a Dropdown Problem¶

You can add feedback in a dropdown problem using the simple editor or the advanced editor. For an overview of feedback in problems, see Adding Feedback and Hints to a Problem.

In dropdown problems, you can provide feedback for each option that a learner can select. Use the following guidelines when providing feedback.

  • Use feedback for the incorrect answers to target common misperceptions and mistakes.
  • Ensure feedback provides some guidance to the learner about how to arrive at the correct answer.
  • Use feedback for the correct answer as an opportunity to reinforce why the answer is correct. Because learners are able to guess, ensure that feedback provides a reason why the answer is correct for learners who might have selected that answer by chance.

8.13.4.1. Configure Feedback in the Simple Editor¶

In the simple editor, you configure answer feedback with the following syntax. When you create a new dropdown problem, select the template Dropdown with Hints and Feedback. This template has example feedback syntax that you can replace.

Wrong Answer {{Feedback for learners who select this answer.}}
(Correct Answer) {{Feedback for learners who select this answer.}}

For example, the following problem has feedback for each possible answer.

>>A/an ________ is an example of a vegetable.<<

[[
  apple {{An apple is the fertilized ovary that comes from an apple tree and
    contains seeds classifying it as a fruit.}}
  pumpkin {{A pumpkin is the fertilized ovary of a squash plant and contains
    seeds classifying it as a fruit.}}
  (potato) {{A potato is an edible part of a plant in tuber form and is
    classified as a vegetable}}
  tomato {{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 classified as a fruit.}}
]]

8.13.4.2. Configure Feedback in the Advanced Editor¶

In the advanced editor, you configure answer feedback with the following syntax.

<option correct="False">
  Option Label
  <optionhint>
    Feedback for when learner selects this answer.
  </optionhint>
</option>

For example, the following problem has feedback for each answer.

<optionresponse>
  <optioninput label="A/an ________ is an example of a vegetable.">
    <option correct="False">
      apple
      <optionhint>
        An apple is the fertilized ovary that comes from an apple tree and
        contains seeds classifying it as a fruit.
      </optionhint>
    </option>
    <option correct="False">
      pumpkin
      <optionhint>
        A pumpkin is the fertilized ovary of a squash plant and contains
        seeds classifying it as a fruit.
      </optionhint>
    </option>
    <option correct="True">
      potato
      <optionhint>
        A potato is an edible part of a plant in tuber form and is
        classified as a vegetable.
      </optionhint>
    </option>
    <option correct="False">
      tomato
      <optionhint>
        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 classified as a fruit.
      </optionhint>
    </option>
  </optioninput>
</optionresponse>

8.13.4.3. Customize Feedback Labels¶

By default, the feedback labels shown to learners are Correct and Incorrect. If you do not define feedback labels, learners see these terms when they submit an answer, as in the following example.

Image of multiple choice feedback with the standard label.

You can configure the problem to override the default labels. For example, you can configure a custom label for a specific wrong answer.

Image of multiple choice feedback with a custom label.

Note

The default labels Correct and Incorrect are displayed in the learner’s requested language. If you provide custom labels, they are displayed to all users as you configure them and are not translated into different languages.

8.13.4.3.1. Customize Feedback Labels in the Simple Editor¶

In the simple editor, you configure custom feedback labels with the following syntax.

( ) Answer {{Label:: Feedback for learners who select this answer.}}

For example, the following feedback is configured to use a custom label.

( ) tomato {{Not Quite:: 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.}}

8.13.4.3.2. Customize Feedback Labels in the Advanced Editor¶

In the advanced editor, you configure custom feedback labels with the following syntax.

<option correct="False">
  Answer
  <optionhint label="Custom Label">
    Feedback for learners who select this answer.
  </optionhint>
</option>

For example, the following feedback is configured to use a custom label.

<option correct="False">
  tomato
  <optionhint label="Not Quite">
    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 classified as a fruit.
  </optionhint>
</option>

8.13.5. Using Hints in a Dropdown Problem¶

You can use hints in a dropdown problem, using the simple editor or the advanced editor. For an overview of hints in problems, see Adding Feedback and Hints to a Problem.

8.13.5.1. Configure Hints in the Simple Editor¶

In the simple editor, you configure hints with the following syntax.

||Hint 1||
||Hint 2||
||Hint n||

Note

You can configure any number of hints. The learner views one hint at a time and views the next one by selecting Hint again.

For example, the following problem has two hints.

||A fruit is the fertilized ovary from a flower.||
||A fruit contains seeds of the plant.||

8.13.5.2. Configure Hints in the Advanced Editor¶

In the advanced editor, you configure each hint in the <hint> element within the <demandhint> element.

<demandhint>
  <hint>Hint 1</hint>
  <hint>Hint 2</hint>
  <hint>Hint 3</hint>
</demandhint>

For example, the following XML shows two hints.

<demandhint>
  <hint>A fruit is the fertilized ovary from a flower.</hint>
  <hint>A fruit contains seeds of the plant.</hint>
</demandhint>

8.13.6. Dropdown Problem XML¶

8.13.6.1. Template¶

<problem>
<legend>Question text</legend>
<optionresponse>
  <option correct="False">
    Option Label
    <optionhint>
      Feedback for when learner selects this answer.
    </optionhint>
  </option>
  <option correct="True">
    Option Label
    <optionhint>
      Feedback for when learner selects this answer.
    </optionhint>
  </option>
</optionresponse>
<demandhint>
  <hint>Hint 1</hint>
  <hint>Hint 2</hint>
  <hint>Hint 3</hint>
</demandhint>
<solution>
  <div class="detailed-solution">
    <p>Explanation or Solution Header</p>
    <p>Explanation or solution text</p>
  </div>
</solution>
</problem>

8.13.6.2. Tags¶

  • <optionresponse> (required): Indicates that the problem is a dropdown problem.
  • <option> (required): Lists an answer option.
  • <demandhint> (optional): Specifies hints for the learner.

Tag: <optionresponse>

Indicates that the problem is a dropdown problem.

Attributes

(none)

Children

<option>

Tag: <option>

Lists the answer options.

Attributes

Attribute Description
correct (required) Indicates whether an answer is correct. Possible values are “true” and “false”. Only one correct attribute can be set to “true”.

Children

<optionhint>

Tag: <optionhint>

Specifies a hint for the answer.

Tag: <demandhint>

Specifies hints available to the learner.

Children

<hint>

Tag: <hint>

Specifies a hint available to the learner.

Children

(none)

Next Previous

Copyright © 2016, edX Inc.
Creative Commons License
These works by edX Inc. are licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.