Variables Not Adding Correctly
Dec 07, 2017
I'm stuck! I've created a quiz of 15 questions. The quiz uses a Likert Scale (never, rarely, sometimes, often, always). The five options are each valued from 1 to 5 depending on the wording of the question. I have a variable for each of those five options. I also have a variable to represent each of the 15 questions (Q1...Q15) that adds the value of whichever option was selected for that question to its corresponding variable number. And then I have each of the 15 question variables adding in to a final score that gets presented at the end of the quiz. For the first three questions everything seems to be working fine in terms of the final score. However, by question #4, problems start. The score starts increasing in size - in some cases significantly. For example the max score for the quiz should be 75 and the last time through I ended up with 417! What am I missing?
3 Replies
Elo;
It appears you are adding your variables for never-always rather than setting them and then setting your score based on that. If they choose "Often" you would want to set "often" to equal 4 rather than add 4.
It looks like you are not tracking how many times the different choices are made so you could simplify this even more to simply add 5 to variable score when user clicks always and take out the variables never-always and q1-q17.
I attached your file with the first three slide changed if it helps.
Tim
Thanks very much Tim for taking the time to respond, simplifying the problem for me and for showing your work so I could ensure I got it right. It was a big help.
Glad to hear it ELO! Thanks for popping back in to share and let us know that you got the assistance that you needed.
Welcome to E-Learning Heroes :)
This discussion is closed. You can start a new discussion or contact Articulate Support.