[system] / trunk / pg / macros / PGanswermacros.pl Repository:
ViewVC logotype

Diff of /trunk/pg/macros/PGanswermacros.pl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 6386 Revision 6387
1446} 1446}
1447 1447
1448 1448
1449 1449
1450 1450
1451=head2 Problem Grader Subroutines
1452
1453=cut
1454
1455## Problem Grader Subroutines
1456
1457#####################################
1458# This is a model for plug-in problem graders
1459#####################################
1460# ^function install_problem_grader
1461# ^uses PG_restricted_eval
1462# ^uses %PG_FLAGS{PROBLEM_GRADER_TO_USE}
1463sub install_problem_grader {
1464 my $rf_problem_grader = shift;
1465 my $rh_flags = PG_restricted_eval(q!\\%main::PG_FLAGS!);
1466 $rh_flags->{PROBLEM_GRADER_TO_USE} = $rf_problem_grader;
1467}
1468
1469=head4 std_problem_grader 1451=head4 std_problem_grader
1470 1452
1471This is an all-or-nothing grader. A student must get all parts of the problem write 1453This is an all-or-nothing grader. A student must get all parts of the problem write
1472before receiving credit. You should make sure to use this grader on multiple choice 1454before receiving credit. You should make sure to use this grader on multiple choice
1473and true-false questions, otherwise students will be able to deduce how many 1455and true-false questions, otherwise students will be able to deduce how many

Legend:
Removed from v.6386  
changed lines
  Added in v.6387

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9