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
Comments
ucalgarycme
Tue, 04/03/2018 - 23:37
Permalink
MCQ_statement for correct answer?
Is there statement triggered when the answer is correct? If so, what is the verb for that?
Thanks!
otacke
Wed, 04/04/2018 - 08:56
Permalink
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.
Cmp.: https://github.com/adlnet/xAPI-Spec/blob/master/xAPI-Data.md#result
tim
Wed, 04/04/2018 - 09:14
Permalink
The verb will be 'answered'
The verb will be 'answered' with a response pattern, score and max score:
https://github.com/h5p/h5p-multi-choice/blob/master/js/multichoice.js#L947
dchowell58
Tue, 08/28/2018 - 16:51
Permalink
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.
otacke
Fri, 08/31/2018 - 17:44
Permalink
Hi dchowell58!Could you
Hi dchowell58!
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.
Best,
Oliver
abdullah84@uomo...
Sat, 11/14/2020 - 21:12
Permalink
السلام عليكم ...اود عمل فيديو تفاعلي
السلام عليكم
( أود عمل فيديو تفاعلي لاول مرة لم اجد اين اضافة الفيديو ( اي لم اجد Intrection video
ارجو التوضيح مع جزيل الشكر)
BV52
Mon, 11/16/2020 - 18:30
Permalink
Hi,To provide a best possible
Hi,
To provide a best possible experience for new users and to ensure that people use H5P.org only for trying out H5P (we've had more traffic than our server can handle lately, ref also the warnings when you create content, embed content and view the content) we are experimenting with which content types should be available here.
Check the getting started page for information on how you can use all the content types and use H5P for real. We unfortunately are not able to provide free hosting, only free software :) Hopefully you'll consider supporting the H5P Core Team by using H5P.com.
-BV