Quiz and variables
Mar 05, 2019
Hi,
I'm trying to make a quiz where the user (in slide 1) can choose between three different categories. When the user is done with a category he/she will come back to slide 1 and will be able to pick a new category and to see the total score point as he/she progresses. So let's say I've done two out of three categories (each worth 10 points when answered correctly). Then I want to come back to slide 1 and see that the score board shows "20" points.
The category part is fine, I just don't know how to use the result slides and variables in the right way to display the total score point. Is this possible? Please help. :)
5 Replies
Create a custom number variable. For this example, let's call it "TotalPoints."
Each time the user returns to slide 1, the program will determine the TotalPoints so far.
If you don't know enough about variables and conditions, check out Articulate's tutorials and user guides. It's worth the time to learn these functions, because they provide so much control.
Thanks Judy, that was very helpful! :)
I also want the user to be able to retry the categories and in doing so, get a higher score. But when I'm done with a category and want to retry it seems like the quiz has been disabled?
Another problem I ran into is that category 1 wont stop loading. I can submit an answer but that's it. I can't get to the results slide for category 1. Category 2 and 3 works just fine.
I'll attach the storyline file if you want to have a look!
(If you preview the entire project: Write your name in the white box > next > click on graduation cap > choose category > answer question ("pengar" is the right answer).
Sofie,
After a quiz has been completed, users are prevented from re-taking it. However, you can add a Retry button to the Results slide. That will reset the question(s) and allow the user to re-take the quiz. If you don't know how to add the Retry button, the Articulate tutorials/user guides explain how to do it.
I took a quick look at your .story file, but I can't tell why the Category 1 slide won't advance. I suggest you submit the case to the Articulate team.
Hi Sofie!
I had a peek at your file, and I noticed you had two numeric variables called Results.ScorePoints listed in the variables window.
Because you can't delete one of those variables, I simply renamed one of them to NewVariable. Now, the category 1 result slide works correctly.
Check out the file I attached!
Thank you so much Judy and Alyssa! Works great! :)
This discussion is closed. You can start a new discussion or contact Articulate Support.