Grading
Calling Sequence
Parameters
Options
Description
Examples
Compatibility
Quiz( question_statement, grader, init, options )
Quiz( MapleTAImport )
question_statement
-
string or module
grader
procedure or value
init
MapleTAImport
Record imported by MapleTA:-Import
The Quiz Example Worksheet provides a number of examples with detailed explanations. A few simple questions are reproduced here.
In order to test the following examples, make sure you open the help page as a worksheet. The components are not interactive when viewed within the help system.
Is 1+1=2?
Is the following number prime?
Which is a plot of ?
The following example shows how to generate and display multiple questions from the same procedure, using the 'output'=`module` option. Note that since `module` is a keyword, it needs left single quotes around it in order to parse as a name.
Question 1.i
Is 1 + 1 = 2?
Question 1.ii
What is 1 + 1?
Question 1.iii
Pick C.
Question 1.iv
Which of the following could be portions of the plot of sin(x)?
The following example includes a "Show Solution" button:
There are balls in sacks
See Also
examples/Quiz
MapleTA
QuizBuilder
Download Help Document