The Grading
package can be used effectively with embedded components to create grading applications. Normally, the components below would be placed in a single document and the code would be placed in the start-up code region, but it is shown here to illustrate a simple use of the Grading commands.
Execute the code in the following code-edit region before using the components below. The example below allows a user to click on two points to draw the given line.
A more complete version of this application is available here: DrawLine - MathApp.