[LON-CAPA-users] Number of bubbles for randomized exam

hkng hkng at fsu.edu
Fri Oct 5 12:10:56 EDT 2012


Hi, does the resource has to be in a course before this works? It doesn't
return any value in the construction space? -hk


On Fri, Oct 5, 2012 at 12:04 PM, Stuart Raeburn <raeburn at msu.edu> wrote:

> Hi,
>
> Your &EXT() call works for me on a single part problem (i.e., where partid
> is 0), where I have set the numbubbles parameter for either the resource or
> the enclosing folder, after importing the published resource into teh
> course, e.g.,
>
> <script type="loncapa/perl">
> $numbub = &EXT('resource.0.numbubbles');
> </script>
>
> <startouttext />
> Parameter numbubbles currently set to: $numbub)
> <endouttext />
>
> will display the current value set for the parameter.
>
> Stuart Raeburn
> MSU LON-CAPA group
>
>
>
> Quoting hkng <hkng at fsu.edu>:
>
>  Hi,
>>
>> Is there a way to get the number of bubbles for a problem set in the exam
>> mode? Tried
>>
>> &EXT('resource.partid.**numbubbles') where partid is the id for the part
>> and
>> a few variants but no success.
>>
>> Thanks,
>> -hk
>>
>
>
> ______________________________**_________________
> LON-CAPA-users mailing list
> LON-CAPA-users at mail.lon-capa.**org <LON-CAPA-users at mail.lon-capa.org>
> http://mail.lon-capa.org/**mailman/listinfo/lon-capa-**users<http://mail.lon-capa.org/mailman/listinfo/lon-capa-users>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.lon-capa.org/pipermail/lon-capa-users/attachments/20121005/7a4e4949/attachment.html>


More information about the LON-CAPA-users mailing list