-
Notifications
You must be signed in to change notification settings - Fork 10
Home
A very easy to use Moodle question type that allows a teacher to create text where one or more words are indicated to be the correct answers. The student is presented with the text and can select one or more words and is marked according to if they are correct.
You can see a short video of it in action in this Youtube video
https://www.youtube.com/watch?v=FGv-c7fJIxo
This question type is designed to ask students to select text according to some criteria. For example "select the verb in the following sentence". Conceptually this is a little like a multiple choice question type (with multiple selectable options). The indicated words (with the delimiting characters around them e.g. [sat])are correct and all other words are incorrect. The braces are not shown at runtime when a student is attempting the question. A word is considered to be some text with space around it. HTML characters are stripped out first to generate a list of potentially selectable words, meaning it is possible to put words within a table.
Pedagogically this type of question has the advantage of it being possible to give no clue as to which word is to be selected. You might address the problem by offering four multiple choice options with different words in locations but this will narrow down the selection that the student can possibly make. By making every word selectable the student has little guide as to which is the correct answer.
The marking is designed to discourage a strategy of "select all words so you are bound to select all the right words". Each incorrectly selected word will deduct a mark down to zero. For example, selecting one correct and one incorrect mark will result in zero marks. Selecting one correct and two incorrect will also result in zero. A count of all incorrect marks is deducted from a count of all correct marks unless there is a negative result, in which case the mark is set to zero.
An attempt will be graded as correct if all correct and no incorrect words are selected. If any
incorrect words are selected it will be marked as partially correct. In interactive mode the penalty
defined in the editing form will be applied with each new check/attempt. This defaults to 33.33%
If the quiz has the right answer display selected, square braces will be shown around any unselected correct words. The square braces are not related to the default characters used in the editing interface. This is designed to allow the user to see the correct responses within the text rather than look at the feedback area (an approach used in some other question types).
Images will work in the question type if they are pasted into the text editor. This means they get saved and backed up as encoded text.
The question type comes with a set of sample questions in xml format. These illustrate issues such as non ASCII characters, the inclusion of images and the creation of word squares where each "word" is a single letter and the user has to click on the letters that make up words (e.g. find the animals in this square)
The question type requires javascript to be enabled. The primary use is expected to be via the use of a mouse or pointing device. It is possible to tab forwards and backwards through the words and to select and deselect using the right arrow key . When a question is complete, colour is used to indicate correct/incorrect response, correct word which these are augmented by the use of titles and alt tags, i.e. "correct answer", "incorrect answer".
It has been developed mainly with Chrome,Firefox and MS IE and briefly tested on various Android and Apple ioS devices. It comes with Behat scripts that perform testing by driving a web browser. Windows 8.1 and Debian Linux were the main development platforms. The behat tests have tags. To test only basic use the following
vendor/bin/behat --config /Applications/MAMP/htdocs/moodle/behatdata/behatrun/behat/behat.yml --tags=@qtype_wordselect_basic
To test all three use
vendor/bin/behat --config /Applications/MAMP/htdocs/moodle/behatdata/behatrun/behat/behat.yml --tags=@qtype_wordselect
The code is currently considered mature and stable and is available as a download from the Moodle plugins database. It has been discussed in the Moodle forums here https://moodle.org/mod/forum/discuss.php?d=337262 . You can see statistics on the number of sites that are using it here https://moodle.org/plugins/stats.php?plugin=qtype_wordselect
Read a little about me here https://github.com/marcusgreen/moodle-qtype_gapfill/wiki
-
Fractional penalty for incorrect selection, e.g. each incorrect selection deducts 25%done - Feedback according to what word is selected:Keen on this, but only if it adds no more syntax requirements
-
Work in the Moodle mobile Appdone -
A way of marking some words unselectable.done - A generate a word square wizard