[system] / branches / rel-2-1-patches / webwork2 / conf / snippets / blankProblem.pg Repository:
ViewVC logotype

View of /branches/rel-2-1-patches/webwork2/conf/snippets/blankProblem.pg

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3141 - (download) (annotate)
Sun Feb 6 15:20:52 2005 UTC (8 years, 4 months ago)
File size: 1416 byte(s)
This commit was manufactured by cvs2svn to create branch 'rel-2-1-patches'.

    1 ################################################################################
    2 # WeBWorK Online Homework Delivery System
    3 # Copyright © 2000-2003 The WeBWorK Project, http://openwebwork.sf.net/
    4 # $CVSHeader: webwork-modperl/conf/snippets/blankProblem.pg,v 1.1 2004/12/28 04:56:27 gage Exp $
    5 #
    6 # This program is free software; you can redistribute it and/or modify it under
    7 # the terms of either: (a) the GNU General Public License as published by the
    8 # Free Software Foundation; either version 2, or (at your option) any later
    9 # version, or (b) the "Artistic License" which comes with this package.
   10 #
   11 # This program is distributed in the hope that it will be useful, but WITHOUT
   12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
   13 # FOR A PARTICULAR PURPOSE.  See either the GNU General Public License or the
   14 # Artistic License for more details.
   15 ################################################################################
   16 
   17 DOCUMENT();
   18 
   19 # Load whatever macros you need for the problem
   20 loadMacros("PG.pl",
   21            "PGbasicmacros.pl",
   22            "PGchoicemacros.pl",
   23            "PGanswermacros.pl",
   24            "PGauxiliaryFunctions.pl",
   25            "PGgraphmacros.pl",
   26           );
   27 
   28 ## Do NOT show partial correct answers
   29 $showPartialCorrectAnswers = 0;
   30 TEXT(beginproblem());
   31 
   32 BEGIN_TEXT
   33 
   34 Enter a value for \(\pi\)
   35 
   36 \{ans_rule()\}
   37 END_TEXT
   38 
   39 ANS(num_cmp(3.14159));
   40 
   41 ENDDOCUMENT();

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9