Reverse pattern match

Question types ::: qtype_pmatchreverse
Maintained by Tim at Lone Pine Koala SanctuaryTim Hunt
A question type where the teacher provides some example sentences, and the student has to write a pmatch expression to match those sentences.

Reverse pattern match v1.1 for Moodle 2.5+

Moodle 2.5, 2.6, 2.7
Released: Tuesday, April 29, 2014, 2:48 AM
Reverse pattern match question type

This question type was created by Tim Hunt just for fun.

The pattern match question type allows the teacher to grade sentences entered by
the student using the pattern-match language. This question type does it backwards.
The teacher provides some sentences, and says whether or not they should be matched,
and the student has to come up with a pattern-match expression that does that.
This question type is intended to be used to help people learn pattern-match
syntax.

The pattern-match language is documented at
http://docs.moodle.org/dev/The_OU_PMatch_algorithm

This question type is compatible with Moodle 2.4+.

To install the question type using git, type this command in the root of your
Moodle install

git clone git://github.com/timhunt/moodle-qtype_pmatchreverse.git question/type/pmatchreverse
echo '/question/type/pmatchreverse' >> .git/info/exclude

Alternatively, download the zip from

https://github.com/moodleou/moodle-qtype_pmatchreverse/zipball/master

unzip it into the question/type folder, and then rename the new folder to pmatchreverse.

Note that you also need the pmatch question type installed:

git clone git://github.com/moodleou/moodle-editor_supsub.git lib/editor/supsub
echo '/lib/editor/supsub' >> .git/info/exclude
git clone git://github.com/moodleou/moodle-qtype_pmatch.git question/type/pmatch
echo '/question/type/pmatch' >> .git/info/exclude

or https://moodle.org/plugins/view.php?plugin=qtype_pmatch

Once the code is in place, remember to visit the Site administration -> Notifications
page to complete the install.

Version information

Version build number
2014042800
Version release name
v1.1 for Moodle 2.5+
Can be updated from
v0.2 for Moodle 2.4+ (2013041300), v1.0 for Moodle 2.5+ (2014010800)
Can be updated to
v1.2 for Moodle 2.6+ (2014111200)
Maturity
Stable version
MD5 Sum
142ba4b06a7253c26ce7a192056c2eba
Supported software
Moodle 2.5, Moodle 2.6, Moodle 2.7

Version control information

Version control system (VCS)
GIT
VCS repository URL
VCS branch
master
VCS tag
v1.1

Default installation instructions for plugins of the type Question types

  1. Make sure you have all the required versions.
  2. Download and unpack the module.
  3. Place the folder (eg "myquestiontype") in the "question/type" subdirectory.
  4. Visit http://yoursite.com/admin to finish the installation