Annotation of loncom/homework/templates/SimpleStringResponse.problem, revision 1.1
1.1 ! albertel 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>