[LON-CAPA-users] Option Response hints
Mark Lucas
lon-capa-users@mail.lon-capa.org
Wed, 12 Nov 2008 16:06:12 -0500
Hi,
Does anyone want to offer some advice on the optionhint tag?
When I used it as follows, I got both hints showing up at the same time
when only one matched up. If I got Foil1 wrong but Foil 2 correct, I got
both hints.
Thanks!
Mark
----------------------------------------------------------------------
<problem><startouttext />Type Question Here.<endouttext />
<optionresponse max="10" randomize="yes" TeXlayout="horizontal">
<foilgroup options="('True','False')">
<foil name="Foil1" value="True" location="random">
<startouttext />This is foil One. It is currently set to
"True."<endouttext />
</foil>
<foil name="Foil2" value="False" location="random">
<startouttext />This is foil Two. It is currently set to
"False."<endouttext />
</foil>
<foil name="Foil3" value="True" location="random">
<startouttext />This is foil Three. It is currently set to
"True."<endouttext />
</foil>
</foilgroup>
<hintgroup showoncorrect="no"><startouttext /><endouttext />
<optionhint name="Wrong1" answer="False" concept="Foil1">
</optionhint>
<optionhint name="Wrong2" answer="True" concept="Foil2">
</optionhint>
<hintpart on="Wrong1">
<startouttext />You got Foil1 wrong - it should be True.
<br/><endouttext />
</hintpart>
<hintpart on="Wrong2">
<startouttext />You got Foil2 wrong - it should be False.
<br/><endouttext />
</hintpart>
<hintpart on="default">
<startouttext/> Generic Hint<endouttext/>
</hintpart>
</hintgroup>
</optionresponse>
</problem>
----------------------------------------------------------------------
--
Mark Lucas email: lucasm@ohiou.edu
252D Clippinger Lab phone: (740)597-2984
Department of Physics and Astronomy fax: (740)593-0433
Ohio University
Athens, OH 45701