# How to teach random number generator algorithms? [closed]

How can I teach random number generator algorithms? I'd like to show how seeding makes randomization closer to truly random.

Details of the task to be given are as follows:

Code should read a text file. The file has random words (one word on each line). This is the dataset from which words will be selected randomly.

I am unsure of how to explain the difference between deterministic randomization and non-deterministic randomization using the above example.

• Welcome to Computer Stack Exchange! Could you add some context to your question? What is the level of the students? Also, what do you mean by strong in "makes randomization more strong"? – Itamar Green Jun 23 '17 at 6:04
• I've voted to close this as too broad becuase there are so many different ways to teach randomization and so there are too many "right" answers – thesecretmaster Jun 23 '17 at 10:36
• This question is rather too close to 'please teach me the material I'm required to cover' rather than asking about how to approach teaching this material. It could be interesting if edited though. – Sean Houlihane Jun 23 '17 at 12:45
• @BenI. We should be wary this doesn't become a running theme for example — folks asking "how or why <something> works" by tacking on "how to teach..." to the front of it. There's nothing inherently wrong with the question itself, but these questions should be redirected (like you said) and closed to preserve the focus and audience of this specialized site. – Robert Cartaino Jun 23 '17 at 18:26
• @RobertCartaino Agreed. This question does not appear to belong here. – Ben I. Jun 23 '17 at 19:25