Assessment Learing Service

  • Actor K answered test/quiz/exam A, item 1.

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

  • Actor K began to take test/quiz/exam A.

    attemptedQuiz(actor,objectID,start,instructor);

  • Actor K completed taking test/quiz/exam A.

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

  • Actor K interacted with test/quiz/exam A, item 1, option B.

    choseCorrectOption(actor,objectID,reResponse,parentID);

  • Actor K read feedback/hint when answering test/quiz/exam A, item 1.

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

Functions

answeredQuizQuestions()

  • Description: Actor K answered test/quiz/exam A, item 1.
  • Parameters:
Name Type Description
actor Agent Object Person who answered the question
objectID URL Hyperlink of the question
reSuccess Boolean Correct or not
reResponse String Content of answer
instructor Agent Object Instructor
parentID URL Parent activity hyperlink of this question
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";

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

attemptedQuiz()

  • Description: Actor K began to take test/quiz/exam A.
  • Parameters:
Name Type Description
actor Agent Object Person who took the assessment
objectID URL Hyperlink of the assessment
start ISO 8601 String Timestamp of taking the assessment (Start)
instructor Agent Object Instructor
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");

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

completedQuiz()

  • Description: Actor K completed taking test/quiz/exam A.
  • Parameters:
Name Type Description
actor Agent Object Person who completed the assessment
objectID URL Hyperlink of the assessment
totalItems Integer The amount of questions
reDuration ISO 8601 String Time spent on taking the assessment
end ISO 8601 String Timestamp of completing taking the assessment (the end)
min Decimal number less than max Minimum score
raw Decimal number between min and max Actor’s score
max Decimal number greater than min Maximum score
instructor Agent Object 教師
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");

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

choseCorrectOption()

  • Description: Actor K interacted with test/quiz/exam A, item 1, option B.
  • Parameters:
Name Type Description
actor Agent Object Person who interacted with the item
objectID URL Hyperlink of the question
reResponse String Content of answer
parentID URL Parent activity hyperlink of this question
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";

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

readQuizHints()

  • Description: Actor K read feedback/hint when answering test/quiz/exam A, item 1.
  • Parameters:
Name Type Description
actor Agent Object Person who read the feedback
objectID URL Hyperlink of the question
hint String/Activity Object/URL Hint or feedback revealed
reDuration ISO 8601 String Time spent
instructor Agent Object Instructor
parentID URL Parent activity hyperlink of this question
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";

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

results matching ""

    No results matching ""