Using Logic for Calculations: Difference between revisions

From Lifeguide Wiki
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
= Logic for setting up scores in your intervention =
= Logic for setting up scores in your intervention =
Logic commands can be used to score the responses that end-users give to interactions. This is particularly useful for scoring questionnaire items or if your intervention includes a quiz.
The simplest interaction to use is the numeric value interactions as responses are already given a numeric value. However responses to single and multiple choice interactions can also be set with a numeric value.
This logic uses the key command <code>set</code> and any of the mathematical commands (<code>sum</code>, <code>/</code>, <code>*</code>, <code><</code>, <code>></code>, <code>=</code>).
= Example 1: Scoring numeric value interactions =
= Example 1: Scoring numeric value interactions =
= Example 2: Scoring multiple choice, single choice and numeric value interactions =
= Example 2: Scoring multiple choice, single choice and numeric value interactions =

Revision as of 09:33, 28 October 2010

Logic for setting up scores in your intervention

Logic commands can be used to score the responses that end-users give to interactions. This is particularly useful for scoring questionnaire items or if your intervention includes a quiz.

The simplest interaction to use is the numeric value interactions as responses are already given a numeric value. However responses to single and multiple choice interactions can also be set with a numeric value.

This logic uses the key command set and any of the mathematical commands (sum, /, *, <, >, =).

Example 1: Scoring numeric value interactions

Example 2: Scoring multiple choice, single choice and numeric value interactions