File:  [LON-CAPA] / loncom / homework / templates / Attic / SimpleStringResponse.problem
Revision 1.1: download - view: text, annotated - select for diffs
Tue Oct 9 19:18:55 2001 UTC (22 years, 9 months ago) by albertel
Branches: MAIN
CVS tags: stable_2001_fall, HEAD
- added a bunch of templates

    1: <problem>
    2: <script type="loncapa/perl">#Enter script here
    3: $choice = &random(1,2,1)
    4: $chemString = &choose($choice,"Sodium Chloride","Potassium Chloride")
    5: $chemFormula = &choose($choice,"NaCl","KCl")</script><startouttext />Enter question text here.  <br />
    6: What is the chemical formula for $chemString?<endouttext />
    7: <stringresponse answer="NaCl" type="cs">
    8: <textline>
    9: </textline>
   10:     
   11:     
   12:     <hintgroup><startouttext />Add hint text here.<endouttext />
   13:     </hintgroup>
   14: </stringresponse>
   15: </problem>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>