File:
[LON-CAPA] /
loncom /
homework /
templates /
reaction.problem
Revision
1.1:
download - view:
text,
annotated -
select for diffs
Fri Feb 18 05:42:45 2005 UTC (19 years, 6 months ago) by
albertel
Branches:
MAIN
CVS tags:
version_2_8_X,
version_2_8_2,
version_2_8_1,
version_2_8_0,
version_2_7_X,
version_2_7_99_1,
version_2_7_99_0,
version_2_7_1,
version_2_7_0,
version_2_6_X,
version_2_6_99_1,
version_2_6_99_0,
version_2_6_3,
version_2_6_2,
version_2_6_1,
version_2_6_0,
version_2_5_X,
version_2_5_99_1,
version_2_5_99_0,
version_2_5_2,
version_2_5_1,
version_2_5_0,
version_2_4_X,
version_2_4_99_0,
version_2_4_2,
version_2_4_1,
version_2_4_0,
version_2_3_X,
version_2_3_99_0,
version_2_3_2,
version_2_3_1,
version_2_3_0,
version_2_2_X,
version_2_2_99_1,
version_2_2_99_0,
version_2_2_2,
version_2_2_1,
version_2_2_0,
version_2_1_X,
version_2_1_99_3,
version_2_1_99_2,
version_2_1_99_1,
version_2_1_99_0,
version_2_1_3,
version_2_1_2,
version_2_1_1,
version_2_1_0,
version_2_0_X,
version_2_0_99_1,
version_2_0_2,
version_2_0_1,
version_2_0_0,
version_1_99_3,
version_1_99_2,
version_1_99_1_tmcc,
version_1_99_1,
version_1_99_0_tmcc,
version_1_99_0,
bz5969,
HEAD,
GCI_1,
BZ5971-printing-apage,
BZ5434-fox
- adding a reaction response template
1: <problem>
2: <script type="loncapa/perl">
3: $formula = "C2H5OH";
4: $name = "ethanol";
5: $answer = "C2H5OH + 3O2 -> 2CO2 + 3H2O";
6: </script>
7: <startouttext />
8: <p>Write a balanced reaction for the complete combustion of $name
9: (<chem>$formula</chem>) in oxygen, using the smallest integer
10: coefficients.</p>
11: <endouttext />
12: <reactionresponse answer="$answer" initial="$formula ->">
13: <textline readonly="yes" />
14: <hintgroup showoncorrect="no">
15: <stringhint answer="/\(g\)/" name="state" type="re" />
16: <hintpart on="state">
17: <startouttext />
18: Do not include symbols for state of matter in your answer.
19: <endouttext />
20: </hintpart>
21: </hintgroup>
22: </reactionresponse>
23: </problem>
24:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>