Note: You are currently viewing documentation for Moodle 1.9. Up-to-date documentation for the latest stable version is available here: Numerical question type.

Talk:Numerical question type

From MoodleDocs
Revision as of 10:34, 11 September 2006 by Helen Foster (talk | contribs) (content moved from Question types)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Additional content

Lesson Module said: This type of question requires a number as the answer. In it's simplest form it requires just one answer to be specified. For example "What is 2 plus 2?" with the answer 4 given a forward jump. However, it is better to specify a range because the internal rounding of numerical values can make single numeric comparisons rather hit or miss. Thus, if the question were "What is 10 divided by 3" it would be necessary to give the answer as Minimum:Maximum, that is two values separated by a colon. Thus if 3.33:3.34 is given as the acceptable range for the answer, then the answers 3.33, 3.333, 3.3333... would all be taken as correct answers. "Wrong" answers would include 3.3 (less than the minimum) and 3.4 (greater than the maximum).

More than one correct answer is allowed and the answers can be either single or pair of values. Note that the order in which the answers are tested is Answer 1, Answer 2... so some care needs to taken if the desired response is to appear. For example the question "When was Larkin born?" could have the single value of 1922, the exact answer, and the pair of values 1920:1929, the 20's, as the less exact answer.The order in which these values should be tested is, obviously, 1922 then 1920:1929. The first answer might have the response "That's exactly right" while the other answer's response might be "That's close, you've got the right decade, it is was actually 1922."

Wrong answers can be given but depending on their actual range, care should be taken to place them after the correct answers. For example in adding the wrong answer 3:4 to the "10 divided by 3" question it needs to come after the correct answer. That is the answers are ordered 3.33:3.34 (the "correct" answer) then 3:4 (the "wrong" answer, but not wildly wrong answer!).

Unfortunately this question differs from the numerical quiz question and the numerical embedded question (Cloze) in a couple of ways. 3:4 in those questions means "3 plus or minus 4", in other words from -1 to 7. The embedded question doesn't support interval boundaries. The numerical question, if imported in GIFT format, can use "3..4" as the interval from 3 to 4. Another difference is that those questions accept , as decimal in student answers, but the lesson numerical question doesn't.

Please move text above to Numerical question type as appropriate. --Helen Foster 05:34, 11 September 2006 (CDT)