2.1 Positional Number Systems
In Chapter 1, memory and buses carried patterns of bits. A pattern has no useful numerical meaning until we choose an interpretation rule. This section begins with the rule used by ordinary decimal numbers and then applies it to other bases.
A digit's position changes its contribution
In decimal, the two 5 digits in 505 do not contribute the same amount:
A positional number system assigns each place a weight. The rightmost integer place has weight , the next has weight , and each move left multiplies the weight by the base or radix .
For a four-digit numeral :
Each digit must satisfy . Base 2 therefore permits only 0 and 1; base 8 permits 0 through 7; base 16 needs sixteen symbols, conventionally 0–9 and A–F.
| Base | Common name | Allowed digit symbols | One place left means |
|---|---|---|---|
| 2 | binary | 0, 1 | multiply by 2 |
| 8 | octal | 0–7 | multiply by 8 |
| 10 | decimal | 0–9 | multiply by 10 |
| 16 | hexadecimal | 0–9, A–F | multiply by 16 |
In hexadecimal, A means ten, B means eleven, through F meaning fifteen. They are digit symbols, not variables.
Lab 1 — build a numeral from its contributions
Choose a base and rotate four digit wheels. Each tile displays its place weight and current contribution, so you can see why changing a left digit usually matters more than changing a right digit.
Solve every base mission. Then increase only the leftmost digit once and predict the change before reading the updated total.
Worked example: the same symbols under different bases
The numeral 1011 does not name one universal value. The base is part of its meaning.
In binary:
In decimal:
Writing a small base subscript prevents ambiguity. If the surrounding context makes the base obvious, engineers sometimes omit it—but a careful derivation should state it.
Leading zeros do not change the value:
They can still matter operationally because 001011 explicitly shows a six-bit storage width while 1011 does not.
The radix point extends weights to the right
The dot in a decimal fraction is a radix point. “Decimal point” is the base-10 special case. Places to its right use negative powers:
For example:
The first place to the right is worth one half in binary, one eighth in octal, one tenth in decimal, and one sixteenth in hexadecimal.
| Position | Base-2 weight | Base-10 weight |
|---|---|---|
| 2 | 4 | 100 |
| 1 | 2 | 10 |
| 0 | 1 | 1 |
| −1 | 0.5 | 0.1 |
| −2 | 0.25 | 0.01 |
| −3 | 0.125 | 0.001 |
Precision comes from available places
A fixed number of fractional places creates a smallest step. With three binary fractional places, that step is:
Such a format can represent 5.625 exactly, but it cannot represent 5.6 exactly because 5.6 is not an integer multiple of 0.125. A system must round, truncate, or use more places.
This is not a failure of binary. Decimal with a fixed number of places has the same limitation: two decimal places cannot represent one third exactly.
Lab 2 — control both value and precision
Construct targets with three integer places and three fractional places. The live error tells you whether the current value is too small or too large, while every digit shows its exact contribution.
After an exact match, set the rightmost digit to zero and measure the lost precision. Compare the smallest step in bases 2, 8, 10, and 16.
Checkpoint
A positional representation is determined by three things:
1. a base ;
2. allowed digit symbols from through ;
3. place weights , including negative exponents to the right of the radix point.
The next section turns this definition into practical conversion workflows among binary, octal, decimal, and hexadecimal.