Skip to main content
Ctrl+K
 Latest documentation - Home

User Home Pages

  • Community
    • Open edX Platform Release Notes
      • Quince: The current release
      • Open edX Named Release Branches and Tags
      • Older Open edX Releases
        • Open edX Palm Release
        • Open edX Olive Release
        • Open edX Nutmeg Release
        • Open edX Maple Release
        • Open edX Lilac Release
        • Open edX Koa Release
        • Open edX Juniper Release
        • Open edX Ironwood Release
        • Open edX Hawthorn Release
        • Open edX Ginkgo Release
        • Open edX Ficus Release
        • Open edX Eucalyptus Release
        • Open edX Dogwood Release
        • Open edX Cypress Release
        • Open edX Birch Release
    • Open edX Security Policy
  • Educators
  • Course Operators
  • Site Operators
    • Site Operators: Quick Start
    • Site Operators: How-tos
      • How to Enable a Waffle Flag for a User
      • Configuring Google Analytics
    • Site Operators: Concepts
    • Site Operators: References
  • Developers
    • Maintainers Home
  • Documentors
  • Translators
    • Get Started as a Translator
      • Quick Start: How to start translating for Open edX
    • How to fix translation validation errors
    • How to join a review team
    • How to join a translation team
    • How to request a new language for translation
    • Working With HTML
    • Working With Placeholders
    • Translators: Reference

Quick Starts

  • Educators: Build a Course
  • Course Operators: Run a Course
  • Site Operators: Set up Open edX
  • Developers: Contribute to Open edX
    • Quick Start: First Open edX Pull Request
  • Documentors: First Documentation PR

Open Source Community

  • Current Release: Quince
  • All Release Notes
    • Quince: The current release
    • Open edX Named Release Branches and Tags
    • Older Open edX Releases
      • Open edX Palm Release
      • Open edX Olive Release
      • Open edX Nutmeg Release
      • Open edX Maple Release
      • Open edX Lilac Release
      • Open edX Koa Release
      • Open edX Juniper Release
        • 1. Juniper release notes: Learner Experiences
        • 2. Juniper release notes: Educator Experiences
        • 3. Juniper release notes: Developer Experiences
      • Open edX Ironwood Release
      • Open edX Hawthorn Release
      • Open edX Ginkgo Release
      • Open edX Ficus Release
      • Open edX Eucalyptus Release
        • Enabling the Bulk Email Feature
        • Replacing the courseware_studentmodulehistory Table
      • Open edX Dogwood Release
      • Open edX Cypress Release
      • Open edX Birch Release
  • How to Contribute
  • OEPs (Open edX Proposals): Community Decision Documents

Educators: Build an Open edX Course

  • Quickstarts
  • How-tos
    • Create a Course
    • Add Course Creators
    • Schedule a Course
    • Create the Course About Page
    • Set Up Course Prerequisites
    • Set Up Certificates
    • Importing and Exporting a Course
    • Course re-runs
    • Open the Course Outline
    • Create a Section
    • Create a Subsection
    • Add the Course Structure
    • Add Units to the Outline
    • Reorganize the Course Outline
    • Delete Content
    • Add Written Content
    • Add an Image
    • Add Content in an Iframe
    • Copy and Paste Course Content
    • Copy and Paste Course Units
    • Manage Course Files
    • Add Course Updates and Hand-outs
    • Importing SCORM Content
    • Using LTI
    • Leveraging Libraries
    • Prepare Videos
    • Set Up a Hosting Service
    • Create a Video
    • Get a Video Transcript
    • Add a Transcript in Another Language
    • Add a YouTube Video
    • Enable Video and Transcript Downloads
    • Add a Checkbox Problem
    • Add a Dropdown Problem
    • Add a Multiple Choice Problem
    • Add a Numerical Input Problem
    • Add a Text Input Problem
    • Add a Custom JavaScript Display and Grading Problem
    • Add a Write-Your-Own-Grader Problem
    • Add a Math Expression Input Problem
    • Add an Open Response Assessment
    • Add an In-Video Quiz
    • Create Course-Wide Discussion Topics
    • Create Content-Specific Discussion Topics
    • Enable/Disable Anonymous Discussion Posts
    • Set Release Dates
    • Publish Content
    • Hide Content from Learners
    • Set Up Content Groups
    • Set Access Restrictions on a Unit
    • Set Access Restrictions on a Component
    • Set the Grading Policy
    • Set a Subsection to be Graded
    • Add a Course Page
    • Reorder Course Pages
    • Hide a Course Page
    • Preview Draft Content
    • View Your Course
    • View Your Course as a Learner
    • Beta Test Your Course
  • Concepts
    • Instructional Design Concepts
      • Instructional Design Overview
      • The Course Development Process
      • Instructional Design Templates
  • Reference
    • Complex Problem Types
    • Course Dates
    • Course Pacing
    • Course Sections
    • Course Subsections
    • Course Units
    • Simple Problem Types
    • User Roles
    • Instructional Design References
      • Sample Ref Doc

Course Operators: Run Open edX

  • Quickstarts
  • How-tos
  • Concepts
  • References

Site Operators: Set Up Open edX

  • Quickstarts
  • How-tos
    • How to Enable a Waffle Flag for a User
    • Configuring Google Analytics
  • Concepts
  • Reference

Software Developers: Enhance the Open edX Platform

  • Quickstarts
    • Quick Start: First Open edX Pull Request
  • How-tos
    • How To Add a Catalog File
    • How To Add Sphinx Docs to a Repo
    • How To Enable Javascript Upgrade Automation
    • How To Enable Python Upgrade Automation
    • Enabling Translations on a New Repo
    • How To Get Ready for Frontend Development
    • How To Get Ready for Python Development
    • How-to get your repository docs on docs.openedx.org
    • How To Maintain a Repository
    • Maintaining Translations on Your Repo
    • Ongoing Maintainer’s Tasks
    • How to Switch to the sphinx-book-theme for Documentation
    • How to Set Up Github Action to Monitor Python Coverage
  • Concepts
    • Open edX Accessibility Concepts
    • Backend Layout and Approach
    • OEP-58 Overview
    • Platform Overview
  • Reference
    • Running Pull Request Tests
    • Tools for Maintainers
    • Open edX Accessibility Reference
    • Event Reference
      • Events in the Tracking Logs
        • Reviewing a Sample Event
        • Common Fields
        • Student Events
        • Course Team Events
      • xAPI Events
      • Caliper Events
      • Alphabetical Tracking Log Event List
    • Open edX Developer’s Guide
      • 1. Open edX Platform Architecture
      • 2. Contributing to the Open edX Project
        • 2.1. Process for Contributing Code
        • 2.2. Contributing
        • 2.3. Landing Your Work
        • 2.4. Code Considerations
        • 2.5. Overview of Review Process for Community Contributions
        • 2.6. Pull Request Status Guide
        • 2.7. Core Contributors to the Open edX Project
      • 3. Extending the edX Platform
        • 3.1. Options for Extending the edX Platform
        • 3.2. Integrating XBlocks with edx-platform
      • 4. Testing
        • 4.1. Open edX Browser Support
        • 4.2. GitHub Actions
        • 4.3. Code Coverage
        • 4.4. Code Quality
      • 5. Analytics
      • 6. Writing Good Code
        • 6.1. Django Good Practices
      • 7. Writing Code for Internationalization
        • 7.1. Internationalization Coding Guidelines
      • 8. Preventing Cross Site Scripting Vulnerabilities
        • 8.1. Preventing Cross Site Scripting Vulnerabilities
        • 8.2. Preventing XSS by Stripping HTML Tags
        • 8.3. Preventing XSS in Django Templates
        • 8.4. Preventing XSS in React
      • 9. Language Style Guidelines
        • 9.1. Open edX JavaScript Style Guide
        • 9.2. Open edX Python Style Guide
        • 9.3. Open edX Sass Style Guide
    • Glossary

Documentors

  • Quickstarts
    • Quick Start: First Documentation PR
    • Quick Start: Add New Documentation Through GitHub
    • Quick Start: Update Existing Docs Through GitHub
  • How-tos
    • Add New Documentation via GitHub
    • Make Changes to your Pull Request
    • Update An Existing Doc via GitHub
  • Concepts
    • Documentation Content Types
    • Documentation Audiences
  • References
    • Documentation Checklist
    • Getting Started
    • Add Links in a Topic
    • Documentation Templates
    • Sample Document with Errors
    • Quick Reference: Writing RST

Translators

  • Quickstarts
    • Quick Start: How to start translating for Open edX
  • How-tos
    • How to fix translation validation errors
    • How to join a review team
    • How to join a translation team
    • How to request a new language for translation
  • Concepts
    • Translations Process
    • Working With HTML
    • Working With Placeholders
  • References

Other Topics

  • Documentation Feedback Form
  • Getting Help
  • Documentation Decisions
    • 1. Purpose of this Repo
    • 2. Choosing RST
    • 3. Documentation Layout
    • 4. Don't Use AutoSectionLabel Extension
    • 5. Use Markdown READMEs for repos published to npm


Open edX Wiki
Open edX website
Cookie Policy
Security Policy
  • Repository
  • Suggest edit
  • Open issue
  • .rst

Dropdown Problem

Contents

  • 10.13.1. Overview
    • 10.13.1.1. Example Dropdown Problem
  • 10.13.2. Adding a Dropdown Problem
    • 10.13.2.1. Adding Feedback
    • 10.13.2.2. Adding Hints
  • 10.13.3. Editing Dropdown Problems using the Advanced Editor
    • 10.13.3.1. Adding Feedback
      • 10.13.3.1.1. Customizing Feedback Labels
    • 10.13.3.2. Adding Hints
  • 10.13.4. Dropdown Problem OLX Reference
    • 10.13.4.1. Template
    • 10.13.4.2. Elements
      • 10.13.4.2.1. <optionresponse>
        • 10.13.4.2.1.1. Attributes
        • 10.13.4.2.1.2. Children
      • 10.13.4.2.2. <label>
        • 10.13.4.2.2.1. Attributes
        • 10.13.4.2.2.2. Children
      • 10.13.4.2.3. <description>
        • 10.13.4.2.3.1. Attributes
        • 10.13.4.2.3.2. Children
      • 10.13.4.2.4. <optioninput>
        • 10.13.4.2.4.1. Attributes
        • 10.13.4.2.4.2. Children
      • 10.13.4.2.5. <option>
        • 10.13.4.2.5.1. Attributes
      • 10.13.4.2.6. <optionhint>
        • 10.13.4.2.6.1. Attributes
        • 10.13.4.2.6.2. Children
      • 10.13.4.2.7. <solution>
      • 10.13.4.2.8. <demandhint>
        • 10.13.4.2.8.1. Attributes
        • 10.13.4.2.8.2. Children
      • 10.13.4.2.9. <hint>
        • 10.13.4.2.9.1. Attributes
        • 10.13.4.2.9.2. Children

10.13. 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.

10.13.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.

10.13.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.

10.13.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.

10.13.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.

10.13.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.

10.13.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.

10.13.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>

10.13.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.

10.13.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>

10.13.4. Dropdown Problem OLX Reference#

10.13.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>

10.13.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.

10.13.4.2.1. <optionresponse>#

Required. Indicates that the problem is a dropdown problem.

10.13.4.2.1.1. Attributes#

None.

10.13.4.2.1.2. Children#
  • <label>

  • <description>

  • <optioninput>

  • <solution>

10.13.4.2.2. <label>#

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

10.13.4.2.2.1. Attributes#

None.

10.13.4.2.2.2. Children#

None.

10.13.4.2.3. <description>#

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

10.13.4.2.3.1. Attributes#

None.

10.13.4.2.3.2. Children#

None.

10.13.4.2.4. <optioninput>#

Required. Designates an answer option.

10.13.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.

10.13.4.2.4.2. Children#
  • <option>

  • <optionhint>

10.13.4.2.5. <option>#

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

10.13.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>.

10.13.4.2.6. <optionhint>#

Optional. Specifies feedback for the answer.

10.13.4.2.6.1. Attributes#

None.

10.13.4.2.6.2. Children#

None.

10.13.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.

10.13.4.2.8. <demandhint>#

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

10.13.4.2.8.1. Attributes#

None.

10.13.4.2.8.2. Children#

<hint>

10.13.4.2.9. <hint>#

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

10.13.4.2.9.1. Attributes#

None.

10.13.4.2.9.2. Children#

None.


Feedback

Contents
  • 10.13.1. Overview
    • 10.13.1.1. Example Dropdown Problem
  • 10.13.2. Adding a Dropdown Problem
    • 10.13.2.1. Adding Feedback
    • 10.13.2.2. Adding Hints
  • 10.13.3. Editing Dropdown Problems using the Advanced Editor
    • 10.13.3.1. Adding Feedback
      • 10.13.3.1.1. Customizing Feedback Labels
    • 10.13.3.2. Adding Hints
  • 10.13.4. Dropdown Problem OLX Reference
    • 10.13.4.1. Template
    • 10.13.4.2. Elements
      • 10.13.4.2.1. <optionresponse>
        • 10.13.4.2.1.1. Attributes
        • 10.13.4.2.1.2. Children
      • 10.13.4.2.2. <label>
        • 10.13.4.2.2.1. Attributes
        • 10.13.4.2.2.2. Children
      • 10.13.4.2.3. <description>
        • 10.13.4.2.3.1. Attributes
        • 10.13.4.2.3.2. Children
      • 10.13.4.2.4. <optioninput>
        • 10.13.4.2.4.1. Attributes
        • 10.13.4.2.4.2. Children
      • 10.13.4.2.5. <option>
        • 10.13.4.2.5.1. Attributes
      • 10.13.4.2.6. <optionhint>
        • 10.13.4.2.6.1. Attributes
        • 10.13.4.2.6.2. Children
      • 10.13.4.2.7. <solution>
      • 10.13.4.2.8. <demandhint>
        • 10.13.4.2.8.1. Attributes
        • 10.13.4.2.8.2. Children
      • 10.13.4.2.9. <hint>
        • 10.13.4.2.9.1. Attributes
        • 10.13.4.2.9.2. Children

© Copyright 2024, Axim Collaborative.