To create a Maple-graded question:
In the Question Bank Editor, select Add a question for your topic.
From the Question Type drop-down list, select Maple-graded questions.
In the Question Description field, enter an appropriate description of the Maple question.
It is recommended that you include a comment for a graded response; otherwise, no comment is displayed as feedback to the student if the response is incorrect.
Click the Add button for the This comment will be shown in graded assignments field.
Enter appropriate comment text.
Click OK.
To display the correct answer as feedback for a student response, you must calculate the answer using the Algorithm Designer.
In the Question Bank Editor/Question Name & Type screen, click the Add button associated with the algorithm field.
Click Designer. The Algorithm Designer opens. Use the designer to simplify setting up algorithmic variables.
For instructions, see Algorithm Designer.
For example scripts, see Maple Comment to Student Basic Algorithm and Maple Comment to Student Random Variables.
Generally, if your question requires an algorithm, use the Algorithm Designer.
In the Question Bank Editor/Question
Name & Type, click Next.
The Question Bank Editor/Add Mathematical Formula
screen opens.
In the Question Bank Editor/Add Mathematical Formula screen:
As suggested by the first field, Enter the text of the question.
From the Select the type of expression you want to accept field, select Formula or Maple Syntax.
Enter Maple code to grade the student response.
A Maple-graded question must use valid Maple code to evaluate the answer.
The last line of your question code must evaluate to a Boolean value, that is, true or false. In many cases, it is recommended that you use the Maple evalb command.
Complete each line of code with a semicolon.
Use the long form name for all package functions, for example, VectorCalculus[ArcLength].
Use $RESPONSE to represent the student response in your code. Before your code is processed by Maple, $RESPONSE is replaced by the student response.
Optional. Upload a Maple repository. For instructions see Using a Maple Repository.
You can also copy content from a Maple worksheet or a Maple code text file. See Copying Content from the Maple Worksheet in this Help page.
Optional. Enter code to enable plotting of the student response. Use $RESPONSE to represent the student response in your code. Before your code is processed by Maple, $RESPONSE is replaced by the student response. The last line must be a Maple plot command.
Click Finish.
Windows
From a Maple worksheet, select the code you want to copy.
From the Maple menu, select Copy or Copy as Maple Text.
In the EDU Question Bank Editor, right-click and paste the contents into the appropriate box.
Rename the response value to $RESPONSE.
Add $ to all algorithmic variables.
See Also:
Editing Questions with the Question Bank Editor
Maple Comment to Student Basic Algorithm
Maple Comment to Student Random Variables
Maple-graded Question Type - Overview
Mathematical Functions and Operations