Showing Current Quiz Score on Current Slide

Sep 26, 2014

Hi everyone,

I'm working on a quiz right now, and really needed to know if it's possible to show current quiz score on current slide when user submits the interaction.

In my case,

The user will choose one of the options, if the answer is correct, "Your Score: X" text will update itself. If it's not correct, it will stay the same.

11 Replies
Serhat Türkel

Thanks for the answer but what I'm trying to do is something different.

On the question slide, there's a scoreboard that shows the user's current score. When the user answers the question, scoreboard will update itself automatically. Firstly, are there any chances for me to show the score (I mean the score which user has that time) in question slides? Secondly, is it possible to update the score by submitting interaction?

Rebecca Fleisch Cordeiro

Hi Serhat,

Is this what you're thinking? The attached was created using SL1, but of course could work the same in SL2. VERY plain vanilla .story...all function, no "form."

There are 3 quiz slides.

I created a number variable, default value = 0; I called it SCORE

Slide 1 is T/F

Added a trigger: Add 5 points to SCORE when the user clicks submit if True=selected

Slide 1 is MC

Added a trigger: Add 5 points to SCORE when the user clicks submit if apples=selected

Slide 1 is MR

Added a trigger: Add 5 points to SCORE when the user clicks submit if broccoli=selected AND green pepper=selected

Please shout out with any questions.

Rebecca Fleisch Cordeiro

Hi Serhat,

I'm not sure what you mean about default quiz variables...sorry.

The "score" variable is one I created. It adds points if Learners answer quiz questions correctly, and does nothing if they answer incorrectly.

If that's not what you're asking, please pursue your question, and if I can't answer it, perhaps someone else can.

Andrew Gray

So in order to do this, you need to manually set up your own Score variable, which is incremented when a correct answer is clicked? Seems fiddly. Is there no way that user's current score (which Studio keeps track of automatically) can be accessed as a variable?

What I'm trying to achieve is to get a running total to appear on every feedback slide (e.g. "You have now correctly answered 5 out of 8 questions").

Andrew Gray

Brilliant, makes sense. Alternatively I guess I can create a blank 'results' slide and use it for content other than results.

Final question... is there a way of automatically retrieving the total possible score in a quiz? (The 8 in "You have correctly answered 5 out of 8 questions.") This can obviously be worked out manually, but it would be a lot easier and more reliable to be able to create a generic template that worked for all quizzes.

This discussion is closed. You can start a new discussion or contact Articulate Support.