0

How computer calculate random. How we can make random function

For example random(6)=1,2,3,4,5,6

22nd Oct 2019, 1:31 PM
xurshid aliyarov
xurshid aliyarov - avatar
2 Answers
+ 1
Computers can generate truly random numbers by observing some outside data, like mouse movements or fan noise, which is not predictable, and creating data from it. This is known as entropy. Other times, they generate “pseudorandom” numbers by using an algorithm so the results appear random, even though they aren’t.
22nd Oct 2019, 3:04 PM
★«D.Connect_Zone»
★«D.Connect_Zone» - avatar
0
In programming language?
22nd Oct 2019, 3:03 PM
★«D.Connect_Zone»
★«D.Connect_Zone» - avatar