Randomize answer options/sub questions: Difference between revisions
From Catglobe Wiki
More actions
New page: == Challenge == In order to synchronize randomization of sub questions/answer options among several questions As a questionnaire creator I want to control the randomization with a rando... |
(No difference)
|
Revision as of 02:13, 8 January 2009
Challenge
In order to synchronize randomization of sub questions/answer options among several questions
As a questionnaire creator
I want to control the randomization with a random seed, which means that the system will generate a unique order based on one value ofΒ random seed
Example
I have a single question with drinks as answer options.
I want to show the answer options in random order (except None of the above option)
Solution
Use any random seed and a randomization range from 0 to 5
Code
quest.randomizeAnswerOptions(3, 0, 5);