version 1.1, 2001/10/09 19:18:55
|
version 1.2, 2001/12/19 15:13:34
|
Line 1
|
Line 1
|
<problem> |
<problem><startouttext />The 3 types of string answers are: <br /> |
<script type="loncapa/perl">#Enter script here
|
cs: Case Sensitive <br /> |
$choice = &random(1,2,1)
|
ci: Case Insensitive <br /> |
$chemString = &choose($choice,"Sodium Chloride","Potassium Chloride")
|
mc: Multiple Choice, Order of characters unchecked. |
$chemFormula = &choose($choice,"NaCl","KCl")</script><startouttext />Enter question text here. <br />
|
<br /> <br />
|
What is the chemical formula for $chemString?<endouttext /> |
The answer is NaCl and it is case sensitive.<endouttext /> |
<stringresponse answer="NaCl" type="cs"> |
<stringresponse answer="NaCl" type="cs"> |
<textline> |
<textline> |
</textline> |
</textline> |
|
|
|
|
<hintgroup><startouttext />Add hint text here.<endouttext /> |
<hintgroup><startouttext />Add hint text here.<endouttext /> |
</hintgroup> |
</hintgroup> |
</stringresponse> |
</stringresponse> |