The top definition of binary on Google is:
relating to, composed of, or involving two things.
Here are some examples of binary pairs:
- Yes and no
- On and off
- True and false
So now that we know the definition of the word binary, what is binary within the context of computers?
Well, binary is a base-two numbering system. In plain English, that means that each digit of a binary number is… well… binary. It can have one of two possible values: one or zero. This is opposed to the most common numbering system, decimal, whose digits can have only one of ten possible values.
When trying to understand binary, it’s important to discern between numbers and values.
A number is a representation of a value.
For example, “5” is not a value. It is a number, which represents a value. This value can also be represented by:
- The word “five”
- The number of fingers on one human hand
- The binary number 0101
- etc.
Since there’s no real-world object that is 5, humans have come up with standardized systems that can represent the value 5.
Binary is an example of such a system.
So how does it work? Let’s try to understand by figuring out how to count.