--- modules/damieng/clean_xml/loncapa.xsd 2015/04/17 15:35:01 1.1
+++ modules/damieng/clean_xml/loncapa.xsd 2015/04/29 15:31:27 1.4
@@ -734,14 +734,14 @@
- Two-option checkboxes for
+ When there are only 2 option values, set this attribute to one of them in order to display checkboxes. A foil checkbox will have to be checked when the foil has the chosen option value.
- Checkbox options
+ Set to "nochoice" to avoid the display of the list of option values.
@@ -791,7 +791,11 @@
- Draw Option List
+
+ Draw Option List
+
+ By default, the list of options is presented in front of the foils. Using the optional <drawoptionlist> element, the list of options can be embedded into a foil.
+
@@ -804,6 +808,7 @@
Query for matches betweens items from two lists.
+ It is also possible to query for matches with optionresponse, but optionresponse only accepts simple text for the matches. With matchresponse, it is possible to use anything as a match, such as equations, images, plots, or long styled texts.
@@ -1230,7 +1235,10 @@
- Collection of Answers
+
+ Collection of Answers.
+ This element can be used instead of the answer attribute on the response element when several answers are correct, or when the correct answer has several components.
+
@@ -1251,12 +1259,24 @@
- Correct list of values or vectors.
+ A correct list of values or vectors.
-
-
+
+
+
+ A vector, part of a correct answer.
+
+
+
+
+
+
+ A value, part of a correct answer.
+
+
+
@@ -1291,7 +1311,12 @@
- Query for a formula.
+
+ Formula Response asks the student to type in a formula as an answer.
+
+ If the answer is 2x² + 4, the student is allowed to type “2*x*x+4”, “x*x + x*x + 4”, “2*xˆ2 + 14 - 10”, or any other equivalent expression.
+ Formula Response problems have many of the same characteristics of Numerical Response problems, including the ability to run scripts, dynamically generate answers, etc.
+
@@ -1304,7 +1329,13 @@
-
+
+
+
+ The correct answer. It can use variables calculated/defined in the problem’s Perl script block, allowing the answer to be determined dynamically.
+
+
+
@@ -1337,7 +1368,8 @@
- Query for text that is evaluated with a script written in a computer algebra system language by the problem author.
+ Query for text that is evaluated with a script written in a Computer Algebra System (CAS) language.
+ The CAS script must be included in the response with an <answer> element.
MathResponse is extremely powerful, as it tests answers for conditions rather than agreement with a particular correct answer. An unfortunate byproduct, however, is that it cannot be analyzed by several of the LON-CAPA statistics tools.
@@ -1348,7 +1380,8 @@
- Maxima or R script using the arrays RESPONSE and LONCAPALIST.
+ Maxima or R script using the arrays RESPONSE (the student response) and LONCAPALIST (from the args attribute).
+ Returns a boolean in the last statement that will be true if the answer is correct.
@@ -1364,7 +1397,12 @@
- String to display for answer
+ This attribute contains what is displayed when the problem is in "Show Answer" mode.
+ You will want to use it so that the students can see the correct answer after
+ the "Show Answer Date" configured when the problem is assigned in the course space.
+
+ This is usually the name of a Perl string variable (starting with '$')
+ created in a Perl script before the response.
@@ -1388,7 +1426,8 @@
- Argument Array
+ Perl array that will be passed to the CAS script as the LONCAPALIST variable.
+ This is usually the name of a Perl array variable (starting with '@') created in a Perl script before the response.
@@ -1396,9 +1435,6 @@
-
- Answer algorithm
-