Train the Trainer E-learning Course This Thanksgiving
Share Twitter Facebook LinkedIn Google+

Performing Typical Calculations in Articulate Storyline – Part 1

Written By

Performing Typical Calculations in Articulate Storyline - Part 1

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.

Step1:

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.)

Step2:

Create two numeric variables count” and score” with default value “0”.

Creating a numeric variable

Created two numeric variables

Step3:

Add value “20” to “count” in the correct layer if the user answers the question correctly in his first attempt.

Add value 20 to variable count

Add value “10” to “count” in the correct layer if the user answers the question correctly in the second or subsequent attempts.

Add value 10 to variable count

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

Step4:

Create the following triggers.

Trigger1:

Adjust variable “score” is equal to the value of “count”.

Adjust variable score

Trigger2:

Divide variable “score” by maximum number of points in course (here the maximum number of points is 400).

Divide variable score

Trigger3:

If you want to show the cumulative average as a percentage then you can multiply the variable “score” with 100.

Multiplying the variable

Step5:

Display the value of the variable “score” on each screen by placing the name of the variable in between two “%” symbols.

Display the value of variable score

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.

View eBook on Making Articulate Storyline Dance to the E-learning Developer's Tunes

Share
Topics:

Subscribe to Our Blogs

Get CommLab's latest eLearning articles straight to your inbox. Enter your email address below:

 
eLearning Learning