Binary, Bits, & Bytes

Why Binary?

Physically, it’s easier to either store some electricity or not store some electricity in some switches or transistors, so binary bits are a natural solution

Example: Representing 123 in Binary & Decimal

In decimal form, representing 123 can be done by splitting it into the hundreds, tens, and one’s place; like this:

100 10 1
1 2 3

In binary, representing 123 can be done by splitting it into 2^n bits; like this:

2^6 2^5 2^4 2^3 2^2 2^1 2^0
1 1 1 1 0 1 1