Scenario 2

In this scenario, an assessment consists of five questions to determine if a learner can successfully:

  • Objective 1: Identify the four major food groups
  • Objective 2: Identify two sources of fat

The project requirements identify that if the learner answers questions one through three correctly, then Objective 1 has been met and considered passed. If the leaner answers questions four and five correctly, then Objective 2 has been met and considered passed. Any incorrect responses would determine the mapped objective failed.

Complete the code below to set the success status for Objective 1 and Objective 2.

Note: Assume that Objective 1 is stored in array location 0 and Objective 2 is stored in array location 1.

Assume that the three questions related to Objective 1 were answered correctly and set the success status for the objective correctly:
SetValue( "cmi. .0. ", " " );

Assume that the two questions related to Objective 2 were answered incorrectly and set the success status for the objective correctly:
SetValue( "cmi. .1. ", " " );

Click after you complete the code.