Udostępnij za pośrednictwem


Small Basic: GetRandomNumber( ) - Is it really random?

Is it really random?

The output of the GetRandomNumber() method isn’t really random because it’s produced by a known mathematical formula. The output seems to follow an unpredictable pattern, and so it appears to be random. That’s why we call these numbers pseudo-random, where the word pseudo means fake, or not real. Anyway, the produced numbers are good enough for most applications.

That's it! Short and sweet!

 

Go to https://blogs.msdn.com/SmallBasic to download Small Basic for free and learn all about it!   

 

Have a Small and Basic day!

   - Majed Marji & Ed Price

Comments