Scenario 2

Based on the project requirements, the instructional designer has determined that the learners must take an assessment. The assessment will consist of 10 questions.

Criteria for the assessment are:

  • The value for each correct answer is 1.
  • The value for each incorrect answer is 0.
  • Scaled Passing Score of 0.7, (7 out of 10 questions must be answered correctly to achieve mastery)

Use Scaled Passing Score to enable this scoring of an assessment.

function evaluteScore(score)
{
   var passingScore = GetValue ( "cmi. _passing_score" );

   if ( score >= )
   {
      SetValue( "cmi.success_status", " " );
   }
   else
   {
      SetValue( "cmi. ", "failed" );
   }
}

Click after you complete the code.