Scenario 1

The determination for the Sharable Content Object (SCO) assessment is to allow only seven minutes in the content before it times out. By using the value of Exit, time-out, allows the learner seven minutes in the content before all questions become grayed out and therefore does not allow additional answers or changes.

Complete the following code.

var then = new Date;

var timer = setTimeout( 'timeOutAction();', 70000 );

function timeOutAction()
{
// exit the application due to a timeout
SetValue( "cmi.exit"," " );
// terminate the activity session
Terminate( "" );
}

Click after you complete this exercise.