我不知道在使用 SCORM 时如何获得分数。我有我猜的交互信息,但是如何设置最大值、最小值、原始值?有1道选择题,100分(测试用)。
submitMCQ(correct, response) {
let nextIndex = SCORM.get("cmi.interactions._count", true);
//record interaction id
SCORM.set("cmi.interactions." + nextIndex + ".id", "round_" + nextIndex);
//record interaction type
SCORM.set("cmi.interactions." + nextIndex + ".type", "choice");
//record interaction of students choice
SCORM.set("cmi.interactions." + nextIndex + ".student_response", response);
//record interaction of correct choice
SCORM.set("cmi.interactions." + nextIndex + ".result", correct);
//HOW TO GET SCORE FROM CORRECT CHOICES?
},