Answered Multichoice Question
Submitted by falcon on Tue, 07/21/2015 - 17:05
This statements is triggered when the user presses the check button in multichoice
Typically the url to this resource, suffixed by subcontent id if this resource is used as sub content
Only one array element object.definition.correctResponsePattern: Lists the ids all the correct alternatives separated by a [,] for instance: "0[,]1" if the correct answer is the first and second alternative when they are ordered in the way they are ordered in the editor.
The actual question, for instance: "<p>Which countries are scandinavian?</p>↵"
A textual representation of an alternative
A numeric id provided by the system identifying this alternative. The same id is used in the result.response
http://h5p.org/x-api/h5p-local-content-id: A unique id for the content used by H5P
User defined or autogenerated from the question
Typically holds the logged in users e-mail adress like "mailto:[email protected]"
Typically holds the user's name like "falcon"
Typically used for not logged in users holding the url of your site like "example.com"
Typically used for not logged in users with the name being a UUID the user gets for an entire session
Info about the library sending out this statement on the form http://h5p.org/libraries/[Machine name]-[major version].[minor version]. For instance http://h5p.org/libraries/H5P.Blanks-1.4 for Fill in the blanks version 1.4.
Typically holds the id of the parent of this activity if this activity is used as sub content
The ids of the users answers where multiple alternatives are separated by "[,]", for instance: "1[,]3" if the user answered the first and third alternatives in the way they are ordered in the editor
The time the user spent on this activity given as for example PT125.15S if the user spent 125.15 seconds on the activity
The maximum score for this activity
The minimum score for this activity
The users score on this activity
The users scaled result for this activity, for instance "0.45" if the user got 45 % correct
Tue, 04/03/2018 - 23:37
MCQ_statement for correct answer?
Is there statement triggered when the answer is correct? If so, what is the verb for that?
Wed, 04/04/2018 - 08:56
If there's a result (in MC
If there's a result (in MC included in the answered statement), it will be included, and it will hold the property success which can be true or false.
Wed, 04/04/2018 - 09:14
The verb will be 'answered'
The verb will be 'answered' with a response pattern, score and max score:
Tue, 08/28/2018 - 16:51
Wordpress, h5p , xAPI, result.response
Using h5p in Wordpress with Quiz ( Questionset) and wp-h5p-xapi. Writing to our LRS works fine. When I get an Answered record the result.response is always response="" in the record and not the users actual respones to the question.
Fri, 08/31/2018 - 17:44
Hi dchowell58!Could you
Could you please open your content, then press F12 to open a developer console and enter
This will output the xAPI objects to the console, where you can inspect them. What does result.response contain?
I tested it on h5p.org, and result.response is set correctly. So, maybe it's lost on its way through wp-h5p-xapi.