Ask Experts Questions for FREE Help !
Ask
    immacoolkid3's Avatar
    immacoolkid3 Posts: 1, Reputation: 1
    New Member
     
    #1

    Dec 3, 2013, 03:36 PM
    develop a test generator program that randomly selects 10 questions from a pool of 20
    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_'s Avatar
    _init_ Posts: 30, Reputation: 3
    Junior Member
     
    #2

    Dec 5, 2013, 11:51 PM
    Telling us what language it's in may be a good start.
    _init_'s Avatar
    _init_ Posts: 30, Reputation: 3
    Junior Member
     
    #3

    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.

Not your question? Ask your question View similar questions

 

Question Tools Search this Question
Search this Question:

Advanced Search

Add your answer here.


Check out some similar questions!

pool 3,000 people, randomly select 5%, what r odds of being picked each time [ 1 Answers ]

I have a pool of 3000 people. I need 5% of that pool randomly selected in the result set. If I run my code, assigning a random number then pulling the Top 5%. I seem to get some of the same people in the result set each time I run my code. What is the probability or odds of this...

A program that behaves like a character generator protocol [ 0 Answers ]

Hello, I am a beginner in Java. I need help in writing a program that behaves like a character generator protocol that defines a server which sends out ASCII text. The only difference here is that you send ASCII text to a file rather than onto a network connection. The most popular variation of...

How do I develop a cooperative business (Credit program) based on Islamic Sharia? [ 1 Answers ]

How do I develop a cooperative business (Credit program) based on Islamic Sharia?

As an employer can we randomly drug test a 1099 employee [ 1 Answers ]

Can we legally drug test a 1099 or independent contractor that is working for our company? And if so, would we need to get some kind of consent from the candidate for it to be legal? And also, can we run a background check on a 1099 or independent contractor?


View more questions Search