tags:

views:

129

answers:

1

Possible Duplicate:
True random number generator

I have worked with random functions in python,ruby, MATLAB, Bash and Java. Nearly every programming language has a function to generate random numbers. However, these apparently random sequences are termed as pseudo-random number sequences as the generation follows a deterministic approach, and the sequence seems to repeat (usually with a very large period).

My question, can an algorithmic/programming process ever yield true random numbers ? The questions probably is more of theoretical computer science than just programming !

+3  A: 

It is not possible to generate a true random number without relying on hardware. See http://stackoverflow.com/questions/37702/true-random-number-generator

James Westgate
@James Westgate: Yeah, you are right ! May be not a duplication, but they are very similar. I will do a roll-back ASAP
Arkapravo