(自订) 自我练习学习服务

  • 学生回答自我练习题目 (嵌入在影片中)

    customizedAnsweredVideoPracticeQuestions(actor, verb, object, result, context, authority, timestamp);

  • 学生回答自我练习题目 (嵌入在电子书页面中)

    customizedAnsweredEBookPracticeQuestions(actor, verb, object, result, context, authority, timestamp);

  • 学生阅读嵌入在影片中的题目的补充资讯或提示

    customizedReadVideoHints(actor, verb, object, result, context, authority, timestamp);

  • 学生阅读嵌入在电子书中的题目的补充资讯或提示

    customizedReadEBookHints(actor, verb, object, result, context, authority, timestamp);

函式说明

customizedAnsweredVideoPracticeQuestions()

  • 作用:学生回答自我练习题目 (嵌入在影片中)
  • 参数:表A
名称 属性 说明 必要性
actor Agent Object 主词。此语句的拥有者,物件格式请参考表1 必要
verb Object 动词。学生或学习小组之动作,物件格式请参考表2 必要
object Object 对象。可以为活动、动作者或者为另一个语句物件。预设为活动物件,物件格式请参考表3 必要
result Object 此语句之结果。可依照对应的动词取得对应结果。物件格式请参考表6 必要
context Object 描绘此语句之情境,物件格式请参考表4 必要
authority Object 语句拥有者,物件格式请参考表5 选填
timestamp ISO 8601 String 时间戳记 选填
Example
var actor = visca.setActorByMbox("Crystal","mailto:crystal@visca.com");
var verbDisplay = visca.setDisplay("zh-TW","回答");
var verb = visca.setVerb("http://adlnet.gov/expapi/verbs/answered",verbDisplay);
var objectID = "http://visca.com/question/id/1";
var defName = visca.setName("zh-TW","1");
var defDescription = visca.setDescription("zh-TW","1,_,3,_,5");
var defType = "http://adlnet.gov/expapi/activities/cmi.interaction";
var alignment = visca.setExtension("alignment",["社4-4-2-4","语1-1-1-2"]);
var bloomsLevel = visca.setExtension("blooms-level","Applying");
var defExtensions = visca.setExtensions(alignment,bloomsLevel);
var defInteractionType = "fill-in";
var defCorrectResponsesPattern = visca.setCorrectResponsesPattern("2[,]4");
var objectDef = visca.setDefinition(defName,defDescription,defType,defExtensions,defInteractionType,defCorrectResponsesPattern,null);
var object = visca.setObject(objectID,objectDef);
var reDuration = "PT20S";
var start = visca.setExtension("starting-point","2016-05-13T05:45:10Z");
var end = visca.setExtension("ending-point","2016-05-13T05:45:30Z");
var reExtensions = visca.setExtensions(start,end);
var reResponse = "2[,]6";
var reScore = visca.setScore(0,0,10);
var reSuccess = false;
var result = visca.setResult(reDuration,reExtensions,reResponse,reScore,reSuccess);
var instructor = visca.setInstructorByMbox("Teacher","mailto:teacher@visca.com");
var platform = "http://visca.com/platform/assessing";
var language = "zh-TW";
var parentID = "https://www.youtube.com/watch?v=sQcwRGTW5mw";
var pName = visca.setName("zh-TW","Future Learning");
var pType = "https://w3id.org/xapi/acrossx/activities/video";
var pExtensions = visca.setExtension("duration","PT12M47S");
var parentDefinition = visca.setDefinition(pName,null,pType,pExtensions,null,null,null);
var parent = visca.setParent(parentID,parentDef);
var category = visca.setCategory("https://w3id.org/xapi/acrossx/profile/practice","https://w3id.org/xapi/acrossx/profile/video");
var contextActivities = visca.setContextActivities(parent,null,category);
var browserInfo = visca.setExtension("browser-info");
var time = visca.setExtension("time","PT1M");
var contextExtensions = visca.setExtensions(browserInfo,time);
var context = visca.setContext(instructor,language,contextActivities,platform,contextExtensions);
var authority = visca.setAuthorityByMbox("Crystal","mailto:crystal@visca.com");
var timestamp = visca.setTimestamp();

visca.customizedAnsweredVideoPracticeQuestions(actor,verb,object,result,context,authority,timestamp);

customizedAnsweredEBookPracticeQuestions()

  • 作用:学生回答自我练习题目 (嵌入在电子书页面中)
  • 参数:表A
Example
var actor = visca.setActorByMbox("Crystal","maito:crystal@visca.com");
var verbDisplay = visca.setDisplay("zh-TW","回答");
var verb = visca.setVerb("http://adlnet.gov/expapi/verbs/answered",verbDisplay);
var objectID = "http://visca.com/question/id/2";
var defName = visca.setName("zh-TW","2");
var defDescription = visca.setDescription("zh-TW","太阳是恒星?");
var defType = "http://adlnet.gov/expapi/activities/cmi.interaction";
var alignment = visca.setExtension("alignment",["社4-4-2-4","语1-1-1-2"]);
var bloomsLevel = visca.setExtension("blooms-level","Applying");
var defExtensions = visca.setExtensions(alignment,bloomsLevel);
var defInteractionType = "true-false";
var defCorrectResponsesPattern = visca.setCorrectResponsesPattern("false");
var objDefinition = visca.setDefinition(defName,defDescription,defType,defExtensions,defInteractionType,defCorrectResponsesPattern,null);
var object = visca.setObject(objectID,objectDef);
var reDuration = "PT20S";
var start = visca.setExtension("starting-point","2015-09-21T05:45:10Z");
var end = visca.setExtension("ending-point","2015-09-21T05:45:30Z");
var reExtensions = visca.setExtensions(start,end);
var reResponse = "false";
var reScore = visca.setScore(0,10,10);
var reSuccess = true;
var result = visca.setResult(reDuration,reExtensions,reResponse,reScore,reSuccess);
var instructor = visca.setInstructorByMbox("Teacher","mailto:teacher@visca.com");
var platform = "http://visca.com/platform/assessing";
var language = "zh-TW";
var parentID = "http://visca.com/book/id/1";
var pName = visca.setName("zh-TW","《老人与海》");
var pType = "https://w3id.org/xapi/acrossx/activities/e-book";
var parentDef = visca.setDefinition(pName,null,pType,null,null,null,null);
var parent = visca.setParent(parentID,parentDef);
var category = visca.setCategory("https://w3id.org/xapi/acrossx/profile/practice","https://w3id.org/xapi/acrossx/profile/ebook");
var contextActivities = visca.setContextActivities(parent,null,category);
var browserInfo = visca.setExtension("browser-info");
var page = visca.setExtension("page",8);
var contextExtensions = visca.setExtensions(browserInfo,page);
var context = visca.setContext(instructor,language,contextActivities,platform,contextExtensions);
var authority = visca.setAuthorityByMbox("Crystal","mailto:crystal@visca.com");
var timestamp = visca.setTimestamp();

visca.customizedAnsweredEBookPracticeQuestions(actor,verb,object,result,context,authority,timestamp);

customizedReadVideoHints()

  • 作用:学生阅读嵌入在影片中的题目的补充资讯或提示
  • 参数:表A
Example
var actor = visca.setActorByMbox("Crystal","mailto:crystal@visca.com");
var verbDisplay = visca.setDisplay("zh-TW","阅读");
var verb = visca.setVerb("http://w3id.org/xapi/adb/verbs/read", verbDisplay);
var objectID = "http://visca.com/question/id/1";
var defName = visca.setName("zh-TW","第一题");
var defDescription = visca.setDescription("zh-TW","哪一个人最帅?");
var defType = "http://adlnet.gov/expapi/activities/cmi.interaction";
var defInteractionType = "choice";
var defCorrectResponsesPattern = visca.setCorrectResponsesPattern("king");
var alignment = visca.setExtension("alignment",["社4-4-2-4","语1-1-2-2"]);
var bloomsLevel = visca.setExtension("blooms-level","Applying");
var supplementalInfo = visca.setExtension("supplemental-info","your hint!");
var defExtensions = visca.setExtensions(alignment,bloomsLevel,supplementalInfo);
var objectDef = visca.setDefinition(defName,defDescription,defType,defExtensions,defInteractionType,defCorrectResponsesPattern,null);
var object = visca.setObject(objectID,objectDef);
var reDuration = "PT1M10S";
var result = visca.setResult(reDuration,null,null,null,null);
var instructor = visca.setInstructorByMbox("Teacher","mailto:teacher@visca.com");
var parentID = "https://www.youtube.com/watch?v=sQcwRGTW5mw";
var pName = visca.setName("zh-TW","Future Learning");
var pType = "https://w3id.org/xapi/acrossx/activities/video";
var pExtensions = visca.setExtension("duration","PT12M47S");
var parentDef = visca.setDefinition(pName,null,pType,pExtensions,null,null,null);
var parent = visca.setParent(parentID,parentDef);
var category = visca.setCategory("https://w3id.org/xapi/acrossx/profile/video","https://w3id.org/xapi/acrossx/profile/practice");
var contextActivities = visca.setContextActivities(parent,null,category);
var contextExtensions = visca.setExtension("browser-info");
var context = visca.setContext(instructor,null,contextActivities,null,contextExtensions);
var authority = visca.setAuthorityByMbox("Crystal","mailto:crystal@visca.com");
var timestamp = visca.setTimestamp();

visca.customizedReadVideoHints(actor,verb,object,result,context,authority,timestamp);

customizedReadEBookHints()

  • 作用:学生阅读嵌入在电子书中的题目的补充资讯或提示
  • 参数:表A
Example
var actor = visca.setActorByMbox("Crystal","mailto:crystal@visca.com");
var verbDisplay = visca.setDisplay("zh-TW","阅读");
var verb = visca.setVerb("https://w3id.org/xapi/adb/verbs/read",verbDisplay);
var objectID = "http://visca.com/question/id/3";
var defName = visca.setName("zh-TW","3");
var defDescription = visca.setDescription("zh-TW","哪一个人最帅?");
var defType = "http://adlnet.gov/expapi/activities/cmi.interaction";
var alignment = visca.setExtension("alignment",["社4-4-2-4","语1-1-1-2"]);
var bloomsLevel = visca.setExtension("blooms-level","Applying");
var supplementalInfo = visca.setExtension("supplemental-info","your hint!");
var defExtensions = visca.setExtensions(alignment,bloomsLevel,supplementalInfo);
var defInteractionType = "choice";
var defCorrectResponsesPattern = visca.setCorrectResponsesPattern("king");
var objectDef = visca.setDefinition(defName,defDescription,defType,defExtensions,defInteractionType,defCorrectResponsesPattern,null);
var object = visca.setObject(objectID,objectDef);
var reDuration = "PT1M10S";
var result = visca.setResult(reDuration,null,null,null,null);
var instructor = visca.setInstructorByMbox("Teacher","mailto:teacher@visca.com");
var platform = "http://visca.com/platform/assessing";
var language = "zh-TW";
var parentID = "http://visca.com/book/id/1";
var pName = visca.setName("zh-TW","《老人与海》");
var pDescription = visca.setDescription("zh-TW","作者是海明威");
var pType = "https://w3id.org/xapi/acrossx/activities/e-book";
var parentDef = visca.setDefinition(pName,pDescription,pType,null,null,null,null);
var parent = visca.setParent(parentID,parentDef);
var category = visca.setCategory("https://w3id.org/xapi/acrossx/profile/practice","https://w3id.org/xapi/acrossx/profile/ebook");
var contextActivities = visca.setContextActivities(parent,null,category);
var browserInfo = visca.setExtension("browser-info");
var page = visca.setExtension("page",8);
var contextExtensions = visca.setExtensions(browserInfo,page);
var context = visca.setContext(instructor,language,contextActivities,platform,contextExtensions);    
var authority = visca.setAuthorityByMbox("Crystal","mailto:crystal@visca.com");
var timestamp = visca.setTimestamp();

visca.customizedReadEBookHints(actor,verb,object,result,context,authority,timestamp);

表1

  • 物件名称:actor
  • 组成元素:
名称 属性 说明 必要性
objectType String "Agent" 必要
name String 脚色之全名 必要
mbox mailto IRI 脚色的电子邮件,格式为 "mailto: 电子邮件" 必要

表2

  • 物件名称:verb
  • 组成元素:
名称 属性 说明 必要性
id URL 使用的动作 必要
display Object 使用动作的多语言之表示,物件格式请参考表2-1 选填

表2-1

  • 物件名称:display
  • 组成元素:
名称 属性 说明 必要性
zh-TW String 繁体中文的动作名称 选填
en-US String 英文的动作名称 选填

表3

  • 物件名称:object
  • 组成元素:
名称 属性 说明 必要性
objectType String "Activity" 必要
id URL 问题的连结 必要
definition Object 元数据 (Metadata),物件格式请参考表3-1 必要

表3-1

  • 物件名称:definition
  • 组成元素:
名称 属性 说明 必要性
name Object 该活动之名称,物件格式请参考表3-1-1 建议
description Object 此活动之描述,物件格式请参考表3-1-2 除了回答自我练习题目(电子书)是建议外,其他皆选填
type URL 活动的类型是一种 cmi.interaction 必要
extensions Object 根据需要使用其他属物件,物件格式请参考表3-1-3 必要:阅读提示
建议:回答自我练习题目
interactionType String 问题类型,参考 Interaction Activities 必要
correctResponsesPattern Array of Strings 正确答案 建议
choices Array of Objects 选项 选填:阅读提示

表3-1-1

  • 物件名称:name
  • 组成元素:
名称 属性 说明 必要性
zh-TW String 题目ID/title/编号 建议

表3-1-2

  • 物件名称:description
  • 组成元素:
名称 属性 说明 必要性
zh-TW String 题干 除了回答自我练习题目(电子书)是建议外,其他皆选填

表3-1-3

  • 物件名称:extensions
  • 组成元素: (object.definition.extensions)
    名称 属性 说明 必要性
    https://w3id.org/xapi/acrossx/extensions/alignment Array of String 对齐的课纲、能力、知识节点或其他指标 建议
    https://w3id.org/xapi/acrossx/extensions/blooms-level String Blooms Level:
    • Remembering
    • Understanding
    • Applying
    • Analyzing
    • Evaluating
    • Creating
    建议
    https://w3id.org/xapi/acrossX/extensions/supplemental-info String/Activity Object/URL Hint or feedback revealed 必要:阅读提示

(context.extensions)

名称 属性 说明 必要性
http://id.tincanapi.com/extension/browser-info Navigator Object 使用的浏览器资讯 建议
http://id.tincanapi.com/extension/time ISO 8601 String 问题所在的影片时间点 必要
https://w3id.org/xapi/acrossx/activities/page Integer 问题所在的电子书的页码 必要

(result.extensions)

名称 属性 说明 必要性
result.extensions.http://id.tincanapi.com/extension/starting-point ISO 8601 String 开始答题的时间戳记 建议
result.extensions.http://id.tincanapi.com/extension/ending-point ISO 8601 String 结束答题的时间戳记 建议

表4

  • 物件名称:context
  • 组成元素:
名称 属性 说明 必要性
instructor Object 教师,物件格式请参考表4-1 建议
language String 此情境中使用之语言 建议:回答自我练习题目
选填:阅读提示
contextActivities Object 学习活动情境之各类型资讯。有效的类型:parent、grouping、category、other,物件格式请参考表4-2 必要
platform String 此笔活动纪录之使用平台 建议
extensions Object 其他的特殊情境元素,物件格式请参考表3-1-3 必要:回答自我练习题目
建议:阅读提示

表4-1

  • 物件名称:instructor
  • 组成元素:
名称 属性 说明 必要性
objectType String "Agent" 建议
name String 全名 建议
mbox mailto IRI 电子邮件,格式为 "mailto: 电子邮件" 建议

表4-2

  • 物件名称:contextActivities
  • 组成元素:
名称 属性 说明 必要性
parent[0] Activity Object 所属的母活动,物件格式请参考表4-2-1 必要
category[0] Activity Object 回答自我练习题目:自我练习的 Profile ID Activity
阅读提示(影片):影片的 Profile ID Activity
阅读提示(电子书):电子书的 Profile ID Activity
物件格式请参考表4-2-2
必要
category[1] Activity Object 回答自我练习题目(影片):影片的 Profile ID Activity
回答自我练习题目(电子书):电子书的 Profile ID Activity
阅读提示:自我练习的 Profile ID Activity
物件格式请参考表4-2-2
必要

表4-2-1

  • 物件名称:parent[0]
  • 组成元素:
名称 属性 说明 必要性
objectType Strin “Activity” 必要
id URL 一个唯一的 Activity ID 必要
definition Object 元数据,物件格式请参考表3-1? 必要

表4-2-2

  • 物件名称:category[0]、category[1]
  • 组成元素:
名称 属性 说明 必要性
objectType String “Activity” 必要
id URL 一个唯一的 Activity ID 必要

表5

  • 物件名称:authority
  • 组成元素:
名称 属性 说明 必要性
objectType String “Agent” 选填
name String 语句拥有者之全名 选填
mbox mailto IRI 语句拥有者的电子邮件,格式为 “mailto: 电子邮件” 选填

表6

  • 物件名称:result
  • 组成元素:
名称 属性 说明 必要性
duration ISO 8601 Duration 表示此活动之持续时间 必要:回答自我练习题目
建议:阅读提示
extensions Object 对应其他欲表达之元素,物件格式请参考表3-1-3 建议:回答自我练习题目
response String 回答内容 必要:回答自我练习题目
score Object 分数,物件格式请参考表6-1 建议:回答自我练习题目
success Boolean 答对与否 必要:回答自我练习题目

表6-1

  • 物件名称:score
  • 组成元素:
名称 属性 说明 必要性
min Decimal number less than max 最低分 建议
raw Decimal number between min and max 得分 建议
max Decimal number greater than min 最高分 建议

results matching ""

    No results matching ""