Using Embedded Cloze Quiz Questions to make an Image Matching Activity in Moodle

This is the first activity I ever made in moodle.  I wanted a way for students to identify weather terminology using images.  I wanted an interactive way for them to be able to select the correct term, see a list of options, and have it self checking.  Moodle to the rescue.  Often I see Moodle used as a list of links, or just purely as a discussion forum, but it can be so much more with a little bit of creativity and manipulation.

I took an embedded cloze quiz question and expanded it to make a matching activity.
To do this I had to first understand the structure behind the embedded cloze question. It does NOT have a WYSIWYG editor, so you have to use some basic code to create questions. Because you have to use the code, you can really change, expand, and manipulate the questions!
The basic structure is:

1. Curly bracket: {
2. What the question is out of as a numerical value: 1
3. Colon
4. Question type:
SHORTANSWER (short answer case doesn’t matter)
SHORTANSWER (short answer case matters)
NUMERICAL (Numerical)
MULTICHOICE_V (radio buttons – circles to select in a vertical column)
MULTICHOICE_H (radio buttons – circles to select in a horizontal column)
MULTICHOICE (a drop down menu) **This is what I used
5. Colon
6. Answers
The general format is: answer#feedback for the response~answer#feedback~answer#you don’t have to include feedback and can then leave out the pound symbol~=correct answer#you can have as many choices as you want you just put an equals sign in front of the correct answer

If you want more than one correct answer instead of an equal sign put the percentage of marks you wish to award for example:
wrong answer~wrong answer~%50%give half the marks to this answer~%50%give half the marks to this answer

7. End curly bracket: }

In the end it looks something like this:
The capital city of Canada is {1:MULTICHOICE:Toronto~Calgary~=Ottawa~Vancouver~Montreal}
That will create:
What I did was create 20 separate drop down menus using the same concept. Each menu went into a table cell, with an image. It was just a lot of copying and pasting.
I first created one question:
Then I copied and pasted it 20 times, into 20 different cells in a table. I had to copy the HTML code, just use the <> triangle brackets in the edit window to toggle to the code.
<td width=”25%” valign=”center” style=”text-align: center;”> <img style=”width: 147px; height: 164px;” src=”; /><br />2. {1:MULTICHOICE:Cirrus#~Wind Chill#~Trade Winds#~Virga#~Barometer#~Eye#~Aurora Borealis#~Cold Front#~Blizzard#~Hail#~Sleet#~=Water Spout#~Cumulonimbus#~Warm Front#~Fog#~Dew#~Cumulus#~Jet Stream#~Anemometer#~Frost#}

I didn’t actually need the pound symbols because I choose to not leave any automatic feedback for the students in this quiz.

After I copied the code into each cell, I just change the img file name, which I had just saved as the numbers 1 through 20 ahead of time to keep myself organized.  I just changed the number in front of the .JPG file extension – easy if you have the files all named carefully and uploaded!
To change the correct answers, I just moved the equals sign to the matching term for the photo in each table cell.
In the end I had a 4 by 5 table, with a separate cloze question, each with its own photo in each cell. It created a quiz, out of 20 marks that gave the students instant, self checking feedback to match weather terminology and images.