Re: preparing multiple choice questions

*To*: mathgroup at smc.vnet.net*Subject*: [mg63384] Re: preparing multiple choice questions*From*: "Ray Koopman" <koopman at sfu.ca>*Date*: Wed, 28 Dec 2005 03:55:40 -0500 (EST)*References*: <doof2r$kd9$1@smc.vnet.net>*Sender*: owner-wri-mathgroup at wolfram.com

Baris Erbas wrote: > Dear Mathematica Users, > > I have been trying to prepare a test of 30 question with multiple choices > ranging from a-e. > > I want to automatically assign the question numbers and and the correct > answers using mathematica. All correct answers should be in equal quantity, > i.e. 6 a, 6 b, . 6 e. > > I tried to use Random with Table however it doesnt produce equal number of > correct answers. I also tried to look into the Statistical packages. > > Is there a way of doing this in Mathematica? Part[ Flatten@Table[{"a","b","c","d","e"},{6}], Ordering@Table[Random[],{30}] ]