Note: You are currently viewing documentation for Moodle 3.1. Up-to-date documentation for the latest stable version of Moodle is probably available here: Pattern-match question type.

Pattern-match question type: Difference between revisions

From MoodleDocs
(Added Infobox plugin)
(Added note stating that the decimal separator needs to be a full stop.)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Infobox plugin
{{Infobox plugin
|type = question type
|type = question type
|entry = v
|entry = https://moodle.org/plugins/qtype_pmatch
|tracker = https://github.com/moodleou/moodle-qtype_pmatch
|tracker = https://github.com/moodleou/moodle-qtype_pmatch
|discussion = https://moodle.org/mod/forum/view.php?id=737
|discussion = https://moodle.org/mod/forum/view.php?id=737
Line 12: Line 12:


This is a question type created and maintained by the Open University.
This is a question type created and maintained by the Open University.
{{Note|This question type assumes that the [https://docs.moodle.org/dev/Decimal_separator#Pmatch_and_other_Open_University_question_types_problems.3D decimal separator] is a full stop. It will not work if you try to use a a decimal comma.}}


== More documentation ==
== More documentation ==

Latest revision as of 23:48, 29 September 2016


Pattern-match questions allow the student to give an answer of up to about 20 words, which can then be automatically graded by matching the students response against a number of different patterns expressed in the PMatch syntax. The first matching pattern determines the score and the feedback.

pmatch.png

This is a question type created and maintained by the Open University.

Note: This question type assumes that the decimal separator is a full stop. It will not work if you try to use a a decimal comma.


More documentation

More documentation is available in the Open University's reference manual. That includes a description of the pmatch syntax. There is another page that explains The OU PMatch algorithm, but that was written before development started, and may not be a 100% accurate description of what was finally implemented.

See also