123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|615|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> Web Development -> Exam pop quiz

Wed, 13 Nov 2013, 07:15
Afr0
So, since I'm tired of reading, I decided to develop an exam pop quiz for me and my fellow students. Because I want to spend less time developing the test than testing, I decided to follow a tutorial.
So now I'm wondering, how would I randomize the answers?

-=-=-
Afr0 Games

Project Dollhouse on Github - Please fork!
Wed, 13 Nov 2013, 07:23
Jayenkai
Randomize as in...?
  1. The Actual Content of each question
  2. The Specifics of each question
  3. The ordering of the questions

!?



|edit| Read the question, Jay.. It says "Answers" not "Questions" |edit|

-=-=-
''Load, Next List!''
Wed, 13 Nov 2013, 07:28
Jayenkai
To randomize answers, do the following..



Shuffles the answers, retains the correct value.
.. or it should.. As with most Jay-Code, you might need to tweak it to get it to play right.

-=-=-
''Load, Next List!''
Wed, 13 Nov 2013, 08:07
9572AD
How I win at multiple choice quiz:
1) There's always one answer that's complete bollocks. discount that.
2) If there's two answers that are only slightly different it's one of them, ignore the rest.
3)If there's an "all of the above", it's the correct answer well over half the time so pick that if you're not sure. (The same doesn't hold true for "None of the above")

Write your quiz so those things don't apply and it'll be sure to fuck over anyone who doesn't actually know the answers.

-=-=-
All the raw, animal magnetism of a rutabaga.
Sun, 17 Nov 2013, 06:13
Afr0
Thanks guys