Editing Numeric Answers - PGML

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 4: Line 4:
   
 
BEGIN_PGML
 
BEGIN_PGML
The value of [: 3 + 5 :] is [______]{8}
+
The value of [: 3 + 5:] is [______]{8}
 
END_PGML
 
END_PGML
   
Line 13: Line 13:
 
 
 
BEGIN_PGML
 
BEGIN_PGML
The value of [: [$a] + [$b] :] is [______]{$answer}
+
The value of [: [$a] + [$b]:] is [______]{$answer}
 
END_PGML
 
END_PGML
   
Line 21: Line 21:
 
 
 
BEGIN_PGML
 
BEGIN_PGML
The value of [: [$a] + [$b] :] is [______]{$a+$b}
+
The value of [: [$a] + [$b]:] is [______]{$a+$b}
 
END_PGML
 
END_PGML
   
Line 30: Line 30:
 
 
 
BEGIN_PGML
 
BEGIN_PGML
The value of [: [$a] + [$b] :] is [______]{$answer}
+
The value of [: [$a] + [$b]:] is [______]{$answer}
 
END_PGML
 
END_PGML
   
Line 38: Line 38:
   
 
BEGIN_PGML
 
BEGIN_PGML
The value of [: [$a] + [$b] :] is [______]{"$a + $b"}
+
The value of [: [$a] + [$b]:] is [______]{"$a + $b"}
 
END_PGML
 
END_PGML
   
 
will show "3 + 5" as the correct answer, not 8. ('''Note:''' this requires a recent version of PGML.pl)
 
will show "3 + 5" as the correct answer, not 8. ('''Note:''' this requires a recent version of PGML.pl)
 
See the section on [[MathObject Answers - PGML|MathObject Answers]] for details on how to provide additional control over the MathObject answer checkers.
 
   
   

Please note that all contributions to WeBWorK_wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see The WeBWorK Project wiki:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)