--- modules/damieng/clean_xml/loncapa.xsd 2015/04/17 15:35:01 1.1 +++ modules/damieng/clean_xml/loncapa.xsd 2015/04/27 18:05:31 1.2 @@ -1230,7 +1230,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 +1254,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 +1306,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 +1324,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 +1363,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 +1375,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 +1392,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 +1421,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 +1430,6 @@ - - Answer algorithm -