Student[Basics]
PracticeSheet
generate an interactive practice sheet
Calling Sequence
Parameters
Description
Interactive
Examples
Compatibility
PracticeSheet(template,options)
template
-
{string,procedure} ; pattern to use to generate the practice sheet questions
compare
procedure; (optional) custom method for grading each result
comparebyindex
truefalse; (optional) passes index instead of expression to grading
equalsymbol
string ; (optional,default="=") text between question and answer box
height
posint ; (optional,default=40) height in pixels of the answer boxes
inert
truefalse; (optional,default=true) disables auto-simplification of responses passed to the compare procedure by keeping them in inert form
inline
truefalse; (optional,default=false) specifies whether to inject the sheet into the current document or into a new document
nrows
posint ; (optional,default=5) number of rows
ncols
posint ; (optional,default=2) number of columns
output
identical(none,table,Array) ; (optional,default=none) output from InsertContent
solution
{name,procedure} ; (optional,default=simplify) method used to reduce the input expressions to the desired result
state
list(name) ; (optional,default=[anames(user)]) variables to initialize in the generated worksheet
title
string ; (optional,default="") title text to appear above the sheet
message
string ; (optional,default="") introductory paragraph message to appear above the sheet
width
posint ; (optional,default=130) width in pixels of the answer boxes
The PracticeSheet command generates a grid of math practice problems intended for basic drills that involve simplifying or evaluating one expression into another.
The template parameter is the only one required, and it specifies the form of the displayed expressions.
Most commonly, template is a parsable string expression involving operators, functions, and the keywords integer and variable. The integer and variable keywords are replaced by random values. For example, the template "integer+i