$course$/Gapfill sample questions Alternative_Delimiters This question is designed to demonstrate that the gaps can be delimited by characters other than the default square braces. This is useful for questions about programming languages for example where the questions are about arrays in a language that uses square braces. Enter 1 into the gap for the first try to see the hints.

Make the following php code print out the string "cat"

$ar= array('cat','mat');
print $ar[{0}];

]]>
1.0000000 0.3333333 0 gapfill {} 0 0 0 0 0 {} gapfill 0 0 0 0 Your answer is partially correct.

]]>
Your answer is incorrect.

]]>
Hint:What number do array places count from?

]]>
Hint:Remember that php arrays count from zero not one (like most programming languages)

]]>
AnyOrderDDrop The question uses the no duplicates option. This means a field may accept a range of words but if the same word is entered into more than one field it will only gain one mark for that word. The question syntax uses using the broken bar | operator to indicate the or operation, i.e. the answer can be this or that. So here it has been entered as [gold|silver|bronze] . Here is the question.

What are the medals that can be won in the olympic games?

Enter the same value twice or, e.g. gold, gold, silver. It will mark all answers correct with a tick, but if you notice the score will be 2 rather than three.

{gold|silver|bronze} {gold|silver|bronze} {gold|silver|bronze}

]]>
3.0000000 0.3333333 0 dragdrop {} 0 1 0 0 gold|silver|bronze gold|silver|bronze gold|silver|bronze brown pink green {} dragdrop 0 1 0 0 Your answer is partially correct. Note how the actual mark matches the number of unique correct answers whatever the number of ticks is.

]]>
Your answer is incorrect.

]]>
Have another go

]]>
Try again

]]>
AnyOrderGapfill The question uses the no duplicates option. This means a field may accept a range of words but if the same word is entered into more than one field it will only gain one mark for that word. The question syntax uses using the broken bar | operator to indicate the or operation, i.e. the answer can be this or that. So here it has been entered as [gold|silver|bronze] . Here is the question.

What are the medals that can be won in the olympic games?

Enter the same value twice or, e.g. gold, gold, silver. It will mark all answers correct with a tick, but if you notice the score will be 2 rather than three.

{gold|silver|bronze} {gold|silver|bronze} {gold|silver|bronze}

]]>
3.0000000 0.3333333 0 gapfill {} 0 1 0 0 gold|silver|bronze gold|silver|bronze gold|silver|bronze {} gapfill 0 1 0 0 Your answer is partially correct. Note how the actual mark matches the number of unique correct answers whatever the number of ticks is.

]]>
Your answer is incorrect.

]]>
Have another go

]]>
Try again

]]>
CaseSensitive The complete phrase is "The cat sat on the mat", This version case the case sensitivity option checked so the words cat and mat must be entered as Cat and Mat.

The [Cat] sat on the [Mat]

]]>
2.0000000 0.3333333 0 gapfill [] 1 0 0 0 Cat Mat [] gapfill 1 0 0 0 Your answer is partially correct.

]]>
Your answer is incorrect.

]]>
Correct_empty_gaps with !!

Use of the double !! indicates that a gap must be left blank be considered correct. The !! fields get a mark if left blank and can be thought of as distractors. 

Canine [dog]
Feline [cat]
Bovine [!!]
]]>
3.0000000 0.3333333 0 dragdrop [] 0 0 0 1 dog cat !! mouse [] dragdrop 0 0 0 1 Your answer is partially correct.

]]>
Your answer is incorrect.

]]>
Disable RegEx for Math, HTML and Code questions This question has disabled regular expressions. This means that special characters used in regular expressions such as < / * . etc will have no meaning which can be useful when creating questions for maths and programming or HTML (which of course uses the < and > characters extensively).

2[+]2=4
4[/]2=2

The option for disable regex can be found in the More Options in the question editing form.

Complete the syntax for this for loop in PHP

for($i=0;$i[<]10;$++){

print($i);

}

]]>
3.0000000 0.3333333 0 dragdrop [] 0 0 1 0 + / [] dragdrop 0 0 1 0 Your answer is partially correct.

]]>
Your answer is incorrect.

]]>
Have another go

]]>
One more try

]]>
DragAndDrop The complete phrase is "The cat sat on the mat". This question has been created simply by surrounding the "missing" words with square braces like this

The [cat] sat on the [mat]

Although this is a "drag and drop" version, you can simply type into the fields, which may be useful when using a mobile browser. Note the draggable clues are shuffled each time a new quiz session starts.

Drag the correct words into the gaps.

The {cat} sat on the {mat}

]]>
This text is from the general feedback section of the question editing form.

]]>
2.0000000 0.3333333 0 dragdrop {} 0 0 0 0 cat mat rat bat rug hat {} dragdrop 0 0 0 0 Your answer is partially correct.

]]>
Your answer is incorrect. You need to brush up on your knowledge of feelines in the domestic sphere.

]]>
Hint1: The answer refers to a feline and a floor covering. Note how the incorrect answers are cleared after you press the try again button. This hint DOES show the number of correct answers and so each field has an indicator of correctness or incorrectness via tick/cross colour

]]>
Hint2: The answer refers to a domestic feline and a floor covering that rhymes with bat. The show number of correct responses option is not ticked for this.

]]>
DropDownMathSymbols This demonstrates comparing basic maths symbols and depends on DisableRegex (regular expressions) being checked.

What is the greater than symbol [>]

What is the less than symbol [<]

What is the addition symbol [+]

What is the minus symbol [-]

What is the multiply symbol [*]


]]>
5.0000000 0.3333333 0 dropdown [] 0 0 1 0 + - * ! ? [] dropdown 0 0 1 0 Your answer is partially correct.

]]>
Your answer is incorrect.

]]>
DropDowns

The complete phrase is "The cat sat on the mat", but this time the word options are in dropdowns.

The [cat] sat on the [mat]

]]>
2.0000000 0.3333333 0 dropdown [] 0 0 0 0 cat mat bat rug [] dropdown 0 0 0 0 Your answer is partially correct.

]]>
Your answer is incorrect.

]]>
Have another go. There is no indication of what answers are correct or incorrect because the show the number of correct responses box is not checked in hint 1.

]]>
One last time. The Show the number of correct responses box was checked and so you have the background colour and symbols (tick/cross) to indicate which answers were correct.

]]>
Fixed Gapsize This question has the fixedgapsize setting checked so that all gaps are the size of the biggest gap. This means that the size of the gap does not give a clue to the correct answer.

The [kangaroo] is a native of Australia, the Kiwi is a native of [New] Zealand

]]>
2.0000000 0.3333333 0 dragdrop [] 0 0 0 1 kangaroo New old Panda [] dragdrop 0 0 0 1 Your answer is partially correct.

]]>
Your answer is incorrect.

]]>
Gapfill (no prompts) The complete phrase is "The cat sat on the mat", This version has no prompts (i.e. no dragdrop or dropdowns displayed).

A question can be converted from showing prompts to no prompts by a simple selection in the question edit screen. This can be used to create an easy (with prompts version) and then copying it, making that change and you will then have a harder (no prompts) version.

The [cat] sat on the [mat]

]]>
2.0000000 0.3333333 0 gapfill [] 0 0 0 0 cat mat [] gapfill 0 0 0 0 Your answer is partially correct.

]]>
Your answer is incorrect.

]]>
Have another go

]]>
One last try

]]>
GroupTablesHorizontal
Feline[tiger|lion][tiger|lion]
Canine[dog|!!][dog|!!]
]]>
4.0000000 0.3333333 0 dragdrop [] 0 1 0 1 tiger|lion tiger|lion dog|!! dog|!! cow mouse [] dragdrop 0 1 0 1 Your answer is partially correct. Your answer is incorrect.
GroupTablesVertical You can offer groups of answer fields to be dragged in its appropriate category or group. For example a language teacher might offer words that are dragged into the gender categories or biologists could offer options to be dragged into the categories of animals, e.g. canine, feline and . The key to this is using the | (or) operator. The second canine column contains the double not !! as follows [dog|!!] to allow a blank as a correct option.

FelineCanine
{tiger|lion} {dog|!!}
{tiger|lion} {dog|!!}

 

]]>
4.0000000 0.3333333 0 dragdrop {} 0 1 0 1 tiger|lion dog|!! tiger|lion dog|!! rat swallow kangaroo {} dragdrop 0 1 0 1 Your answer is partially correct.

]]>
Your answer is incorrect.

]]>
Try again

]]>
Have another go

]]>
Images in tables (fruit) [apple] [pear] ]]> iVBORw0KGgoAAAANSUhEUgAAADIAAAAzCAIAAABaAcxDAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjExR/NCNwAAGKlJREFUWEe1mYdXWtm+x/MnvLXuevfeyaQaE6MxChasiIqgiEgRFFQQsIC9l0QTjZqYZIwxo8YSG8TeG3ajYotdE7GAYMEeTTSZmKiA75jMnTf1zry71jvrwOIc9jnnc35t7/3dp47/HzaF7OBQdnggP5TJDo6P5f/BE079B9f86SUyuaKvrXySXyaXfZYrFH/a/rcN/hIWcGPglX+8vVxxDOwnD/tyDvjx4/7l3MlphUyxH8VC3nEx3F6eUxwBDYDn/t/g/hLWsUJ2rDj6ynFC9S9KOXB4LJcfH8iPP8qOP8uPD4FDoKlwkh9mDwrFXarKSZArgH+Baw+Pjz/9dYf+JSzgrgeK4yOF4kgObD/ID7c/bgvfSgbXppokw8UzPelTXY9nBzKlY9ytmfp1Ef9GgIUP5eLjGzjZ/u6R7ADwI4D/L2P+JZf+NSy5XHb48dO2ZH20carxXl+ua3+KnSCDNMSx4HOMWtLBvJTrHXmQoSLD4SJEWrRWoJvKTbcLXYUM8UDqhqjpYG9Z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4ATRclUfgJZM5KMjOexo4n0+KAdcHEESNxuHAwCQTHFyyQBDYajYoiYOOJ+LUN8p+s468hCJSWznbVncIFl3O8I7WYBodaVdpSibJA2nhC0XiKX3eYV3eALd/LBtzCDXTeaiZ3JY2xlESNJtOAgSPRuBAiPpRECEMjA5DwRUh0cC0iCI2IRMNW1clvWEaGILMZepO3207hOvyh1TZusb4GletrvUZbK1dcrqvLktYdkdYdFMlThbLdXPFGFm8NnbmMRovFEUNR2KBa5KLqWl94TQDoKjx+6FVV4V1T4V1VEQR7nNymqjCPvbY63maO//Y/GCeHU7hgzwIHbLKaR8YtrwZH+nrb2trIdfW35LJCheK4VLpTIUuRSDZx2KsYlHgSNhKJ9HvyZEF5OagU5pfc/uDWjVnffzvzh29n//xdCKbqZJuGPPyqf2zMbLaOTfha0Oj9N4thInO2Wk0m8+io6eVAf1ePrkUrrpNVsBgXKYSDRNQOAnoNGhZfWRr8j+89//q196V8j1OHXPYnv7sjYcb2hD8e2+lxKTvh8d1sIbtSb1APDw+YTGPggk4a9X9Pc866/4pwFscwj4yMDL4a6O3tMbQ2qRrIEk4JEfblLzdPXCvaciF9ReHRqOyDwZn7Ak/tDT69LzzrUOj5jJhrF5Me3MphYErVTeL+F73jY0PgOm/xou1/AIMhT7lQKlsvAAAAAElFTkSuQmCC 2.0000000 0.3333333 0 dragdrop [] 0 0 0 1 apple pear orange pineapple [] dragdrop 0 0 0 1 Your answer is partially correct.

]]>
Your answer is incorrect.

]]>
Maths Operators What is the greater than sign [>]

What is the less than sign [<]

What is the addition symbol [+]

What is the subtraction symbol [-]

What is the multiplication symbol? [*]

[10² ]=100
Note that the raising to powers and backslash were entered using the HTML unicode strings.
For example the squared string is &#178; However these must be entered into the editor with HTML mode turned off otherwise it will "interpret" the strings, i.e. put in &amp instead of plain & and it will not display correctly at runtime.


]]>
6.0000000 0.3333333 0 dragdrop [] 0 0 1 0 + - * 10² ? ! / 10³ [] dragdrop 0 0 1 0 Your answer is partially correct.

]]>
Your answer is incorrect.

]]>
Multi Word Answers This illustrates answers containing more than one word

The answer is "the black cat sat on the soft mat"

The [black cat] sat on the [soft mat]

]]>
2.0000000 0.3333333 0 gapfill [] 0 0 0 0 black cat soft mat [] gapfill 0 0 0 0 Your answer is partially correct.

]]>
Your answer is incorrect.

]]>
Other scripts and accents The gapfill question type can be used with non ASCII characters. For example the Cyrillic alphabet. 

Moscow is the capital of [Россия]

The french word garçon has an accent on the letter c [garçon]

]]>
2.0000000 0.3333333 0 dragdrop [] 0 0 0 0 Россия garçon France garcon [] dragdrop 0 0 0 0 Your answer is correct.

]]>
Your answer is partially correct.

]]>
Your answer is incorrect.

]]>
RegularExpressions This question illustrates that following a letter with a question mark ? will make it optional. The following gap will accept colours, colour, colors and colors as correct answers, so allowing both US and UK spelling of the word. If you look at the source of this question this gap contains colou?rs?

Red, Green and Blue are examples of {colou?rs?}

This gap illustrates how you can "escape" the special characters used in regular expressions such as the dollar sign by preceeding them with a backslash i.e. \$. The correct answer for this gap is the $ symbol.

The special character that indicates the start of a variable in PHP is the {\$} sign. (enter the $ sign)

The HTML tag to start a paragraph is {\<p\>} (enter <p>)

Note there is an option under more options to switch off regular expression for the whole question, but escaping is useful where you need some regex processing.

You can ensure any spare spaces between words are ignored with \s

The correct answer here is black and white but it will accept the words with one or more spaces between them {black\s+and\s+white}.

Moodle has two short answer question types that support regular expressions

Preg

http://docs.moodle.org/25/en/question/type/preg

and

Regular Expression Short Answer

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

]]>
4.0000000 0.3333333 0 gapfill {} 0 0 0 0 colou?rs? \$ black\s+and\s+white {} gapfill 0 0 0 0 Your answer is partially correct.

]]>
Your answer is incorrect.

]]>
Troubleshooting You can troubleshoot a question by clicking the "fill in correct responses" button in preview mode.

This question does not [work] because there are hidden html tags within the field, you can view (and delete) the hidden div tags by clicking the HTML button on the editor bar.

]]>
1.0000000 0.3333333 0 dragdrop [] 0 0 0 0 work]]> [] dragdrop 0 0 0 0 Your answer is partially correct.

]]>
Your answer is incorrect.

]]>
UsingCommas Answers may contain commas and commas can be used in distractors by escaping them with the backslash like this \,

What are the colors of the French flag?

It's [ blue, white, red ]

]]>
1.0000000 0.3333333 0 dragdrop [] 0 0 1 0 blue, white, red orange\, white\, red green\, white\, black [] dragdrop 0 0 1 0 Your answer is partially correct.

]]>
Your answer is incorrect.

]]>