Checks if answers for this task has been given, and the program can proceed to calculate scores. Should return false if the user can not proceed yet.
True if answers has been given
https://h5p.org/documentation/developers/contracts#guides-header-1
Calculates the maximum score for this task.
Maximum score for this task
https://h5p.org/documentation/developers/contracts#guides-header-3
If the task has 5 questions, and each question is worth 1 point,the maximum score is 5. Copy
If the task has 5 questions, and each question is worth 1 point,the maximum score is 5.
Calculates the user's score for this task, for example correct answers subtracted by wrong answers.
User's score for this task
https://h5p.org/documentation/developers/contracts#guides-header-2
If the task has 5 questions, and the user has answered 3 correctly,the score is 3. Copy
If the task has 5 questions, and the user has answered 3 correctly,the score is 3.
Retrieves the xAPI data necessary for generating result reports.
https://h5p.org/documentation/developers/contracts#guides-header-6
Resets the task to its initial state, should also show buttons that were hidden by showSolutions
showSolutions
https://h5p.org/documentation/developers/contracts#guides-header-5
Shows the solution for this task. It should also hide all buttons
https://h5p.org/documentation/developers/contracts#guides-header-4
Checks if answers for this task has been given, and the program can proceed to calculate scores. Should return false if the user can not proceed yet.