Maple T.A. Maple-Graded Question
Using the Maple-graded question type, you can create a question that uses Maple to determine if the student's response is correct. You can use Maple functions and expressions when creating the question. You can also use Maple code to evaluate the student's response. For information on using Maple T.A. question tasks and converting them to Maple T.A. format, see
help page title
.
Algorithmic Variables
1. Algorithmic variables can be used to create questions that contain randomly generated parameters. Define your algorithmic variables in the following execution group. If required, add more execution groups. You can refer to algorithmic variables in other variable definitions and in the other sections of this question by putting a "${" and "}" around the variable name. For example, x:=${myvariable}. If you refer to an algorithmic variable in 2-D math, do not include the braces. For example, .
> |
variable := expression; |
|
(1.1.1) |
Question
2. The question can contain text, 2-D math, plots, images, and algorithmic variables.
Replace this text with the question content.
Answer
3. Enter Maple code that evaluates to the correct answer:
Complete each line of code with a semicolon. The last line must evaluate to an expression that will be stored as the variable ${ANSWER}. The variable ${ANSWER} will be available when formulating the grading syntax, below.
Evaluate Student's Response
4. Enter Maple code to grade the student response:
The last line must evaluate to a Boolean value (true or false). The variable ${RESPONSE} is automatically initialized to the student's response. For example, evalb(${ANSWER}-${RESPONSE}=0);
> |
evalb(${ANSWER}-${RESPONSE}=0); |
Hints
5. Maple T.A. displays hints when the student requests them. Enter your hints in the following table. Hints can contain text, 2-D math, and algorithmic variables. Hints can also refer to ${RESPONSE} (the student response) and ${ANSWER} (the correct answer). You can provide up to three hints.
Replace this text with hint 1.
|
Replace this text with hint 2.
|
Replace this text with hint 3.
|
Feedback
6. Maple T.A. displays feedback after the student completes a question. The feedback can contain text, 2-D math, and algorithmic variables. The feedback can also refer to ${RESPONSE} and ${ANSWER}.
Replace this text with feedback.