You would have come across randomness on a computer at a particular point; whether it is playing a game where assets spawn at random locations, writing code that requires random numbers, shuffling a playlist to play a random song next, the whole shebang. Computers use random numbers in everyday applications.
This begs the question of “are computers truly random?”. How can a device with wires, circuits, logic gates and transistors that are switching on and off billions of times a second able to generate random numbers?
Let me put you out of your misery, computers are not random, on their own at least.
Computers are deterministic.
This is a fancy way of saying that for a given set of inputs, a computer would always produce the same output. A computer cannot just create a number out of thin air. It needs a starting number (seed) and a formula to produce a “random" number. At a high level, this is how Pseudo Random Number Generators (PRNGs) work.







