Wordselect question type

Revision as of 14:26, 30 August 2016 by German Valero (talk | contribs) (Added some more text)

Jump to: navigation, search



Installing this question type

Follow the generic Installing plugins documentation. The files must be in the directory moodle\question\type\wordselect. If you uncompressed the ZIP file from GitHub, please rename 'moodle-qtype_wordselect-master' into 'wordselect'.

Word Select Question Type

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

Description

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 student responds by clicking on words to select them, and clicking a second time to unselect them.

It provides an introduction field where words will not be selectable at runtime and a questiontext field. In the question text any words with braces around them will be considered correct. All words can be clicked on to select.

Wordselect creation

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. At runtime the question looks like this Wordselect selected word

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.

If it is not possible to use square braces (e.g. in the context of maths where they have a special meaning), alternative delimters are available from the Delimit Characters dropdown

Wordselect delimit characters

So selecting {} would allow a question to be created as The cat {sat} on the mat.

Category Questions

Words can be placed in tables and students asked to identify which match the category in the heading.

Wordselect table categories

This is the code used to create that table:

<table border="1">
<tbody>
   <tr><td style="background-color: #c0c0c0;">Feline</td><td style="background-color: #c0c0c0;">Canine</td>
   </tr><tr><td>wolf</td><td>[dog]</td></tr>
   <tr><td>cow</td><td>zebra</td></tr>
   <tr><td>[cat]</td><td>lion</td></tr>
</tbody>
</table>

Creating Wordselect question with a nice table

  • The Moodle Text editor has an option for creating tables which can have any number of columns and rows.
  • You begin by creating a new question of the Wordselect type.
  • Choose a good name for your new question.
  • Write the introduction.
  • Expand the Atto toolbar by clicking on it's very first button.
  • Locate the table creation button and click on it:

wordselect category table creation 01.png

  • For this example we will use 3 columns and 4 rows (the top row is for Canine, Feline and Avian

Wordselect step 2 .png

  • Notice in the above image that we left both the Caption and Caption position options blank. This is intentional, because the regular table captions are just too large for this situation. Also notice that we have selected 4 rows and 3 columnas

Wordselect step 2.png

  • We now have an empty table, that we will fill with our words:

Wordselect step 3.png

  • Notice that we put the right answers (cat, dog and canary) enclosed in squared brackets
  • Our question in now complete (but we will later see that it is not very nice).
  • We will now save the changes and preview the question (notice the looking glass icon in the following image):

Wordselect step 4.png

  • The question works:

Wordselect step 5.png

  • But the lack of the quadricle to signal the cell makes it difficult to use:

Wordselect step 6.png

  • We will now put some cuadricle lines inside the table with this instruction inside angle brackets:
table border="1"
  • The trick is finding where and how to put it.
  • We will now click on the Atto button tool with the <> characters to expand the HTML code inside the Question text box:

Wordselect step 7.png

  • And now we have a lot of HTML instructions, that we don't really need to understand. We will just insert it after the first instruction that seems to be related to our table, and see if it works:

Wordselect step 8.png

  • It works...

Wordselect step 9.png

... to be continued...


Grading

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%

Feedback

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).

Wordselect partially correct answers.png

Mobile Use

It has been tested with a variety of mobile devices both android and iOS tablets and phones. There is no version available for the Moodle mobile app and no current plans to develop one.

Accessibility

It is possible to move forwards and backwards through words with tab and shift-tab. Words can be selected and unselected using the space bar. It uses the aria tags to help screen readers recognise when a word is selected and unselected.

Sample questions

The question type comes with a set of sample questions in xml format in a file called sample_questions.xml. 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) You can find instructions on importing questions at https://docs.moodle.org/en/Import_questions