測驗學習服務

  • 學生回答測驗問題

    answeredQuizQuestions( actor, objectID, reSuccess, reResponse, instructor, parentID, authority, revision);

  • 學生開始一個測驗

    attemptedQuiz( actor, objectID, start, instructor, authority, revision);

  • 學生完成一個測驗

    completedQuiz( actor, objectID, totalItems, reDuration, end, min, raw, max, instructor, authority, revision);

  • 學生選了答案的選項

    choseCorrectOption( actor, objectID, reResponse, parentID, authority, revision);

  • 學生閱讀答題後的補充資訊或提示

    readQuizHints( actor, objectID, hint,reDuration, instructor, parentID, authority, revision);

函式說明

answeredQuizQuestions()

  • 作用:學生回答測驗問題
  • 參數:
名稱 型態 說明 必要性
actor Agent Object 回答問題的人 必要
objectID URL 問題的連結 必要
reSuccess Boolean 答對與否 必要
reResponse String 回答內容 必要
instructor Agent Object 教師 必要
parentID URL 題目所屬的測驗母活動連結 必要
authority Agent Object 學生 推薦
revision String 該服務的版本號 推薦
Example
var actor = visca.setActorByMbox("Crystal","crystal@visca.com");
var objectID = "http://visca.com/question/id/1";
var reSuccess = true;
var reResponse = "king";
var instructor = visca.setInstructorByMbox("Teacher","teacher@visca.com");
var parentID = "http://visca.com/assessment/id/1";
var authority = visca.setAuthorityByMbox("Crystal","crystal@visca.com");
var revision = "visca_160902a";

visca.answeredQuizQuestions( actor, objectID, reSuccess, reResponse, instructor, parentID, authority, revision);

attemptedQuiz()

  • 作用:學生開始一個測驗
  • 參數:
名稱 型態 說明 必要性
actor Agent Object 開始測驗的人 必要
objectID URL 測驗的連結 必要
start ISO 8601 String 測驗開始時間 必要
instructor Agent Object 教師 必要
authority Agent Object 學生 推薦
revision String 該服務的版本號 推薦
Example
var actor = visca.setActorByMbox("Crystal","crystal@gmail.com");
var objectID = "http://visca.com/assessment/id/1";
var start = "2015-09-21T05:45:30Z";
var instructor = visca.setInstructorByMbox("Teacher","teacher@visca.com");
var authority = visca.setAuthorityByMbox("Crystal","crystal@visca.com");
var revision = "visca_160902a";

visca.attemptedQuiz(actor, objectID, start, instructor, authority, revision);

completedQuiz()

  • 作用:學生完成一個測驗
  • 參數:
名稱 型態 說明 必要性
actor Agent Object 完成測驗的人 必要
objectID URL 測驗的連結 必要
totalItems Integer 題目數量 必要
reDuration ISO 8601 String 花費時間 必要
end ISO 8601 String 測驗結束時間 必要
min Decimal number less than max 最低分 必要
raw Decimal number between min and max 得分 必要
max Decimal number greater than min 最高分 必要
instructor Agent Object 教師 必要
authority Agent Object 學生 推薦
revision String 該服務的版本號 推薦
Example
var actor = visca.setActorByMbox("Crystal","crystal@visca.com");
var objectID = "http://visca.com/assessment/id/1";
var totalItems = 10;
var reDuration = "PT1H";
var end = "2015-09-21T05:45:30Z";
var min = 20;
var raw = 90;
var max = 90;
var instructor = visca.setInstructorByMbox("Teacher","teacher@visca.com");
var authority = visca.setAuthorityByMbox("Crystal","crystal@visca.com");
var revision = "visca_160902a";

visca.completedQuiz(actor, objectID, totalItems, reDuration, end, min, raw, max, instructor, authority, revision);

choseCorrectOption()

  • 作用:學生選了答案的選項
  • 參數:
名稱 型態 說明 必要性
actor Agent Object 回答問題的人 必要
objectID URL 問題的連結 必要
reResponse String 回答內容 必要
parentID URL 題目所屬的測驗母活動連結 必要
authority Agent Object 學生 推薦
revision String 該服務的版本號 推薦
Example
var actor = visca.setActorByMbox("Crystal","crystal@visca.com");
var objectID = "http://visca.com/question/id/2";
var reResponse = "king";
var parentID = "http://visca.com/assessment/id/1";
var authority = visca.setAuthorityByMbox("Crystal","crystal@visca.com");
var revision = "visca_160902a";

visca.choseCorrectOption(actor, objectID, reResponse, parentID, authority, revision);

readQuizHints()

  • 作用:學生閱讀答題後的補充資訊或提示
  • 參數:
名稱 型態 說明 必要性
actor Agent Object 閱讀問題提示的人 必要
objectID URL 問題的連結 必要
hint String/Activity Object/URL Hint or feedback revealed 必要
reDuration ISO 8601 String 閱讀提示/補充資料的時間 必要
instructor Agent Object 教師 必要
parentID URL 題目所屬的測驗母活動連結 必要
authority Agent Object 學生 推薦
revision String 該服務的版本號 推薦
Example
var actor = visca.setActorByMbox("Crystal","crystal@visca.com");
var objectID = "http://visca.com/question/id/2";
var hint = "Your hint!";
var reDuration = "PT1M10S";
var instructor = visca.setInstructorByMbox("Teacher","teacher@visca.com");
var parentID = "http://visca.com/assessment/id/1";
var authority = visca.setAuthorityByMbox("Crystal","crystal@visca.com");
var revision = "visca_160902a";

visca.readQuizHints(actor, objectID, hint, reDuration, instructor, parentID, authority, revision);

results matching ""

    No results matching ""