Is random really random? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Is random really random?

what really i have problem with is as computer works on OS which is basically a set of programs and does only what the program tells to do so how can we tell a computer (as it doesnt have any own creativity) to give random output

17th Aug 2017, 10:05 AM
Devanshu Rawat
Devanshu Rawat - avatar
4 Answers
+ 5
They're usually not truly random, but are called pseudo-random because they generate a number sequence that appears random. This is done with some interesting mathematical formulas. One of the most common is the Linear Congruential Generator. //Good Question ^_^
17th Aug 2017, 10:14 AM
Ekansh
+ 3
We can do better than plain Linear Congruential Generators (LCG) though, by reading hardware noise (how hot is you cpu, and lots of other stuff), and use that as a seed of our LCG for high-quality, close-to-random numbers.
17th Aug 2017, 10:37 AM
Schindlabua
Schindlabua - avatar
+ 1
thanks
17th Aug 2017, 10:39 AM
Devanshu Rawat
Devanshu Rawat - avatar
0
and this logic works same on any device that has OS or calculates randomly
17th Aug 2017, 10:46 AM
Devanshu Rawat
Devanshu Rawat - avatar