Mark,

Yes, by adding something like this to the XML of the problem, where the default 
value (500) is the time-limit (in seconds):

<parameter name="interval" type="date_interval" default="500" 
description="Time-Limit" />

In the table view of parameters (in course context) for the specific resource, 
the default value set in the published problem will be displayed in the 
Resource level (default) column.  If the problem has been imported into a 
course, and a Course Coordinator preferred not to use a time limit, this 
parameter could be overridden by setting the time limit to 0, using a column to 
the right of the Resource level (default) column, e.g., the" in Course, for 
Resource" column.

Stuart Raeburn
LON-CAPA Academic Consortium

________________________________________
From: LON-CAPA-users <lon-capa-users-boun...@mail.lon-capa.org> on behalf of 
Mark Wall <mark.w...@dal.ca>
Sent: Friday, September 7, 2018 10:27 AM
To: lon-capa-users@mail.lon-capa.org
Subject: Re: [LON-CAPA-users] LON-CAPA-users Digest, Vol 81, Issue 4

Hi,

Is it possible to hard code the time-limit parameter into a problem, similar to 
hard coding the max tries for a part using <parameter description="Maximum 
Number of Tries" type="int_pos" default="1" name="maxtries">.

Thanks,
Mark


______________________
Mark Wall
Department of Chemistry
Dalhousie University


_______________________________________________
LON-CAPA-users mailing list
LON-CAPA-users@mail.lon-capa.org
http://mail.lon-capa.org/mailman/listinfo/lon-capa-users

Reply via email to