
-----------------------------------
Minyatto
Fri Jan 08, 2010 2:47 pm

How do you randomize questions in a quiz in Turing?
-----------------------------------
Please... help T_T

-----------------------------------
TheGuardian001
Fri Jan 08, 2010 2:58 pm

Re: How do you randomize questions in a quiz in Turing?
-----------------------------------
Store your questions in an array, then generate random numbers to decide what question to ask.

-----------------------------------
registration
Fri Jan 08, 2010 4:15 pm

Re: How do you randomize questions in a quiz in Turing?
-----------------------------------
Store your questions in an array, then generate random numbers to decide what question to ask.
and most likely you don't know how to do that because you asked this question, so i guess i'll help you here. say you have 3 questions:
var questions : array 1 .. 3 of string := init ("What is your name?", "What is your age?", "What is your hobby"?)
Then use the Rand.Int function.

-----------------------------------
Minyatto
Fri Jan 08, 2010 6:59 pm

RE:How do you randomize questions in a quiz in Turing?
-----------------------------------
omg thank you sooo much! :D
