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 http://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 (1)

  1. Computers Today (part 1 of 6)

    blogs.msdn.com/.../computers-today.aspx

    .....

    CS SPOTLIGHT: Girls in computer programming... why it matters!!!

    blogs.msdn.com/.../cs-spotlight-girls-in-computer-programming-why-it-matters.aspx

    ...

    Computational Thinking - Videos & Papers by Jeannette Wing

    blogs.msdn.com/.../computational-thinking-videos-amp-papers-by-jeannette-wing.aspx

Skip to main content