Maple Syntax

Question Mode: Maple

qu.x.y.mode=Maple@

type=maple@

 

Maple Syntax is a subtype of the Maple-graded question type.

In this subtype, the student is required to :

Example Uses

The  Maple Syntax subtype is particularly useful when the answer is to be expressed as a:

 

Guidelines

Student Use of Unevaluated Forms of Maple Commands

Some Maple commands take unevaluated forms. For example, Diff is the inert form of diff. In EDU, students are directed to answer questions using the unevaluated forms of Maple commands. Your code should accept these forms.

Semicolon Usage

The instructor should specify to the student (in the question text) whether a trailing semicolon is required, or alternatively, write code such that the presence or absence of a trailing semicolon has no bearing on the evaluation of the response.

 

For example, evalb($RESPONSE=factor(x^2-1); as one line of question code does not allow a student response with a semicolon, such as (x-1)*(x+1); The response is marked as incorrect.

 

If the question code contains two lines, completed with semicolons, such as

A:= $RESPONSE;

evalb(A=factor(x^2-1);

the student can answer with or without a semicolon and the response is marked as correct.

 

Syntax

EDU does not check the syntax of the student response.

 

 

As the author, you can verify whether the student is using a Maple command to calculate the answer. For more information, see Using Maple Code to Prevent Cheating in Maple Syntax Questions.

 

Variables

The variable e should not be assigned as a global variable in Maple code. It can be used, however, as a local variable.

 

See Also:

Creating Maple-graded Questions in the QBE

Maple-graded Formula Questions

Maple-graded Question Type - Overview