PDA

View Full Version : develop a test generator program that randomly selects 10 questions from a pool of 20


immacoolkid3
Dec 3, 2013, 03:36 PM
i have to develop a test generator that picks 10 out 0f 20 questions from a textfile that i have already finished can some one please help

_init_
Dec 5, 2013, 11:51 PM
Telling us what language it's in may be a good start.

_init_
Dec 5, 2013, 11:56 PM
Never mind, I see that it is in 'Java'. I don't know Java, can't help you there... but you may want to research if Java has anything like Python's .shuffle(), as it might do what you want.