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