Digital Logic · Number Systems and Conversions
Introduction to Number Systems and Counting (Base 1, Base 10)
Overview
A number system defines how a number is represented and how counting is done; counting is the foundation of the whole topic. The earliest system used a single symbol (base 1), and the decimal system (base 10) with ten symbols became standard because humans have ten fingers.
Key concepts
- Number system: deals with how a number is represented and how counting is done.
- Base (radix): the number of distinct symbols (digits) a number system uses to represent values.
- Base 1: the earliest number system, having only one symbol — a stone (the single symbol is written as 0).
- Base 10: the decimal system with 10 symbols, 0 through 9.
- General convention: in any number system, each digit is represented by one single symbol; in base 10 the symbols are 0, 1, 2, 3, 4, 5, 6, 7, 8, 9.
How it works
- Caveman counting — base 1 in practice. Cavemen owned cattle/sheep but did not know how to count them. Whenever a sheep was let out, they set aside one stone; for every sheep let out, one stone was collected.
So 100 sheep gave 100 stones, and 10 sheep gave 10 stones set aside. In the evening, when the animals were brought back, they verified the count: for every sheep that came in, one stone was removed from the pile.
This one-symbol (stone) tally is exactly a base-1 counting scheme. - Abacus — base 1. The abacus used in school days (pulling the beads/balls on strings to count) is a base-1 number system; it is where counting is first taught.
- Origin of base 10. Historically, base 10 has been used since ancient times, commonly explained by humans having ten fingers. Base 10 became popular because humans have 10 fingers, so people naturally started counting in tens.
- Order in which number systems appeared. First base 1 (one symbol only — the stone), then base 10 (10 symbols, 0 to 9), and later base 8 and base 16.
Comparison
| Number system | Number of symbols | Symbols used | Notes |
|---|---|---|---|
| Base 1 | 1 | stone (written as 0) | Caveman stone tally, abacus; earliest system |
| Base 10 | 10 | 0–9 | Popular because of 10 fingers; attributed to Genghis Khan |
| Base 8 | 8 | not detailed in this section | Appeared later |
| Base 16 | 16 | not detailed in this section | Appeared later |
Revision summary
- Number system = representation of numbers + method of counting.
- Base 1 has only one symbol; the stone-tally method and the abacus are base-1 systems.
- Base 10 has 10 symbols (0–9) and became standard because of the 10 fingers.
- Historical order: base 1 → base 10 → base 8 and base 16.
- In any number system, every digit must be represented by a single symbol.
- Exam Tip: Remember this question — the number of clock cycles required to input information into a shift register in serial input mode is ; to output it, it is .
Previous-year exam insights
- In little-endian storage the least significant byte is placed at the lowest memory address; in big-endian storage the most significant byte is at the lowest address.
Endianness changes byte order, not the bit order within a byte.
Asked inGATE 2021 - For a multi-byte integer stored at increasing addresses, the little-endian numerical value weights the lowest-address byte by and the next byte by , and so on; the big-endian value uses the reverse weights, so the lowest-address byte has the highest power of 256.
Asked inGATE 2021 - In a standard positional number system with base b, a numeral with digits ... has value sum , and every digit satisfies 0 ≤ < b;
base 1/unary is a tally system and is not a standard positional radix. - To convert between binary and octal or hexadecimal, group bits in threes or fours starting from the radix point; each octal digit corresponds to 3 bits and each hexadecimal digit corresponds to 4 bits.
- An n-bit unsigned integer has range 0 to ; an n-bit two's-complement signed integer has range - to .
- For an n-bit shift register, serial input of n bits requires n clock cycles and serial output of all n bits also requires n clock cycles; parallel load or parallel output of all n bits takes one clock cycle.