## Question types: Word Select

qtype_wordselect
Maintained by Marcus Green
A very easy to use "select the words" Moodle question type.
908 sites
50 fans
Current versions available: 2

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

If you want to ask questions, do it in the forums rather than the comments under this question.

Contact Titus Learning for custom development and consultancy.

### Contributors

• Tue, Feb 13, 2018, 5:13 PM
Have you tried with square braces [country]. You can try importing the example questions that come as an xml file with it and you can also try experimenting with it on the Gapfill course here http://vledevelop.co.uk/moodle, or take a look here questiontype.co.uk/mdl
• Tue, Feb 27, 2018, 7:18 PM
Hello Marcus,
Thank you for this plugin. It works great with texts, sentences, ... but we are in trouble when trying to use it with TeX notation : we got something like 'x' on the screen while trying to write '+x' in TeX.
Do you encoutered the problem ?
We use Moodle 3.3.3+ (Build: 20171201).
Thanks again.
• Tue, Feb 27, 2018, 7:36 PM
Hi Serge, glad you like it. I will investigate the issue of rendering Tex notation. Please email me directly at marcusavgreen @ gmail. dot com.
• Wed, Feb 28, 2018, 4:41 AM
There are two issues with Tex notation, one is that wordselect splits on gaps so you would need to remove any gaps (view in html mode is a good way), and another thing is that it may contain delimit characters, so for example square braces are common so you might want to use @ instead, e.g. @$$+x$$@
• Mon, Apr 9, 2018, 8:17 PM
We look forward to implementing this. This will fit in nicely with some requests that we have. We will be changing the icon though (um, XXX doesn't have good connotation for schools).
• Mon, Apr 9, 2018, 8:19 PM
Ha, I had never thought of that. I had been considering updating it to add a splash of colour. Email me directly at marcusavgreen at gmail dot com....lets talk icons...
• Wed, Apr 25, 2018, 8:49 PM
Marcus,
Thanks for this plugin. We installed it and have been exploring the uses for it with teachers. This question type has a lot of potential for elementary schools. Very nice plugin. Thank you for developing it.
• Sun, Apr 29, 2018, 5:22 PM
Very pleased you like it Chris. I will probably release a new version fairly soon to confirm compliance with Moodle 3.5 and to tidy up some very small things (e.g. using color in question text). I am mulling ideas about allowing different css in questions, e.g. css circles around selectable text. May never happen, but .....
• Tue, Dec 4, 2018, 9:29 PM
Great plugin! The video is a real teaser with the crossword type arrangement! How did you implement that using this plugin?
• Tue, Dec 4, 2018, 9:33 PM
Glad you like it. There is an importable example of how to do the crossword in the examples/en/wordselect_examples.xml file. Here it is in Github https://github.com/marcusgreen/moodle-qtype_wordselect/blob/master/examples/en/wordselect_examples.xml
It would be nice to have a 'Wizard' for that, but so many software ideas and so little time
• Tue, Dec 4, 2018, 9:34 PM
Do confirm that you were able import and modify for your own purposes. In addition, I have been experimenting with modifying this question type for the mobile app.
• Fri, Apr 17, 2020, 8:21 AM
Hello, first of all, thank you very much for your contribution. Is there a way in which I can reduce the "selectable" words area to some in a sentence, and one correct among them?
For example: "1. They have expensives / [expensive]​ computers. " I want my students to able to only select expensives and expensive, being the correct expensive. But I don't want them to select "They" "have" "computers" ?

Thanks
• Fri, Apr 17, 2020, 5:56 PM
Hi Matias, do you think this is what you are looking for https://docs.moodle.org/38/en/Wordselect_question_type#Multiword_mode
I need to include a screen shot of an example, and I will try to get around to it as soon as I can.
• Fri, Apr 17, 2020, 9:46 PM
It worked perfectly! Thanks!
• Mon, May 11, 2020, 10:46 AM
Thank for your awesome plugin, we love it.

But after installing, we faced with an error, some drop-down menus are not working as normally.

Pleaze take a look at this:
Uncaught Error: Mismatched anonymous define() module: function(){function a(a){\$("#"+a+" .selectable").on("keydown",function(a){return 32===a.keyCode?
at makeError (require.min.js:5)
at v (require.min.js:5)
at Object.o [as require] (require.min.js:5)
at requirejs (require.min.js:5)
at view.php?id=200:2431
at Object.execCb (require.min.js:5)
at b.check (require.min.js:5)
at b. (require.min.js:5)
at require.min.js:5
at require.min.js:5

As after removing word select plugin from site, everything go back, the site run smoothy agian!

If someone have the same experience as we, pleaze let us know the solution. We really appriciate!

Thank Marcus, thank all!
pixar.english@gmail.com