You may want to ask a question that has multiple correct answers. If so, you can use a list to display choices that your students can then list in the entry box. List response questions allow students to list answer choices in order, creating a list or ranking system from given choices identified in the TeX box. For these questions student input order (and case sensitivity) must match what is listed for ans1.
Tip | ||
---|---|---|
| ||
Use the question ID 179796 as a template to easily create a list type question. |
...
...
Choice specification should include:
Code Block | ||
---|---|---|
| ||
\medskip {\parindent=20pt \item {\bf A.} Choice A text goes here. \item {\bf B.} Like the multiple choice template, you can put equations here too using the dollar signs. \item {\bf C.} Here's the third choice. } \medskip |
...
At it's most minimal, the code portion should follow this formatbox must contain:
Code Block | ||
---|---|---|
| ||
function js_answer(){ /* global list ans1 */ ans1 = "A,B"; } |
...
where ans1 = "A,B" is the answer. Notice that
/* global list ans1 */
varies from the answer used for other Tex/JS/C questions:
/* global double ans1 = ... */
...