Scenario 5

A SCO consists of an assessment with seven tasks that must be completed in two minutes. The learners are informed before they begin the assessment that if they do not accurately complete the tasks within the allowable timeframe, then they will not have successfully completed the assessment. However, they will be permitted to continue through the assessment for practice.

Complete the code below:

function startContent()
{  
   // code to start an internal timer 
   startTimer();
   var timeLimitAction = GetValue( "cmi.time__action" );

   // currentElapsedTime is a variable 
   // that is set during the startTimer() function
   if ( currentElapsedTime > 120 )
   {
      if ( timeLimitAction == "" )
      {
         // continue to the next SCO
      }
   }
}
			

Click after you complete this exercise.