简体   繁体   中英

How to store response of each questions in scorm

I'am new to SCORM development.

After a few research we found that PHP is not good for developing SCORM package and we converted all of our php pages into pure HTML&javascript.

Now we have a basic SCORM package with basic functionalities like session calculation.

How to send response of each questions to LMS in scorm?

currently i'am using 'reload-editor ' and 'ReloadScormPlayer1.2.2' is there any better software?

can i use Moodle for this?

Moodle is used to deliver SCORM content rather than create it. So you would create a SCORM package in an editor, then create a SCORM activity in Moodle and upload the SCORM package.

https://docs.moodle.org/34/en/Creating_SCORM_Content

I would suggest looking at Adapt which is an open source SCORM editor :

https://www.adaptlearning.org/

Or have a look at Adobe Captivate which is a commercial editor :

https://www.adobe.com/products/captivate.html

You can use cmi.interactions to store answers to questions in the LMS database.

Rustici have a runtime reference for all scorm versions here , this shows the calls you can make to the API.

A very simple answer could be stored in the LMS by getting the number of interactions:

NUM = cmi.interactions._count

Then pushing in some basic data:

cmi.interactions.NUM.id = "question_id_with_no_spaces"
cmi.interactions.NUM.learner_response = "A,B,D"
cmi.interactions.NUM.result = "correct".

This should work on Moodle, but SCORM Cloud is a great place to test and debug the information your package is sending.

SCORM 2004 (both versions) have more option and are worth exploring as not all LMS can take interactions from a 1.2 SCORM.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM