From 5389648d0b21bb9c9762c1c1612e9a2972827b91 Mon Sep 17 00:00:00 2001 From: tjhunt Date: Tue, 22 Apr 2008 14:40:09 +0000 Subject: [PATCH] MDL-14467 - qtype_multichoice help file in the wrong place - merged from 1.8/1.9 stable. In addition, move the other multichoice help file to the correct location, and update all references. --- .../help/qtype_multichoice/multichoice.html | 19 +++++++++++++++++++ .../qtype_multichoice/multichoiceshuffle.html | 9 +++++++++ lang/en_utf8/help/quiz/index.html | 4 ++-- lang/en_utf8/help/quiz/multichoice.html | 2 ++ .../en_utf8/help/quiz/multichoiceshuffle.html | 2 ++ .../multichoice/edit_multichoice_form.php | 2 +- 6 files changed, 35 insertions(+), 3 deletions(-) create mode 100644 lang/en_utf8/help/qtype_multichoice/multichoice.html create mode 100644 lang/en_utf8/help/qtype_multichoice/multichoiceshuffle.html diff --git a/lang/en_utf8/help/qtype_multichoice/multichoice.html b/lang/en_utf8/help/qtype_multichoice/multichoice.html new file mode 100644 index 0000000000..4167638e6c --- /dev/null +++ b/lang/en_utf8/help/qtype_multichoice/multichoice.html @@ -0,0 +1,19 @@ +

Multiple Choice questions

+ +

In response to a question (that may include a image) the respondent + chooses from multiple answers. There are two types of multiple choice + questions - single answer and multiple answer.

+ +

Single-answer questions allow one and only one answer to be chosen. + Generally all the grades for such a question should be positive.

+ +

Multiple-answer questions allow one or more answers to be chosen - each answer + may carry a positive or negative grade, so that choosing ALL the options + will not necessarily result in good grade. If the total grade is negative + then the total grade for this question will be zero. Careful, it is + possible to create questions that have scores greater than 100%.

+ +

Finally, each answer (right or wrong) should include feedback - this feedback + will be shown to the respondent next to each of their answers (if the quiz + itself is configured to show feedback). +

diff --git a/lang/en_utf8/help/qtype_multichoice/multichoiceshuffle.html b/lang/en_utf8/help/qtype_multichoice/multichoiceshuffle.html new file mode 100644 index 0000000000..83922bb43b --- /dev/null +++ b/lang/en_utf8/help/qtype_multichoice/multichoiceshuffle.html @@ -0,0 +1,9 @@ +

Shuffle answers

+ +

If you set this option to "Yes", then the order of the answers + is randomly shuffled each time a student starts an attempt at a quiz + containing this question - provided that "Shuffle within questions" in + the Quiz settings is set to "Yes".

+ +

The intention is simply to make it a little harder for students + to copy from each other.

\ No newline at end of file diff --git a/lang/en_utf8/help/quiz/index.html b/lang/en_utf8/help/quiz/index.html index 975ac0faa6..366c48822e 100644 --- a/lang/en_utf8/help/quiz/index.html +++ b/lang/en_utf8/help/quiz/index.html @@ -30,8 +30,8 @@
  • Match Grades
  • Shuffle
  • Maximum grade
  • -
  • Multiple choice questions
  • -
  • Shuffle answers (Multiple choice)
  • +
  • Multiple choice questions
  • +
  • Shuffle answers (Multiple choice)
  • Numerical questions
  • Opening and closing the quiz
  • Overall Feedback
  • diff --git a/lang/en_utf8/help/quiz/multichoice.html b/lang/en_utf8/help/quiz/multichoice.html index 4167638e6c..fbc95a1c41 100644 --- a/lang/en_utf8/help/quiz/multichoice.html +++ b/lang/en_utf8/help/quiz/multichoice.html @@ -1,3 +1,5 @@ +

    Multiple Choice questions

    In response to a question (that may include a image) the respondent diff --git a/lang/en_utf8/help/quiz/multichoiceshuffle.html b/lang/en_utf8/help/quiz/multichoiceshuffle.html index 83922bb43b..bde0ff7da9 100644 --- a/lang/en_utf8/help/quiz/multichoiceshuffle.html +++ b/lang/en_utf8/help/quiz/multichoiceshuffle.html @@ -1,3 +1,5 @@ +

    Shuffle answers

    If you set this option to "Yes", then the order of the answers diff --git a/question/type/multichoice/edit_multichoice_form.php b/question/type/multichoice/edit_multichoice_form.php index 1ead8d8f41..a9feae700a 100644 --- a/question/type/multichoice/edit_multichoice_form.php +++ b/question/type/multichoice/edit_multichoice_form.php @@ -26,7 +26,7 @@ class question_edit_multichoice_form extends question_edit_form { $mform->setDefault('single', 1); $mform->addElement('advcheckbox', 'shuffleanswers', get_string('shuffleanswers', 'qtype_multichoice'), null, null, array(0,1)); - $mform->setHelpButton('shuffleanswers', array('multichoiceshuffle', get_string('shuffleanswers','qtype_multichoice'), 'quiz')); + $mform->setHelpButton('shuffleanswers', array('multichoiceshuffle', get_string('shuffleanswers','qtype_multichoice'), 'qtype_multichoice')); $mform->setDefault('shuffleanswers', 1); $numberingoptions = $QTYPES[$this->qtype()]->get_numbering_styles(); -- 2.39.5