Quiz

 
 
Picture of Susan Patterson
Fill in the Blank questions with more than one blank
 

I am trying to build Fill in the Blank questions with more than one blank.  How do I code it so that the same answer cannot be used in both blanks?

(ie, The two main divisions of the fire department are ___ and ___.)

Currently I have both right answers coded for both blanks but if they type in the same answer for both then they will still get full marks. Is there a way to make sure that the student does not enter the same answer in both blanks?

 
Average of ratings: -
Tim at Lone Pine Koala Sanctuary
Re: Fill in the Blank questions with more than one blank
Group DevelopersGroup Documentation writersGroup Particularly helpful Moodlers

The only way to do this sort of quetsion is to make a new question type. It is a type of question I would like to see, but I have never had time to make it.

 
Average of ratings: -
Picture of Itamar Tzadok
Re: Fill in the Blank questions with more than one blank
Group DevelopersGroup Documentation writersGroup Particularly helpful Moodlers

Until the question type is written you can (where feasible) put the blanks in alphabethical order (ie, The two main divisions of the fire department are fire fighting and rescue.). smile

 
Average of ratings:Useful (1)
Picture of John Rodgers
Re: Fill in the Blank questions with more than one blank
 

Would the cloze question type work for you?

 
Average of ratings: -
Picture of Itamar Tzadok
Re: Fill in the Blank questions with more than one blank
Group DevelopersGroup Documentation writersGroup Particularly helpful Moodlers

Not without my suggested workaround. smile

 
Average of ratings: -
Picture of Susan Patterson
Re: Fill in the Blank questions with more than one blank
 

Thank you Tim and Itamar. 

Unfortunately alphabetical will not work in some of the instances (answers are too long and too similar) especially where there are 8 correct answers and they only have to name 4 or 5.

And, the Ontario Fire College has laid out the text and quizzes and I am not allowed to alter the questions.

I'll have to keep working on an answer.

Would be great if there was a "no duplicates" option. wink

 
Average of ratings: -
Picture of Itamar Tzadok
Re: Fill in the Blank questions with more than one blank
Group DevelopersGroup Documentation writersGroup Particularly helpful Moodlers

If javascript is an option (accessibility etc.) it is possible to construct a simple solution on top of the cloze type question. Such a solution can use the shortanswer fields and a list box with the options, such that selecting an option from the list box for a certain answer field, removes the option from the list box and so that option cannot be reused in another answer field unless it is moved from the answer field back to the list box. smile

 
Average of ratings: -
Picture of Joseph Rézeau
Re: Fill in the Blank questions with more than one blank
Group DevelopersGroup Particularly helpful MoodlersGroup TestersGroup Translators

Hi Itamar,

Does this mean that you are planning to offer that "simple Javascript solution" any time soon? wink

Joseph

 
Average of ratings: -
Picture of Itamar Tzadok
Re: Fill in the Blank questions with more than one blank
Group DevelopersGroup Documentation writersGroup Particularly helpful Moodlers

I do not want to impose anything on anyone so only upon explicit request. big grin

 
Average of ratings: -
Picture of Joseph Rézeau
Re: Fill in the Blank questions with more than one blank
Group DevelopersGroup Particularly helpful MoodlersGroup TestersGroup Translators

@John : I expect that by "fill in the blanks" the OP had in mind the Cloze question type. What else?

@all : This "no duplicates" feature for the Cloze question type in moodle has been asked for a few times already, and there are a number of cases where it would indeed be quite useful.

Joseph

 
Average of ratings: -