Answered fill in the blanks
Submitted by falcon on Tue, 07/21/2015 - 16:56
This statements is triggered when the user presses the check button in fill in the blanks
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]:
Starts with {case_matters=true/false} and then all the correct alternatives separated by a [,] for instance:
"{case_matters=false}blue[,]Cloud[,]black" if the correct answer is the words blue, Cloud and black, and the question is case insensitive.
object.definition.description.en-US:
The question where blankse are represented by "______" for instance:
"<p>Insert the missing words in this text about berries found in Norwegian forests and mountainous regions.</p>↵<p>Bilberries <em>(Vaccinium myrtillus)</em>, also known as __________berries are edible, nearly black berries found in nutrient-poor soils.</p>↵<p>__________berries <em>(Rubus chamaemorus)</em> are edible orange berries similar to raspberries or blackberries found in alpine and arctic tundra. </p>↵<p>Redcurrant <em>(Ribes rubrum) </em>are red translucent berries with a diameter of 8–10 mm, and are closely related to its black colored relative __________currant. </p>↵"
object.definition.extensions:
http://h5p.org/x-api/h5p-local-content-id: A unique id for the content used by H5P
object.definition.interactionType:
"fill-in"
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 users response where multiple words for multiple blanks are separated by "[,]", for instance:
"blue[,]white[,]cookie"
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
Comments
figureone
Wed, 06/24/2020 - 00:10
Permalink
result.score.duration should be result.duration
Aloha, after examining some event data, it looks like duration is stored in result.duration, not result.score.duration as indicated above. This probably needs to be changed on the other xAPI documentation pages too.