RandomizeAnswers

Int[] RandomizeAnswers(Int32 inQuesIdx)

Description

Display the answers of question inQuesIdx in a randomized order
 

Parameters

The following is a list of parameters the functions receives 

Parameter Type Description
inQuesIdx Int32 Question Index

 

Return Type

Int32[]

Overloads

List of overloads for this function

Int[] RandomizeAnswers(Int32 inQuesIdx, Int[] inRandomArray)
Parameter Type Description
inQuesIdx Int32 Target question
inRandomArray Int[] Integers Array is with size equals to the answers amount in inQuesIdx; each cell contains different answer index within inQuesIdx answers indexes

Examples

RandomizeAnswers(QRef(3)), will display the answers of question index 3 in a randomized order on screen.

RandomizeAnswers(QRef(3), randomArray), will display the answers of question index 3 in a randomized order on screen, according to the order determined in randomArray

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.