A-Z Popular Blog Coding Search »
Related Guides

Pseudorandom vs Random

 , updated on
Pseudorandom is an approximated random number generated by software. Software running on regular hardware is highly deterministic, meaning that it runs the same every time. As such, it is difficult to generate a real random number in software as it runs too predictably to be considered random.
A true random number is a number selected from a range with each number in the range having equal and completely unpredictable chance of selection.

The Difference

Pseudorandom numbers depend on a random factor known as a seed to improve their randomness. In many cases, these are taken from the physical world. For example, recent touchscreen input or the state of a physical device such as a hard drive may be used. Seeds are often limited samples that are used to produce a large number of random numbers. As such, this process isn't perfect and numbers typically end up being theoretically predictable. It should be noted that properly implemented, pseudorandom numbers are random enough for most applications.
Hardware random number generators can produce numbers that are considered true random numbers. These have applications in areas that require extreme randomness such as science, statistical analysis, gaming and cryptography. These are typically simple devices that sample statistically random noise signals such as thermal noise that include no known patterns of predictability.
Pseudorandom vs Random
Pseudorandom Number
True Random Number
Definition (1)
An approximation of a random number generated by software.
A number selected from a range with equal chance of all numbers in the range being selected via an unpredictable method.
Definition (2)
An approximation of a random number created by a biased or deterministic process.
A number sequence generated by chance that contains no recognizable patterns or regularities.
Next: Random Seed
More about coding:
Code Refactoring
Code Smell
Complexity Hiding
Deep Magic
Edge Case
Event Processing
Forward Compatibility
IT Artifact
IT Examples
Negative Code
Proof Of Work
Software Design
More ...
If you enjoyed this page, please consider bookmarking Simplicable.


A list of coding considerations and techniques.

Runtime Error

The definition of runtime error with examples.


The definition of I/O with examples.

Coding Skills

A list of common coding skills.

Hexadecimal Numbers

A list of the first 256 hexadecimal numbers.

Technology Culture Examples

Examples of technology cultures.

IT Artifact

The definition of IT artifact with examples.

Full Stack

An overview of full stack development.

Service Management

A list of IT service management terms.

Process Improvement Examples

An overview of process improvement with examples.

Incident Management Process

An overview of the incident management process with examples.

IT Gaps

An overview of IT gaps with examples.

IT Capabilities

A list of common IT capabilities.

IT Modernization

An overview of IT modernization with examples.

Service Delivery Examples

An overview of service delivery with examples.

IT Asset Management

An overview of IT asset management.

IT Management

An overview of IT management with examples.

Systems Administration

An overview of system administration with examples.

IT Lifecycle

An overview of the IT lifecycle with examples.

Help Desk

An overview of help desk with examples.

Incident Response

An overview of incident response with examples.
The most popular articles on Simplicable in the past day.

New Articles

Recent posts or updates on Simplicable.
Site Map