tricking cloze into making equal sized answer fields

tricking cloze into making equal sized answer fields

by Lynda Williams -
Number of replies: 1

Doing a CLOZE question for which one box had correct answer "left" and the other one "right" - but didn't want the length of the answer box to tip off students about which answer to type in.  So I discovered a simple trick - I added a second %100% answer for the "left" choice that was "left_" and then the answer field for "left" was just the same length as for "right". Code below. (Not a great question, but converting from a matching scenario provided by instructor that won't work with matching question type because there are only two choices and matching question type demands minimum of 3.)

QUESTION CODE

Below are two (2) approaches to performing a Cardiac Catheterization (Cardiac Cath) procedure. Match them up with the side of the heart each is appropriate for by writing "left" or "right" in the blank.

  1. {1:SA:%100%left#correct~%100%left_~*#wrong answer} heart -> coronary angiography
  2. {1:SA:%100%right#correct~*#wrong answer} heart -> intracardiac pressures via Swan Ganz catheter
Average of ratings: -
In reply to Lynda Williams

Re: tricking cloze into making equal sized answer fields

by Pierre Pichet -

This is effectively the way to do it. smile

Pierre

P.S. from the Moodle docs:

Embedded Answers (Cloze) question type page

Question rendering

The question answer INPUT HTML ELEMENT ( Short and Numerical) or SELECT HTML ELEMENT (multichoice) are normally displayed in-line with the text.

The size of INPUT HTML ELEMENT ( Short and Numerical) will be adjustable to the length of the longest answer (good or bad) + a random number (0 to 15% total length).(Pierre Pichet 15:37, 26 January 2008 (CST))

The size will adjust to the length of the student response when displayed in the grading and feedback process.

The size of the SELECT HTML ELEMENT (multichoice) adjusts itself automatically to the longest answer.