Ajay Ramanathan Chettiar

Student, Indian Institute of Technology - Kharagpur

This conversation is closed.

How does computer generate random numbers ?

Computers are basically dumb. a given set of methods, a given set of initial conditions the answer to the problem is always same in computer.so how does it generate a random number. i could basically generate a random number by the garbage value stored in a variable. but how does that garbage value exist. is it a memory slot with is converted into data. then how come computer store data in random places. theoretically computer should not be able to generate a garbage value or it is a pre-programmed assembly language code that means it is not a random number