Scenario 2

Programming raw scores can take quite a bit of code. For the next scenario, we did the logic for you.

Track raw score as a percentage for a True/False quiz. Each question has a value of one. (Keep in mind, this is just an example of what an organization might do. Your organization may assign a different value to calculate raw score.)

3.
rawScore = numberCorrect / totalQuestions;

// Set the raw score
SetValue ("cmi. . ", rawScore);

Click Submit after you complete the code.