Variable Range values are always numbers. When you create a variable Range, you provide a minimum and maximum number. When you use that variable Range, Buzz randomly generates a number using those parameters.
Create a variable Range
To create a variable Range:
- Name the variable Range (don't use spaces or special characters).
- Provide the lowest number you want included in the Range in the Min field (you can use decimals and negative numbers).
- Provide the highest number you want included in the Range in the Max field (you can use decimals and negative numbers).
- Provide the increments between Min and Max that you want included in the Step field. For example, if you specify 1, every whole within the parameters could be used. If you specify 2, only every other whole number can be used (you can use decimals).
Use a variable Range
Once you have created a variable Range, you can use it in questions and answer options.
This example uses two variable Ranges in a multiple choice question. Here's how they're used:
- Place the variable Range Name between dollar signs ($) to signal Buzz to use the variable Range:
- Within a question, Buzz generates the same number for every instance of the variable Range. This allows you to create answer options that use the same number that's generated in the question.
- You can create math problems using variable Range and have Buzz show the solution by:
- Typing the math problem in parentheses.
- Adding $eval in front of the parenthesis.
- Adding a comma and a number sign (#) the end of the problem, inside the parentheses.
- You can indicate how many decimal places you'd like included by adding a decimal and the desired number of places as zeros after the number sign (#) and inside the parentheses.
Variable Lists allow you to create a set of items, each of which can be swapped in at random anywhere you want in a question.
Create a variable List
To create a variable List:
Name the variable List (don't use spaces or special characters).
- Provide a Group name (don't use spaces or special characters). A Group name allows you to align items between different variable Lists. For example, one variable List in a group could list animals and a second variable List in the group might list the terms used for groupings of those animals. The items align by position in the List, like this:
- Animal List: dogs, cows, crows, geese
- Grouping List: pack, herd, murder, flock
- Provide the Values for the items in the list in a comma separated list.
Use a variable List
Once you have created a variable List, you can use it in questions and answer options.
- This example uses two variable Lists (animals and groupings) as part of the same Group (animalgroupings) in a multiple choice question.
- Place the variable List(s) Name(s) between dollar signs ($) to signal Buzz to use the variable.