CommentsForInstructors

From WeBWorK
Jump to: navigation, search

Comments (for Instructors) Visible in the Library Browser: PG Code Snippet


This code snippet shows the essential PG code to include comments for instructors that are visible only when the PG file is viewed in the Library Browser. Note that this is an insertion, not a complete PG file. This code will have to be incorporated into the problem file on which you are working.

Problem Techniques Index

PG problem file Explanation
ANS( $expr->cmp() );

COMMENT("This problem is not randomized.");

ENDDOCUMENT();

Answer Evaluation: Include the COMMENT(); just before the ENDDOCUMENT(); Comments are only visible when the PG file is viewed in the Library Browser, so students will not see them.

Problem Techniques Index

follow us