Author a Maple-graded question

A Maple-graded question uses code written in the MapleTM programming language to grade student responses.

Maple-graded questions are ideal for:

  • More sophisticated grading routines (including partial grading) through Maple code

  • Accepting a wider range of mathematical expressions as responses

  • Questions with more than one answer or an infinite number of answers

  • Questions requiring a powerful response-equivalence checker

This question type uses the computational power and plotting capabilities of the MapleNetTM math engine integrated into Möbius to work within algebra, calculus, differential equations, discrete mathematics, numerical computation, and many other areas of mathematics.

You can choose from two Maple-graded question sub-types when authoring a Maple-graded question.

You'll define the sub-type that you're working with by selecting an expression type during question authoring:

  • The formula sub-type is authored by selecting the formula expression type

  • The Maple syntax sub-type is authored by selecting the Maple syntax expression type

To author a Maple-graded question

To author a Maple-graded question from the Question Editor:

  1. Enter the question statement in the Question Text pane of the Question Editor.

  2. Click Möbius component to select the type of student response for this part of the question.

  3. Click Maple-graded from the list of student response components.

  4. Assign a weight to the response. The default weighting is 1.

  5. Enter the correct answer that you want to be displayed to your students in the Answer field.

  6. Define the grading code in the Grading Code field.

  7. Define the question sub-type using the Expression Type drop-down list. The sub-type determines the format that the student can use to enter their response. Choose from:

    • Formula — The student can choose between text or symbolic entry but can't use Maple syntax.

    • Maple Syntax — The student must use the entry mode that you define (and must use Maple syntax if text entry mode is required).

  8. Select the student entry mode from the Text/Symbolic entry drop-down list.

    • Did you select Formula as the expression at step 7? Then the Student can choose entry mode is selected by default and can't be changed.

    • Did you select Maple Syntax as the expression type at step 7? Then you'll choose if the question requires the student to use Text entry only or Symbolic entry only.

  9. (Optional) Click Maple Repository to upload a Maple library from your personal Maple library archives into your question. The file path to your library will autofill after selecting it from your repository.

  10. (Optional) Enter a plotting code to enable automatic plotting of the student response.

  11. (Optional) If the student is using the text entry mode for their response, you can enter custom previewing code to change how the student's response is displayed when they click the Preview icon to preview their response (Example — a custom previewing code could be defined to prevent simplification of the student's response).

  12. Click Insert to add this student response component to the question.

  13. The component is inserted into your question.

  14. Click Preview to trial your new question to ensure that it behaves as expected.

  15. Click Save to save your new question. Your new question is now stored in the Questions pane of the Content Repository.

Grading details for Maple-graded questions

Maple-graded questions automatically accept all equivalent responses as correct answers (unless otherwise defined by your custom grading code).

Both Maple-graded sub-types allow you to use Maple functions and expressions in the grading code (Example — trigonometric functions, log10, ln, abs, sqrt, diff, int, LinearAlgebra[Determinant], etc.).

In addition to the full range of Maple functions, you can use programming constructs to evaluate responses.

You can also author custom Maple-graded question grading code to assign partial grades to student responses:

  • You can modify your grading code to allow for grading between 0.0 and 1.0 as partial credit

  • Grading must be done using a floating-point number

  • Rational numbers aren't accepted