[system] Repository:
ViewVC logotype

Revision 3703

Jump to revision: Previous Next
Author: dpvc
Date: Mon Oct 10 23:47:26 2005 UTC (14 years, 1 month ago)
Log Message:
Add a new context flag that controls how the student answer should be
displayed.  The formatStudentAnswer flag can be set to 'evaluated'
(the default), which shows the final numeric answer; 'parsed', which
shows the fully parsed version (including extra parentheses for
clarity); or 'reduced', which performs constant operations, but
doesn't perform function evaluations or named-constant substitutions.

For example, if the student answers 1+2+sqrt(3), then 'evaluated' will
produce  4.73205, 'reduced' will show 3+sqrt(3), and 'parsed' will
show 1+2+sqrt(3).

Changed paths:

Path Details
Directorytrunk/pg/lib/Parser/Context/Default.pm modified , text changed
Directorytrunk/pg/lib/Value/AnswerChecker.pm modified , text changed

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9