Diff for /loncom/homework/templates/StringResponse.problem between versions 1.2 and 1.6

version 1.2, 2001/12/19 15:13:34 version 1.6, 2004/04/21 20:37:41
Line 1 Line 1
 <problem>  <problem><startouttext />Enter your question text here.
 <script type="loncapa/perl">#Enter script here  The current answer is "NaCl" and it is case sensitive.<endouttext />
 $choice = &random(1,2,1);  <stringresponse answer="NaCl" type="cs">
 $chemString = &choose($choice,"Sodium Chloride","Potassium Chloride");  
 $chemFormula = &choose($choice,"NaCl","KCl");</script>  
 <startouttext />Enter question text here.  <br />  
 What is the chemical formula for $chemString?<endouttext />  
 <stringresponse answer="$chemFormula" type="cs">  
 <textline>  <textline>
 </textline>  </textline>
     <hintgroup><startouttext />Add hint text here.<endouttext />      <hintgroup><startouttext /><endouttext />
     </hintgroup>      </hintgroup>
 </stringresponse>  </stringresponse>
 </problem>  </problem>

Removed from v.1.2  
changed lines
  Added in v.1.6


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