Articulate Storyline can be used to perform a wide variety of calculations. In this blog, I will explain how to compute cumulative average (a weighted average based on the points obtained in all the units in a course) using this rapid authoring tool.
One of our clients wanted us to develop a course which contained 20 questions. If the learner answers a question correctly in the first attempt, he gets 20 points. If he gets the answer right in the second or subsequent attempts, he gets 10 points. The client also wanted to display the cumulative score in terms of percentage after attempting each question.
To meet this requirement, it is necessary to compute the cumulative average of the score.
Here are the steps to be followed.
First you should know the maximum possible score for your course.
(For example, in this course, we have 20 questions and each question carries 20 points if the learner answers it correctly in the first attempt, and 10 points are awarded if he gets the answer right in the second or subsequent attempts. So, we see that a maximum of 400 points can be scored.)
Create two numeric variables “count” and “score” with default value “0”.
Add value “20” to “count” in the correct layer if the user answers the question correctly in his first attempt.
Add value “10” to “count” in the correct layer if the user answers the question correctly in the second or subsequent attempts.
How can we show the variation of score for his first attempt and subsequent attempts? To find out, you can visit my earlier post “Varying Scores Based on Number of Attempts: How to do it in Articulate Storyline”
Create the following triggers.
Adjust variable “score” is equal to the value of “count”.
Divide variable “score” by maximum number of points in course (here the maximum number of points is 400).
If you want to show the cumulative average as a percentage then you can multiply the variable “score” with 100.
Display the value of the variable “score” on each screen by placing the name of the variable in between two “%” symbols.
Repeat step4 and step5 in all slides.
This is how you can calculate some typical calculations. Hope you find this post useful. Do share your views.