Tipo de Pregunta incrustadas (Cloze)
Nota: Pendiente de ACTUALIZAR esta traducción respecto a la página original en inglés (ver enlace hacia English en el cuadro abajo a la derecha). (otras páginas pendientes)
Nota del traductor: Este artículo se repite parcialmente en
Contenido |
Preguntas incrustadas (Cloze)
Las preguntas incrustadas (Cloze) consisten en un texto que puede integrar (en formato Moodle) varias preguntas incrustadas de tipo opción múltiple, preguntas cortas y numéricas.
Actualmente no disponemos de una interfaz gráfica para crear este tipo de preguntas, de modo que es preciso especificar el formato de la pregunta usando la caja de texto, o bien importarlas desde archivos externos.
Mucha gente sugiere que el software de Hot Potatoes es la forma más fácil de crear preguntas de Respuestas Incrustadas (Cloze). Una vez que hayas creado las preguntas en tu PC, puedes importarlas dentro del módulo de Cuestionario de Moodle.
Limitación de Importación: Solamente puedes importar una pregunta de Respuestas Incrustadas a la vez. Si pensabas crear un archivo .txt para importar varias de estas preguntas a la vez no funcionará.
Preparación de la pregunta:
- Selecciona la categoría de la pregunta.
- Otorga un nombre a la pregunta -esto te permite identificarla en el banco de preguntas.
- Ingresa el texto (en el formato de Moodle -ve Formato más adelante) dentro del campo 'Texto de la pregunta'.
- Selecciona una imagen para mostrar, si es que quieres colocar alguna a la pregunta. Para el estudiante, aparece
- inmediatamente sobre el texto de la pregunta.
- Selecciona el 'Grado de la pregunta por defecto' (p. e. El máximo número de puntos por esta pregunta).
- Selecciona el 'Factor de penalización' (Ver Factor de penalización más abajo).
- Moodle 1.7+: Si lo deseas, coloca retroalimentación general. Éste es texto que aparece al estudiante después de que ha contestado la pregunta.
- Moodle 1.7+: El editor ha sido modificado y te permite probar si tu sintaxis es buena.
- Los elementos decodificados diferentes de la pregunta serán mostrados y se marcarán los errores de sintaxis.
- Sin embargo, el editor no puede verificar si la pregunta decodificada es dos preguntas en una a causa de un error de sintaxis.
- Presiona 'Guardar cambios' para agregar la pregunta a la categoría.
Factor de penalización
El 'Factor de penalización' sólo aplica cuando la pregunta es usada en un cuestionario que use Modo Adaptativo -p. e., donde al estudiante se le permitan intentos múltiples en una pregunta aún dentro del mismo intento del cuestionario. Si el factor de penalización es mayor a 0, entonces el estudiante perderá esa proporción del grado máximo sobre cada intento sucesivo. Por ejemplo, si el grado por defecto de la pregunta es 10, y el factor de penalización es 0.2, entonces a cada intento sucesivo después del primero incurrirá en una penalización de 0.2 x 10 = 2 puntos.
Representación de la Pregunta
Las respuestas de las preguntas de tipo INPUT (respuestas cortas y numéricas) o SELECT (Elección Múltiple) son normalmente mostradas en linea con el texto.
El tamaño de los elementos tipo INPUT (respuestas cortas y numéricas) serán ajustadas a la longitud de la respuesta más larga (correcta o errónea) + un número aleatorio (del 0 al 15% de la longitud total).
El tamaño se ajustará a la longitud de la respuesta del estudiante cuando ésta se despliegue en el proceso de calificación y retroalimentación.
El tamaño de los elementos tipo SELECT (Elección Múltiple) se ajusta automáticamente a la respuesta más larga.
Formato
La documentación de ayuda de Moodle para respuestas incrustadas (Cloze) proporciona un ejemplo.
Para los detalles completos del formato para las preguntas de respuesta incrustadas, lee la explicación detallada de la sintaxis más abajo.
Nota importante: Sé Cuidadoso cuando copies una pregunta de respuestas incrustadas en un editor HTML WYSIWYG, ya que los saltos de línea tienden a ser sumados, lo que destruye la pregunta.
Si la respuesta correcta contiene alguno de los signos { } # ~ / " \, tendrás que insertar un escape, insertando un \ antes de cada uno de esos caracteres. En la retroalimentación, en los signos ~ y } deberás insertar un escape, de otra forma será interpretado como la siguiente pregunta o el final de la sección de la respuesta corta respectivamente. Las comillas: " pueden ocasionar problemas en cualquiera de esos lugares. Usa la entidad HTML: & quot; (sin el espacio entre & y quot;). Si quieres tener símbolos matemáticos puede haber problemas con la \ usada en expresiones TeX. Una alternativa puede ser usar caracteres Unicode.
Lee las notas más adelante sobre los tipos de pregunta incrustada numérica.
Ejemplos
El siguiente texto crea una pregunta simple de respuestas:
Selecciona el estado correcto de las siguientes ciudades:
* Monterrey: {1:MULTICHOICE:=Nuevo León#OK~Tamapulipas#Wrong}
* Tepic: {1:MULTICHOICE:Sinaloa#Wrong~%100%Nayarit#OK}
* Pachuca: {1:MULTICHOICE:=Hidalgo#OK~Tlaxcala#Wrong}
* Tapachula: {1:MULTICHOICE:%0%Tabasco#Wrong~=Chiapas#OK}
La capital de México es {1:SHORTANSWER:%100%Distrito Federal#¡Felicitaciones!
~%50%Guadalajara#No, esa es otra ciudad importante del país.~*#Respuesta incorrecta, la capital de México es el Distrito Federal.}.
Y el resultado será:
Algunas cosas que comentar:
- Las respuestas incrustadas individuales son representadas por el código mediante los signos {}.
- El número al inicio es el 'peso', así que en este caso cada respuesta contribuye en la misma medida de la calificación general.
- La opción correcta en cada caso es precedido ya sea por un signo = o mediante %100%,
Nota: El signo (=) no parece funcionar con SHORTANSWER.
- El texto que aparece después del # que sigue a cada opción es la retroalimentación que el estudiante verá si seleccionan esa opción.
- Si el estudiante ingresa 'Guadalajara' en el ejemplo final, obtendrán el 50% de la calificación.
- El asterisco * que precede la retroalimentación de "Respuesta incorrecta" en el ejemplo final significa que el estudiante verá ésta si ingresan cualquier cosa que no sea "Distrito Federal" o "Guadalajara".
PENDIENTE DE TRADUCIR
Explicaciones detalladas de la sintaxis
- all question items within a cloze-type question are coded inside curled braces { }
- the number which appears between the opening brace and the colon {1: is the weighting of that item; if it is set at 1 for all the items, it needs not be specified, so you can have {:
- after the colon we have the item question type: MULTICHOICE, SHORTANSWER, NUMERICAL
- NOTE.- If you have installed the REGEXP question type plugin you can also use the REGEXP question type
- the syntax for MULTICHOICE and SHORTANSWER is the same; the only difference is in the displaying of the item to the student
- the order of the various answers is indifferent (except if you want a catch-all for wrong answers, see #13 below)
- a correct answer is preceded with the equal sign = or a percentage (usually %100%) - Note: The equal sign (=) doesn't seem to work with SHORTANSWER.
- a wrong answer is preceded with nothing or a percentage (usually %0%)
- you can allocate some points between 0 and 100 to some answers, if you put the appropriate percentage
- all answers except the first one are separated from one another by the tilde ~ sign
- answers can be followed by an optional feedback message, preceded with the # sign; if there is no feedback message, the # sign can be present or absent, it does not matter
- note that the feedback message and (since Pierre Pichet 24 May 2008 )in 1.9 the correct answer are displayed in a small popup window (if and when the correct and or feedback have been declared accessible to the students in the Quiz settings) upon mouse hovering. The popup window has a title "feedback" and you can use HTML tags to format your feedback. In some browsers (For example IE5.5) the form fields can cover part of the feedback windows. It can help to not have the formfields for the answers too close to each other.
- in the SHORTANSWER type you may want to put a catch-all (wrong) answer in order to send a "wrong, try again" feedback; you can do this by inserting an asterisk * as the very last expected answer in your formula
- in the MULTICHOICE question type the answers are automatically scrambled
Preguntas Cloze numéricas
From the student perspective, a numerical Cloze question looks just like a short-answer question or fill in the blanks.
The difference is that numerical answers are allowed to have an accepted error. This allows a continuous range of answers to be set. You can also express your answer in some different numerical formats. 23.4 23,4 (some countries use , as a decimal separator) and 2.34E+1 (meaning 2.34*10^1) would be interpreted as the same.
Positivos falsos
Note: the following examples of false positives do not apply to Moodle 1.8+, where you cannot use percentages or fractions as the answers in a numerical Cloze test; Moodle will generate an error if you try to save such a question. However the following may be relevant for earlier versions of Moodle.
More examples: 0.5 accepts .5 0.5 ,5 0,5 0.500 5e-1 5E-1 but not 1/2 50% 50% accepts 50% 50.0% 5E1% 50/100 even 50/1000 50 but not 500/1000 0.5 1/2 accepts 1/2 1/3 1twenty but not 2/4 0.5 0,5 3/6 50% ½ ½ accepts ½ HALF doesn't even accept HALF (maybe 0?)
If you want to accept several variants you can have them in the same {} but be careful, notice the "false positives" in bold!
Sintaxis para preguntas Cloze numéricas
The format of a NUMERICAL Cloze question is similar to that of the other Cloze types and they can be mixed in the same question. As with other Cloze tests, you write your question or incomplete text, and add the Cloze code at the point where the student is supposed to enter their numerical answer.
An example of the syntax used is shown below:
Note: It is preferable to write the code in 'source code' mode. The WSIWYG editor can insert linebreaks that make the question not function. The linebreak in the example box below is for readability only! A problem with these questions is the readability of the code! :(
{2:NUMERICAL:=23.8:0.1#Feedback for correct answer 23.8
~%50%23.8:2#Feedback for ½credit near correct answer}.
In this example:
- 2: is the question point weight, which means that this question has twice the weight in the final point(s) for this question as other partial answers with weight 1 (or no declared weight - you can start with {: for the default weight 1) in the same question.
- NUMERICAL: says what kind of question it is. It must be in CAPS.
- =23.8:0.1 = or %100% means correct if the answer is 23.8 with an accepted error of 0.1, then any number between 23.7 and 23.9 will be accepted as correct. (In the GIFT numerical question one can express an interval like this 13..15 or 14:1 but in Cloze only 14:1 works.)
- #Feedback for correct answer 23.8 is preceded by #
- ~%50%23.8:2 ~ is the separator for answer alternatives %50% means this answer would get 50% of the score that the more precise answer had gotten. Because the tolerance here is 2, 21.8 to 25.8 would get this point and feedback.
The feedback (which is seen within a popup window when the user hovers over the answer space) is formattable with HTML tags. For example, if you want an exponent, surround it with superscript tags: <sup> </sup>. You can even include pictures in the feedback popup, but you must clean out all " characters and save while still in source code mode (not WYSIWYG). So, this works in feedback popup:
#See this picture:<br><img src=Something.gif />}
but not this:
#See this picture:<br><img src="Something.gif" />}
(ALGEBRA and TEX filters don't work in the feedback popups, but they can be very useful in the question writing for math/science expressions). But you can use Unicode characters.
If you want to give feedback for any answer that didn't fit the intervals you already have specified feedback for, add some BIG general intervals, like for positive answers (if they aren't bigger than 20000 you could add:
~%0%10000.0001:10000#Feedback for unspecified not_right answers}
This would give feedback for anything from 0.0001 to 20000.0001 (that hadn't already gotten feedback). I didn't want to include 0 since that special case as well as negative ought to have specific reactions.
~%0%0#Hey! It can't be zero ~%0%-10000.0001:10000#We just want the size here, so a negative value is not what we want}
Numerical questions could, before version 1.7, also have case-insensitive non-numerical answers. This is useful whenever the answer for a numerical question is something like +inf, -inf, NaN etc.
Importación de preguntas tipo CLOZE
If you try importing directly as CLOZE this text:
Single line per question! Match the following cities with the correct state:
* San Francisco: {1:MULTICHOICE:=California#OK~Arizona#Wrong}
* Tucson: {1:MULTICHOICE:California#Wrong~%100%Arizona#OK}
* Los Angeles: {1:MULTICHOICE:=California#OK~Arizona#Wrong}
* Phoenix: {1:MULTICHOICE:%0%California#Wrong~=Arizona#OK}
The capital of France is {1:SHORTANSWER:%100%Paris#Congratulations!~%50%Marseille#No, that is the second largest city in France (after Paris).~*#Wrong answer. The capital of France is Paris, of course.}.
23+ 0.8 = {2:NUMERICAL:=23.8:0.1#Feedback for correct answer 23.8 ~%50%23.8:2#Feedback for ½credit near correct answer}.
You would get all three questions as different parts of ONE question. (NOTE see that there are no linebreaks between the { } !)
Multiple CLOZE questions can be imported using the XML format:
<?xml version="1.0" encoding="UTF-8"?> <quiz> <!-- question: 1 --> <question type="cloze"> <name><text>Book Test #1</text> </name> <questiontext> <text><![CDATA[..............]]></text> </questiontext> <generalfeedback> <text></text> </generalfeedback> <shuffleanswers>0</shuffleanswers> </question> <!-- question: 2 --> <question type="cloze"> <name><text>Book Test #2</text> </name> <questiontext> <text><![CDATA[............]]></text> </questiontext> <generalfeedback> <text></text> </generalfeedback> <shuffleanswers>0</shuffleanswers> </question> </quiz>
You would put the question text including CLOZE code in the ....... spaces.
Vea también
Esta información se obtuvo de:
- Using Moodle Is there a guide to using the cloze format? forum discussion
- Using Moodle Cloze-type question syntax forum post


