Skip to main content
Ctrl+K
EdX Open Learning XML Guide - Alpha Version  documentation - Home
  • EdX Open Learning XML Guide
  • 1. General Information
    • 1.1. Read Me
    • 1.2. Other edX Resources
    • 1.3. Open edX Browser Support
  • 2. What is Open Learning XML?
  • 3. Getting Started with OLX
  • 4. OLX Course Structure
  • 5. Policies
    • 5.1. Course Policies
    • 5.2. Grading Policy
    • 5.3. Course Asset Policy
  • 6. Course Assets
  • 7. The Course About Pages
    • 7.1. Course Overview
    • 7.2. Short Description
  • 8. Course Tabs
  • 9. Organizing Courseware
    • 9.1. OLX Course Building Blocks
    • 9.2. The Courseware Structure
  • 10. Course Components (XBlocks)
    • 10.1. HTML Components
    • 10.2. Discussion Components
    • 10.3. Video Components
    • 10.4. Problem Components
  • 11. Exercises, Tools, and Problem Types
    • 11.1. Levels of Support
    • 11.2. Annotation Problem
    • 11.3. Chemical Equation Problem
    • 11.4. Circuit Schematic Builder Problem
    • 11.5. Completion Tool
    • 11.6. Conditional Module
    • 11.7. Custom JavaScript Display and Grading Problem
    • 11.8. Custom Python-evaluated Input Problem (Write-Your-Own-Grader)
    • 11.9. Drag and Drop Problem
    • 11.10. Dropdown Problem
    • 11.11. Full Screen Image Tool
    • 11.12. Gene Explorer Tool
    • 11.13. Google Calendar Tool
    • 11.14. Google Drive Files Tool
    • 11.15. Iframe Tool
    • 11.16. Image Mapped Input Problem
    • 11.17. LTI Component
    • 11.18. Math Expression Input Problems
    • 11.19. MathJax for Mathematics
    • 11.20. Multi-select Problem
    • 11.21. Numerical Input Problem
    • 11.22. Open Response Assessments
      • 11.22.1. Introduction to Open Response Assessments
      • 11.22.2. Create an Open Response Assessment Assignment
      • 11.22.3. Managing Open Response Assessment Assignments
      • 11.22.4. Staff Grading for Open Response Assignments
      • 11.22.5. Accessing Metrics for ORA Assignments
    • 11.23. Periodic Table Tool
    • 11.24. Poll Tool for OLX
    • 11.25. Poll Tool
    • 11.26. Problem Written in LaTeX
    • 11.27. Problem with Adaptive Hint
    • 11.28. Protex Protein Builder Tool
    • 11.29. Recommender Tool
    • 11.30. Single Select Problem
    • 11.31. Single Select and Numerical Input Problem
    • 11.32. Survey Tool
    • 11.33. Symbolic Response
    • 11.34. Text Input Problem
    • 11.35. Word Cloud Tool
    • 11.36. Zooming Image Tool
  • 12. Content Experiments
    • 12.1. Overview of Content Experiments
    • 12.2. Guidelines for Modifying Group Configurations
    • 12.3. Set Up Group Configuration for OLX Courses
    • 12.4. Add a Content Experiment in OLX
    • 12.5. Test Content Experiments
  • 13. Example of an OLX Course
    • 13.1. The Structure of edX-Insider
    • 13.2. The edX-Insider course.xml File
  • 14. Example of OLX for a Studio Course
    • 14.1. The Structure of the Manual Testing Course
  • 15. Open Learning XML Uses
    • 15.1. Use OLX with edX Studio
    • 15.2. Build a Course in OLX and Deploy to the edX LMS
    • 15.3. Convert Content in Other Formats to OLX
  • 16. Draft Course Content
  • 17. Glossary
  • Repository
  • Suggest edit
  • Open issue
  • .rst

Dropdown Problem

Contents

  • 11.10.1. Overview
    • 11.10.1.1. Example Dropdown Problem
  • 11.10.2. Adding a Dropdown Problem
    • 11.10.2.1. Adding Feedback
    • 11.10.2.2. Adding Hints
  • 11.10.3. Editing Dropdown Problems using the Advanced Editor
    • 11.10.3.1. Adding Feedback
      • 11.10.3.1.1. Customizing Feedback Labels
    • 11.10.3.2. Adding Hints
  • 11.10.4. Dropdown Problem OLX Reference
    • 11.10.4.1. Template
    • 11.10.4.2. Elements
      • 11.10.4.2.1. <optionresponse>
        • 11.10.4.2.1.1. Attributes
        • 11.10.4.2.1.2. Children
      • 11.10.4.2.2. <label>
        • 11.10.4.2.2.1. Attributes
        • 11.10.4.2.2.2. Children
      • 11.10.4.2.3. <description>
        • 11.10.4.2.3.1. Attributes
        • 11.10.4.2.3.2. Children
      • 11.10.4.2.4. <optioninput>
        • 11.10.4.2.4.1. Attributes
        • 11.10.4.2.4.2. Children
      • 11.10.4.2.5. <option>
        • 11.10.4.2.5.1. Attributes
      • 11.10.4.2.6. <optionhint>
        • 11.10.4.2.6.1. Attributes
        • 11.10.4.2.6.2. Children
      • 11.10.4.2.7. <solution>
      • 11.10.4.2.8. <demandhint>
        • 11.10.4.2.8.1. Attributes
        • 11.10.4.2.8.2. Children
      • 11.10.4.2.9. <hint>
        • 11.10.4.2.9.1. Attributes
        • 11.10.4.2.9.2. Children

11.10. Dropdown Problem#

Note

EdX offers full support for this problem type.

The dropdown problem type is a simple problem type that can be added to any course. Dropdown problems include a question or prompt and several answer options with a single correct answer. By adding hints, feedback, or both, you can give learners guidance and help when they work on a problem.

  • Overview

    • Example Dropdown Problem

  • Adding a Dropdown Problem

    • Adding Feedback

    • Adding Hints

  • Editing Dropdown Problems using the Advanced Editor

    • Adding Feedback

    • Adding Hints

  • Dropdown Problem OLX Reference

    • Template

    • Elements

For more information about the simple problem types, see Working with Problem Components.

11.10.1. Overview#

In dropdown problems, learners select one answer from a list of answer options. Unlike single select problems, where the answer choices are always visible directly below the question, the answer options for dropdown problems do not appear until the learner selects the dropdown arrow.

Dropdown problems can only have one correct answer per question, we recommend adding a “Both B & C” answer where multiple selections could be correct.

11.10.1.1. Example Dropdown Problem#

In the LMS, learners select a single answer option to complete a dropdown problem. An example of a dropdown problem from the learner’s perspective follows.

A problem component that contains three answer choices.

11.10.2. Adding a Dropdown Problem#

You add dropdown problems in Studio by selecting the Problem component. In the problem editor, select the Dropdown option. Fill in the fields on this screen to create your problem.

An example dropdown problem in the problem editor with number indicators labeling the various features.

Creating a dropdown problem is as simple as:

  1. Editing the Display Name. Click the pen symbol to edit.

  2. Filling in the Question field.

  3. Filling in the Explanation field. When this is shown to learners is based on the selection in the Show answer panel on the right.

  4. Filling in the Answer fields. Select the correct answer by ticking off the radio button. Additional answers can be added by clicking the Add answer button. Answers can be deleted by clicking the trash can icon. Feedback can be provided for each answer. More information on feedback can be found in the following section.

  5. Selecting and filling in any desired settings on the right.

If you have any questions on the specifics of using the simple editor, please check out The Simple Editor and Defining Settings for Problem Components.

11.10.2.1. Adding Feedback#

For an overview of feedback in problems, see Adding Feedback and Hints to a Problem. You can add feedback for each of the answer options you provide in the problem. Use the following guidelines when providing feedback.

  • Use feedback for the incorrect answers to target common misconceptions and mistakes.

  • Ensure feedback provides some guidance to the learner about how to arrive at the correct answer.

  • Use feedback for the correct answer 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.

An example of an expanded feedback section for dropdown problems showing the 'is selected' feedback field.

11.10.2.2. Adding Hints#

You can add hints to a dropdown problem. For an overview of hints in problems, see Adding Feedback and Hints to a Problem.

In the settings panels on the right of the editor, you’ll find a Hints panel.

An example of the hints settings panel.

Click the Add hint button to add a new hint text field. To delete any hints you’ve added, click the trash can icon next to its respective hint field.

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.

11.10.3. Editing Dropdown Problems using the Advanced Editor#

If the simple editor is not enough to meet your needs, you can switch over to the advanced editor. In the setting panels on the right of the editor, click Show advanced settings, then scroll down and click Switch to advanced editor.

You can use the advanced editor to identify the elements of a dropdown problem with OLX. For more information, see Dropdown Problem OLX Reference. To format equations, you can use MathJax. For more information, see MathJax for Mathematics.

You can see the OLX for the example problem from the Overview section below.

<problem>
  <optionresponse>
    <label>What type of data is age?</label>
    <optioninput options="('Nominal','Discrete','Continuous')"
    correct="Continuous"></optioninput>
  </optionresponse>
</problem>

Note

You can begin work on the problem in the simple editor, and then switch to the advanced editor. However, after you save any advanced OLX changes you make in the advanced editor, you may not be able to cannot switch back to the simple editor.

11.10.3.1. Adding Feedback#

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

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

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

<problem>
  <optionresponse>
    <label>A/an ________ is an example of a vegetable.</label>
    <optioninput>
      <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>
</problem>

11.10.3.1.1. Customizing 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.

Incorrect: A pumpkin is the fertilized ovary of a squash plant and contains
seeds classifying it as a fruit.

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

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.

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

<choice correct="true or false">Answer
  <choicehint label="Custom Label">Feedback for learners who select this
  answer.</choicehint>
</choice>

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

<choice correct="false">tomato
  <choicehint 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 a fruit.</choicehint>
</choice>

Note

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

11.10.3.2. Adding Hints#

In the advanced editor, you add the <demandhint> element immediately before the closing </problem> tag, and then configure each hint using the <hint> element.

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

For example, the following OLX for a single select problem shows two hints.

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

11.10.4. Dropdown Problem OLX Reference#

11.10.4.1. Template#

<problem>
  <optionresponse>
    <label>Question or prompt text</label>
    <description>Optional information about how to answer the question</description>
    <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>
    <solution>
      <div class="detailed-solution">
        <p>Explanation or Solution Header</p>
        <p>Explanation or solution text</p>
      </div>
    </solution>
  </optionresponse>
  <demandhint>
    <hint>Hint 1</hint>
    <hint>Hint 2</hint>
    <hint>Hint 3</hint>
  </demandhint>
</problem>

11.10.4.2. Elements#

For dropdown problems, the <problem> element can include this hierarchy of child elements.

<optionresponse>
    <label>
    <description>
    <optioninput>
          <option>
              <optionhint>
    <solution>
<demandhint>
    <hint>

In addition, standard HTML tags can be used to format text.

11.10.4.2.1. <optionresponse>#

Required. Indicates that the problem is a dropdown problem.

11.10.4.2.1.1. Attributes#

None.

11.10.4.2.1.2. Children#
  • <label>

  • <description>

  • <optioninput>

  • <solution>

11.10.4.2.2. <label>#

Required. Identifies the question or prompt. You can include HTML tags within this element.

11.10.4.2.2.1. Attributes#

None.

11.10.4.2.2.2. Children#

None.

11.10.4.2.3. <description>#

Optional. Provides clarifying information about how to answer the question. You can include HTML tags within this element.

11.10.4.2.3.1. Attributes#

None.

11.10.4.2.3.2. Children#

None.

11.10.4.2.4. <optioninput>#

Required. Designates an answer option.

11.10.4.2.4.1. Attributes#

Attribute

Description

options

Either this attribute or a set of <option> child elements for <optioninput> is required. Accepts a comma separated list of values in the following format.

options="('Answer1','Answer2','Answer3')"

correct

Used if the options attribute is set. Required. Indicates which of the answer options is correct.

11.10.4.2.4.2. Children#
  • <option>

  • <optionhint>

11.10.4.2.5. <option>#

Designates an answer option. Either a set of <option> child elements or the options attribute for <optioninput> is required.

11.10.4.2.5.1. Attributes#

Attribute

Description

correct

Required. Indicates whether the answer option is correct or incorrect. When set to "true", the choice is a correct answer. At least one required. When set to "false", the choice is an incorrect answer.

If the <option> element is used, <optionhint> is a child of <option>.

11.10.4.2.6. <optionhint>#

Optional. Specifies feedback for the answer.

11.10.4.2.6.1. Attributes#

None.

11.10.4.2.6.2. Children#

None.

11.10.4.2.7. <solution>#

Optional. Identifies the explanation or solution for the problem, or for one of the questions in a problem that contains more than one question.

This element contains an HTML division <div>. The division contains one or more paragraphs <p> of explanatory text.

11.10.4.2.8. <demandhint>#

Optional. Specifies hints for the learner. For problems that include multiple questions, the hints apply to the entire problem.

11.10.4.2.8.1. Attributes#

None.

11.10.4.2.8.2. Children#

<hint>

11.10.4.2.9. <hint>#

Required. Specifies additional information that learners can access if needed.

11.10.4.2.9.1. Attributes#

None.

11.10.4.2.9.2. Children#

None.

previous

11.9. Drag and Drop Problem

next

11.11. Full Screen Image Tool

Contents
  • 11.10.1. Overview
    • 11.10.1.1. Example Dropdown Problem
  • 11.10.2. Adding a Dropdown Problem
    • 11.10.2.1. Adding Feedback
    • 11.10.2.2. Adding Hints
  • 11.10.3. Editing Dropdown Problems using the Advanced Editor
    • 11.10.3.1. Adding Feedback
      • 11.10.3.1.1. Customizing Feedback Labels
    • 11.10.3.2. Adding Hints
  • 11.10.4. Dropdown Problem OLX Reference
    • 11.10.4.1. Template
    • 11.10.4.2. Elements
      • 11.10.4.2.1. <optionresponse>
        • 11.10.4.2.1.1. Attributes
        • 11.10.4.2.1.2. Children
      • 11.10.4.2.2. <label>
        • 11.10.4.2.2.1. Attributes
        • 11.10.4.2.2.2. Children
      • 11.10.4.2.3. <description>
        • 11.10.4.2.3.1. Attributes
        • 11.10.4.2.3.2. Children
      • 11.10.4.2.4. <optioninput>
        • 11.10.4.2.4.1. Attributes
        • 11.10.4.2.4.2. Children
      • 11.10.4.2.5. <option>
        • 11.10.4.2.5.1. Attributes
      • 11.10.4.2.6. <optionhint>
        • 11.10.4.2.6.1. Attributes
        • 11.10.4.2.6.2. Children
      • 11.10.4.2.7. <solution>
      • 11.10.4.2.8. <demandhint>
        • 11.10.4.2.8.1. Attributes
        • 11.10.4.2.8.2. Children
      • 11.10.4.2.9. <hint>
        • 11.10.4.2.9.1. Attributes
        • 11.10.4.2.9.2. Children

© Copyright 2023, The Axim Collaborative.

Creative Commons License
These works by The Axim Collaborative are licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.