[LON-CAPA-cvs] cvs: loncom /homework/templates Plot.problem Plot.problem.meta RandomLabelExample.problem RandomLabelExample.problem.meta SimpleFormula.problem SimpleFormula.problem.meta SimpleFormula.problem~

albertel lon-capa-cvs@mail.lon-capa.org
Thu, 06 Jun 2002 08:56:43 -0000


albertel		Thu Jun  6 04:56:43 2002 EDT

  Added files:                 
    /loncom/homework/templates	Plot.problem Plot.problem.meta 
                              	RandomLabelExample.problem 
                              	RandomLabelExample.problem.meta 
                              	SimpleFormula.problem 
                              	SimpleFormula.problem.meta 
                              	SimpleFormula.problem~ 
  Log:
  - new templates from felicia
  
  

Index: loncom/homework/templates/Plot.problem
+++ loncom/homework/templates/Plot.problem
<problem>
<script type="loncapa/perl"># Enter computations here</script><gnuplot width="300" transparent="off" grid="on" font="large" bgcolor="xffffff" height="300" align="left" fgcolor="x000000" border="on">
    <axis xmin="0" ymin="0" xmax="15" ymax="15" color="x000000" />

    <xlabel>Label X</xlabel>

    <ylabel>Label Y</ylabel>

    


    <curve linestyle="linespoints" name="My Plot" pointtype="0" color="x000000">
     <data>1,2,3,4,5,6,7,8,9,10</data>
     <data>1,2,3,4,5,6,7,8,9,10</data>
</curve>
</gnuplot>


<startouttext />Enter Question Text Here.<endouttext />
<numericalresponse answer="" id="11">
	<responseparam name="tol" type="tolerance" description="Numerical Tolerance" default="5%" />
	<responseparam name="sig" type="int_range,0-16" description="Significant Figures" default="0,15" />
	<textline />
	<hintgroup>
		<startouttext />Enter the hint text here.
		<endouttext />
	</hintgroup>
</numericalresponse>
</problem>

Index: loncom/homework/templates/Plot.problem.meta
+++ loncom/homework/templates/Plot.problem.meta
<title>Plot Problem</title>

Index: loncom/homework/templates/RandomLabelExample.problem
+++ loncom/homework/templates/RandomLabelExample.problem
<problem>
<randomlabel width="576" height="432" texwidth="60" bgimg="/res/msu/demo/man1.jpg">
<labelgroup name="face" type="text">
<location x="73" y="60" value="">
</location>
<location x="443" y="169" value="">
</location>
<location x="46" y="263" value="">
</location>

<location x="364" y="332" value="">
</location>
<label>A</label>
<label>B</label>
<label>C</label>
<label>D</label>
</labelgroup>
</randomlabel><startouttext />Match the following:<endouttext />
<optionresponse id="11" max="10">
    <foilgroup options="('A', 'B', 'C', 'D')">
<foil name="eyebrow" value="$face{1}">
<startouttext />eyebrow<endouttext />
</foil>
<foil name="eye" value="$face{2}">
<startouttext />eye<endouttext />
</foil>
<foil name="nose" value="$face{3}">
<startouttext />nose<endouttext />
</foil>
<foil name="mouth" value="$face{4}">
<startouttext />mouth<endouttext />
</foil>

    </foilgroup>
    <hintgroup><startouttext />Add hint text here.<endouttext />
    </hintgroup>
</optionresponse>
</problem>

Index: loncom/homework/templates/RandomLabelExample.problem.meta
+++ loncom/homework/templates/RandomLabelExample.problem.meta
<title>Example of a Random Label Problem</title>

Index: loncom/homework/templates/SimpleFormula.problem
+++ loncom/homework/templates/SimpleFormula.problem
<problem>
<script type="loncapa/perl"># Enter computations here 

</script>
<startouttext />Enter Question Text Here.  <endouttext />
<formularesponse answer="$answer" id="11" samples="">
    <responseparam name="tol" type="tolerance" description="Numerical Tolerance" default=".0001" />
    <textline size="50" />
    <hintgroup>
    </hintgroup>
</formularesponse>

</problem>

Index: loncom/homework/templates/SimpleFormula.problem.meta
+++ loncom/homework/templates/SimpleFormula.problem.meta
<title>Formula Response Problem</title>

Index: loncom/homework/templates/SimpleFormula.problem~
+++ loncom/homework/templates/SimpleFormula.problem~
<problem>
<script type="loncapa/perl"># Enter computations here 

</script>
<startouttext />Enter Question Text Here.  <endouttext />
<formularesponse answer="$answer" id="11" samples="">
    <responseparam name="tol" type="tolerance" description="Numerical Tolerance" default="1%" />
    <textline size="50" />
    <hintgroup>
    </hintgroup>
</formularesponse>

</problem>