Forum Discussion

maggieb's avatar
maggieb
Community Member
1 month ago

Quiz settings

I am trying to add a field at the top of each question that will show the quiz number out of how many questions. and also to track score progress. for example.

Question 3 of 20 Current score x# right or percentage.

1 Reply

  • The ideal implementation depends on a bit on your particular project and how your questions are setup. I don't believe there's a way to embed what you want as a native feature of the interface, instead requiring some variables and triggers to track.

    The score progress is easy and native. Once you've created a Results slide, your variables menu will contain new variables like Quiz1.ScorePercent and Quiz1.ScorePoints. You can show either of those on the screen the same as any other variable: by bookending the variable name in a textbox with percent signs.

    %Quiz1.ScorePercent% would, at runtime, show on the slide as the current score of the learner. Naturally if you add that to a master slide for the question, it'll show on each instance of that question template in your quiz.

    The other part requires a bit more effort if you don't want to manually add it to each slide or if your question slides are randomly pulling from a pool, necessitating you create a custom number variable to display the %currentQuestion%. My quizzes always have an introductory instruction slide that clarifies the number of questions, score needed to pass, and any other ideal info, and on that I'd create a trigger to set currentQuestion to 0.

    Then on the master slide of the question(s) I'd be employing, a simple trigger to add 1 to currentQuestion when the timeline starts on that slide. Each question slide would show the same variable, but each time an instance of that slide loads, the variable would increment by one, giving the impression of "tracking" how many questions the learner has answered.

    Thirdly, you could create a number variable for the total number of question slides the learner is going through, perhaps %totalQuestions% and again place that on the master slides. Its default value can be set in the same window in which it's created.

    Question %currentQuestion% of %totalQuestions% - %Quiz1.ScorePoints%

    If you're sure the number of slides won't change, you could forego the third variable and just have the textbox say

    Question %currentQuestion% of 20 - %Quiz1.ScorePoints%