Items API Initialization
max_time
The total time allowed for learners to complete the assessment, in seconds. By default, this timer appears in the upper right corner of the assessment player.
You would want to specify this option so that you can match the allowed time with the number of Questions to complete in the assessment.
Note The setting can be extended by a proctor when running a live status assessment.
Note A value of 0
, or omitting max_time
completely, is the equivalent of unlimited time.
Examples
// Set various assessment timer options:
// 1. Set the maximum time for the assessment to 10 minutes
// 2. Enable the warning indicator when 60 seconds remains
// 3. Force the assessment submission when the time has run out
// 4. Show the timer counting down from the total assessment time
var initializationOptions = {
"config": {
"time": {
"max_time": 600,
"warning_time": 60,
"limit_type": "hard",
"countdown_option": true
}
}
// ...
};
Values
Attribute path config.time.max_time
Type number