I have questions and answers in database , how should i shuffle the position of answers then match the marked option with correct answer.
i am getting problem in reshuffling , the answers , so i want to know the approach to shuffle,
Plus correct answer is stored as position, for eg , ques:i hav question what is capital of india, ans1:Mumbai, ans2: delhi, ans3: jaipur, ans4: agra, correctans:2,
so if reshuffle the position how will i match that new choice is correct or not.
How to shuffle the position of answers and match correct ans
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Rajeev PunhaniRank #551 · 4.4K reputationPosted Jan 5, 2016, 7:51 PM EST