Scenario 2

In this scenario, the project requirements define that if learners take a break during their session, then the break time is not included in their session time for the SCO. The learner spent 7 minutes, 13 seconds in the first session and 4 minutes and 26 seconds in the second session.

Complete the code to record the Session Time for the SCO.

function setSessionTime(time)
{
   SetValue("cmi.session_time", time );
}

During the first learner session the setSessionTime() function is called. What is the value of the time parameter?

During the second learner session (after resuming) the setSessionTime() function is called. What is the value of the time parameter?

Click after you complete this exercise.