[LON-CAPA-users] set maxtries in problem
Guy Albertelli II
lon-capa-users@mail.lon-capa.org
Tue, 27 May 2003 17:11:19 -0400 (EDT)
Hi ray,
> The one that works is
> /res/sfu/batchelo/chem121/problems/lecture/set7/periodic.props.problem
> in the course Chem120-121 Lecture 2003-2 : sfu
>From what I can tell this problem doesn't actually do what you would
like it to do. ANd in .99+ it will become more obvious that it isn't.
(For instance in my test course the problem is defaulting to 2 tries
for all parts when the problem is viewed, and is not aparently
cascading the default 3 across all parts)
> <part id="11">
> <randomlist show="1">
> <optionresponse max="1" id="12" randomize="yes">
> <foilgroup options="('Li','Na','K','Rb','Cs')">
> <foil location="random" value="$IE1" name="1st IE Group 1">
> <startouttext />Which of the listed alkali metals (Li, Na, K, Rb, or Cs') has
> $hilo1 1st ionization energy?
> <endouttext />
> </foil>
> </foilgroup>
> <responseparam description="allowed tries" default="3" type="integer"
> name="maxtries" />
> </optionresponse>
> .
> .
> .
> </randomlist>
> </part>
> ...
Can you try this instead in the maxtries?
<problem><startouttext />Type Question Here.<endouttext />
<responseparam description="maximum tries" default="3" type="integer" name="maxtries" />
<optionresponse max="1" id="11" randomize="yes">
<foilgroup options="('True','False')">
<foil location="random" value="True" name="Foil1">
<startouttext />This is foil One. It is currently set to "True."<endouttext />
</foil>
<foil location="random" value="False" name="Foil2">
<startouttext />This is foil Two. It is currently set to "False."<endouttext />
</foil>
</foilgroup>
</optionresponse>
</problem>
> You want any roles? Personally I'm restricting my carbohydrate intake at this
> time.
Got enough, but thanks for the offer.
--
guy@albertelli.com LON-CAPA Developer 0-7-6-9-