Question Variables - Glossary

A wide range of scoring variables are tracked automatically by Opus via the Question object. Although the previous Score Actions are still available we recommend the Question object is used as the foundation to build any kind of e-learning test, even simulations

Here are details of the variables and their uses.

Q_SCORE_VALUE

This is the value or amount of the user’s score so far. This variable keeps track of the total score for answers the user has got correct. The value for an individual answer is set on the Question Properties grid. This would be the "eight" in "eight out of ten" so far.

Q_SCORE_CORRECT

A count of the questions the user has answered correctly. In the case of multiple-answer questions only one correct answer needs to be chosen for SCORE_CORRECT. If two answers are marked as correct and the user has selected both answers the SCORE_CORRECT variables will still only increase by one.

Q_SCORE_INCORRECT

A count of the questions the user has answered incorrectly. In the case of trhe multiple answer questions the user only needs to get one answer correct for the question to be counted as correct, even if one of the user’s other answers is makred as incorrect.

Q_SCORE_VALUE_POSSIBLE

The possible score amount of questions answered so far irrespective of whether that’s what the user has scored for their answers. This would be the "ten" in "eight out of ten" so far.

Q_SCORE_TOTAL_POSSIBLE

The possible value of all questions in the whole publication. This would be the "ten" in "eight out of ten" but for the whole publication.

Q_SCORE_VALUE_TOTAL_REMAINING

This is the total scoring value of quesitons in the publication which have not yet been answered

Q_SCORE_CURRENTLY_POSSIBLE

This variable keeps track of the score value the user could still achieve if all remaining questions are answered correctly – includes the current Q_SCORE_VALUE. This enables you to track whether the user has failed the test even before they’ve answered all the questions – that is, their score will not hit the pass threshold even if they get everything right from this point.

Q_SCORE_PERCENT_POSSIBLE

This variable keeps track of the percentage score the user could still achieve if all remaining questions are answered correctly – includes the current Q_SCORE_VALUE_PERCENT. This enables you to track whether the user has failed the test even before they’ve answered all the questions – that is, their score will not hit the pass threshold even if they get everything right from this point.

Q_SCORE_VALUE_PERCENT

The score the user has been awarded so far as percent of the number the user could have got by this point.

Q_SCORE_OVERALL_PERCENT

The score the user has been awarded so far as percent of the score possible in the whole quiz.

Q_SCORE_ANSWERED_QUESTIONS

The number of questions the user has attempted so far.

Q_SCORE_TOTAL_QUESTIONS

The total number of questions in the whole publication.

Q_SCORE_COURSE_PASSED

This variable checks whether the course has been passed or not. It will be true if the course has been passed and false if it has been failed. It is only true once the course has been finished.

Q_SCORE_COURSE_FINISHED

This variable checks whether the course has been completed or not. It will be true if the course has finished and false if it has not.