Moodle plugins directory: Reverse pattern match: Versions: v1.0 for Moodle 2.5+ | Moodle.org
Reverse pattern match
Question types ::: qtype_pmatchreverse
Maintained by Tim Hunt, Anupama Sarjoshi
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.0 for Moodle 2.5+
Moodle 2.5, 2.6, 2.7
Released: keskiviikkona 8. tammikuuta 2014, 22.15
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.
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
- 2014010800
- Version release name
- v1.0 for Moodle 2.5+
- Can be updated from
- v0.2 for Moodle 2.4+ (2013041300)
- Can be updated to
- v1.1 for Moodle 2.5+ (2014042800), v1.2 for Moodle 2.6+ (2014111200)
- Maturity
- Vakaa versio
- MD5 Sum
- f9b34f2d4c52301b985b381b4660fa0e
- Supported software
- Moodle 2.5, Moodle 2.6, Moodle 2.7
- The more recent release v1.1 for Moodle 2.5+ (2014042800) exists for Moodle 2.5
- The more recent release v1.2 for Moodle 2.6+ (2014111200) exists for Moodle 2.6
- The more recent release v1.2 for Moodle 2.6+ (2014111200) exists for Moodle 2.7
Version control information
- Version control system (VCS)
- GIT
- VCS repository URL
- VCS branch
- master
- VCS tag
- v1.0
Default installation instructions for plugins of the type Question types
- Make sure you have all the required versions.
- Download and unpack the module.
- Place the folder (eg "myquestiontype") in the "question/type" subdirectory.
- Visit http://yoursite.com/admin to finish the installation