Thursday, June 16, 2016

How does a computer choose a random integer?

Let's say you want to create a dice-roll program where a computer automatically generates a number between 1 and 6. Since everything in a computer is based on input and output, how does a computer, without the capability of independent decision making, choose a random number? Wouldn't there have to be some pattern to the numbers it chooses? Is "random number generation" a real thing, or is the pattern just so long that it is effectively random?



Submitted June 17, 2016 at 02:35AM by DolanMcBagoo http://ift.tt/1Q9hSpr via TikTokTikk

No comments:

Post a Comment