From 7ad5561abd7cad72464f00ffef335fb79d24c4cc Mon Sep 17 00:00:00 2001 From: Mark Hoeber Date: Wed, 22 Oct 2014 11:29:52 -0400 Subject: [PATCH] Fixed Text Input Template --- docs/en_us/course_authors/source/change_log.rst | 2 ++ .../course_authors/source/exercises_tools/text_input.rst | 6 +++--- docs/en_us/olx/source/change_log.rst | 2 ++ docs/en_us/shared/exercises_tools/text_input.rst | 6 +++--- 4 files changed, 10 insertions(+), 6 deletions(-) diff --git a/docs/en_us/course_authors/source/change_log.rst b/docs/en_us/course_authors/source/change_log.rst index 48881534c4..781121d937 100644 --- a/docs/en_us/course_authors/source/change_log.rst +++ b/docs/en_us/course_authors/source/change_log.rst @@ -16,6 +16,8 @@ October, 2014 * - 10/27/14 - Fixed the code sample in :ref:`Script Tag Format` in the :ref:`Write Your Own Grader` chapter. + * - + - Fixed a bug in :ref:`Text Input Problem XML`. * - 10/23/14 - Added note about limited support of annotation problem type to :ref:`Annotation`. diff --git a/docs/en_us/course_authors/source/exercises_tools/text_input.rst b/docs/en_us/course_authors/source/exercises_tools/text_input.rst index 84d970b03f..d02fa3c595 100644 --- a/docs/en_us/course_authors/source/exercises_tools/text_input.rst +++ b/docs/en_us/course_authors/source/exercises_tools/text_input.rst @@ -77,7 +77,7 @@ To create this problem in the Advanced Editor, click the **Advanced** tab in the This problem is adapted from an exercise that first appeared in MITx's 14.73x The Challenges of Global Poverty course, spring 2013.

What is the technical term that refers to the fact that, when enough people sleep under a bednet, the disease may altogether disappear?

- + community immunity population immunity @@ -211,7 +211,7 @@ Hints and Regular Expressions in Text Input Problems You can provide hints that appear when students enter common incorrect answers in text input problems. You can also set a text input problem to allow a regular expression as an answer. To do this, you'll have to modify the problem's XML in the Advanced Editor. -The regular expression that the student enters must contain the part of the answer that the instructor specifies. For example, if an instructor has specified ````, correct answers include ``example answered``, ``two example answers``, or even ``==example answer==``, but not ``examples`` or ``example anser``. +The regular expression that the student enters must contain the part of the answer that the instructor specifies. For example, if an instructor has specified ````, correct answers include ``example answered``, ``two example answers``, or even ``==example answer==``, but not ``examples`` or ``example anser``. You can add ``regexp`` to the value of the ``type`` attribute, for example: ``type="ci regexp"`` or ``type="regexp"`` or ``type="regexp cs"``. In this case, any answer or hint are treated as regular expressions. @@ -229,7 +229,7 @@ Template

Problem text

- + Correct answer 2 Correct answer 3 diff --git a/docs/en_us/olx/source/change_log.rst b/docs/en_us/olx/source/change_log.rst index 59fd34e0ea..6d01d2735e 100644 --- a/docs/en_us/olx/source/change_log.rst +++ b/docs/en_us/olx/source/change_log.rst @@ -16,6 +16,8 @@ October, 2014 * - 10/23/14 - Fixed the code sample in :ref:`Script Tag Format` in the :ref:`Write Your Own Grader` chapter. + * - + - Fixed a bug in the :ref:`Text Input Problem XML`. * - 10/17/14 - Provided more explanation to the introduction to :ref:`Problems and Tools`. diff --git a/docs/en_us/shared/exercises_tools/text_input.rst b/docs/en_us/shared/exercises_tools/text_input.rst index 84d970b03f..d02fa3c595 100644 --- a/docs/en_us/shared/exercises_tools/text_input.rst +++ b/docs/en_us/shared/exercises_tools/text_input.rst @@ -77,7 +77,7 @@ To create this problem in the Advanced Editor, click the **Advanced** tab in the This problem is adapted from an exercise that first appeared in MITx's 14.73x The Challenges of Global Poverty course, spring 2013.

What is the technical term that refers to the fact that, when enough people sleep under a bednet, the disease may altogether disappear?

- + community immunity population immunity @@ -211,7 +211,7 @@ Hints and Regular Expressions in Text Input Problems You can provide hints that appear when students enter common incorrect answers in text input problems. You can also set a text input problem to allow a regular expression as an answer. To do this, you'll have to modify the problem's XML in the Advanced Editor. -The regular expression that the student enters must contain the part of the answer that the instructor specifies. For example, if an instructor has specified ````, correct answers include ``example answered``, ``two example answers``, or even ``==example answer==``, but not ``examples`` or ``example anser``. +The regular expression that the student enters must contain the part of the answer that the instructor specifies. For example, if an instructor has specified ````, correct answers include ``example answered``, ``two example answers``, or even ``==example answer==``, but not ``examples`` or ``example anser``. You can add ``regexp`` to the value of the ``type`` attribute, for example: ``type="ci regexp"`` or ``type="regexp"`` or ``type="regexp cs"``. In this case, any answer or hint are treated as regular expressions. @@ -229,7 +229,7 @@ Template

Problem text

- + Correct answer 2 Correct answer 3