answersLogoWhite

0

Most computers generate pseudo-random numbers - these are numbers which are created using a formula, but due to the way the formula works, the sequence of numbers generated appears random and is good enough for most applications. The random number generator can be seeded so that the same sequence of "random" numbers is generated every time.

Some systems improve on this by using unpredictable "real-world" events to create a more truly random sequence:

The Apple ][ computer when waiting for a key press from the user would keep incrementing the current "seed"; thus the seed was influenced by the random event of the user pressing a key but if a series of "random" numbers was then taken, they were strictly pseudo-random.

Linux has a pseudo-random number generator in a library function, but it also has in the kernel itself an "entropy pool" which is filled by environmental "noise" created by device drivers, etc. By accessing /dev/random a series of numbers is created from this pool; if the pool empties then the device will block until more "Noise" has been collected. /dev/urandom acts similarly, except that if the pool empties, then it falls back onto a pseudo-random sequence. As the entropy pool is limited in size, the random values being read should be used where security is important, eg in creating the key for an encryption, in small doses.

User Avatar

Wiki User

8y ago

Still curious? Ask our experts.

Chat with our AI personalities

MaxineMaxine
I respect you enough to keep it real.
Chat with Maxine
FranFran
I've made my fair share of mistakes, and if I can help you avoid a few, I'd sure like to try.
Chat with Fran
DevinDevin
I've poured enough drinks to know that people don't always want advice—they just want to talk.
Chat with Devin
More answers

Yes. Usually, so-called pseudo-random numbers are generated, since those are easier to generate; in this case, each of the "random" numbers is calculated from the previous ones (and the final result adjusted to the user's wishes). However, it's also possible for a computer to produce completely random numbers - for example, by magnifying random fluctuations in an electrical signal.

User Avatar

Wiki User

8y ago
User Avatar

Add your answer:

Earn +20 pts
Q: Can a computer produce a list of random numbers?
Write your answer...
Submit
Still have questions?
magnify glass
imp