[LON-CAPA-cvs] cvs: loncom /homework/templates SimpleMatching.problem SimpleMatching.problem.meta SimpleRank.problem SimpleRank.problem.meta

albertel lon-capa-cvs@mail.lon-capa.org
Wed, 12 Feb 2003 20:10:18 -0000


albertel		Wed Feb 12 15:10:18 2003 EDT

  Added files:                 
    /loncom/homework/templates	SimpleMatching.problem 
                              	SimpleMatching.problem.meta 
                              	SimpleRank.problem 
                              	SimpleRank.problem.meta 
  Log:
  - adding templates for rank/match response
  
  

Index: loncom/homework/templates/SimpleMatching.problem
+++ loncom/homework/templates/SimpleMatching.problem
<problem>
<startouttext />Enter the question text here.<endouttext />
<matchresponse max="10" randomize="yes">
    <foilgroup>
        <itemgroup>
            <item name="True"><startouttext /><b>True</b><endouttext /></item>
            <item name="False"><startouttext /><b>False</b><endouttext /></item>
        </itemgroup>
<foil value="True" name="foil1">
<startouttext />This is foil1 and it is True<endouttext /></foil>
<foil value="False" name="foil2">
<startouttext />This is foil2 and it is False<endouttext /></foil>
<foil value="True" name="foil1">
<startouttext />This is foil3 and it is True<endouttext /></foil>
<foil value="unused" name="foil1">
<startouttext />This is foil4 and it is unused<endouttext /></foil>
    </foilgroup>
</matchresponse>
</problem>

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

Index: loncom/homework/templates/SimpleRank.problem
+++ loncom/homework/templates/SimpleRank.problem
<problem>
<startouttext />Enter the question text here.<endouttext />
<rankresponse max="10" randomize="yes">
    <foilgroup>
<foil location="random" value="1" name="foil1">1</foil>
<foil location="random" value="2" name="foil2">2</foil>
<foil location="random" value="3" name="foil3">3</foil>
<foil location="random" value="2" name="foil4">2</foil>
<foil location="random" value="2.0" name="foil5">2.0</foil>
<foil location="random" value="4" name="foil6">4</foil>
<foil location="random" value="-1" name="foil7">-1</foil>
    </foilgroup>
</rankresponse>
</problem>

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