Difference between revisions of "CommentsForInstructors"
Jump to navigation
Jump to search
m |
|||
(3 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | <h2>Comments for Instructors: PG Code Snippet</h2> |
||
+ | {{historical}} |
||
+ | |||
+ | <p style="font-size: 120%;font-weight:bold">This problem has been replaced with [https://openwebwork.github.io/pg-docs/sample-problems/snippets/CommentsForInstructors.html a newer version of this problem]</p> |
||
+ | |||
+ | <h2>Comments (for Instructors) Visible in the Library Browser: PG Code Snippet</h2> |
||
<!-- Header for these sections -- no modification needed --> |
<!-- Header for these sections -- no modification needed --> |
||
Line 30: | Line 34: | ||
<b>Answer Evaluation:</b> |
<b>Answer Evaluation:</b> |
||
Include the <code>COMMENT();</code> just before the <code>ENDDOCUMENT();</code> |
Include the <code>COMMENT();</code> just before the <code>ENDDOCUMENT();</code> |
||
+ | Comments are only visible when the PG file is viewed in the Library Browser, so students will not see them. |
||
</p> |
</p> |
||
</td> |
</td> |
Latest revision as of 08:10, 28 June 2023
This problem has been replaced with a newer version of this problem
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.
PG problem file | Explanation |
---|---|
ANS( $expr->cmp() ); COMMENT("This problem is not randomized."); ENDDOCUMENT(); |
Answer Evaluation:
Include the |