Get - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.
Our website is currently undergoing maintenance, which may result in occasional errors while browsing. We apologize for any inconvenience this may cause and are working swiftly to restore full functionality. Thank you for your patience.

Online Help

All Products    Maple    MapleSim


Grading[Quiz]

  

Get

  

get variables used in an interactive quiz

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

Get( variable )

Parameters

variable

-

name

Description

• 

The Quiz:-Get command works inside an initialization or grading procedure in conjunction with the Quiz command.

• 

All variables used by Get must be of the form , where the name has a leading dollar sign, and the variable name is surrounded by left single quotes.

• 

The Quiz command is a module, but not a package, so it should not be loaded via with(Quiz).  However, since Get is only relevant inside a procedure, it is recommended that the first line of the procedure be the statement, uses Grading:-Quiz; so the short-form of the command name can be used.

• 

Some special values are available to the Get command without having a corresponding Quiz:-Set call to initialize them.  The user's response can be fetched via the "$RESPONSE" variable. For fill-in-the-blank questions, the initially generated value can be fetched via the "$START" variable.

Examples

The Quiz Example Worksheet provides a number of examples.

Compatibility

• 

The Grading[Quiz][Get] command was introduced in Maple 18.

• 

For more information on Maple 18 changes, see Updates in Maple 18.

See Also

examples/Quiz

MapleTA

Quiz