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
verb.id:
"http://adlnet.gov/expapi/verbs/answered"
verb.display.en-US:
"answered"
object.id:
Typically the url to this resource, suffixed by subcontent id if this resource is used as sub content
object.objectType:
"Activity"
object.definition.correctResponsePattern[n]:
Only one array element object.definition.correctResponsePattern[0]: 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.
object.definition.description.en-US:
The actual question, for instance: "<p>Which countries are scandinavian?</p>↵"
object.definition.choices[n].description.en-US:
A textual representation of an alternative
object.definition.choices[n].id:
A numeric id provided by the system identifying this alternative. The same id is used in the result.response
object.definition.extensions:
http://h5p.org/x-api/h5p-local-content-id: A unique id for the content used by H5P
object.definition.interactionType:
"choice"
object.definition.name.en-US:
User defined or autogenerated from the question
object.definition.type:
"http://adlnet.gov/expapi/activities/cmi.interaction"
actor.mbox:
Typically holds the logged in users e-mail adress like "mailto:[email protected]"
actor.name:
Typically holds the user's name like "falcon"
actor.objectType:
"Agent"
actor.account.homePage:
Typically used for not logged in users holding the url of your site like "example.com"
actor.account.name:
Typically used for not logged in users with the name being a UUID the user gets for an entire session
context.contextActivities.category[0].id:
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.
context.contextActivities.category[0].objectType:
"Activity"
context.contextActivities.parent[0].id:
Typically holds the id of the parent of this activity if this activity is used as sub content
context.contextActivities.parent[0].objectType:
"Activity"
result.response:
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
result.score.duration:
The time the user spent on this activity given as for example PT125.15S if the user spent 125.15 seconds on the activity
result.score.max:
The maximum score for this activity
result.score.min:
The minimum score for this activity
result.score.raw:
The users score on this activity
result.score.scaled:
The users scaled result for this activity, for instance "0.45" if the user got 45 % correct