Binary, Denary & Data Units – Quick-Review Notes

Denary (Decimal) Number System

  • Purpose: everyday human counting.
  • Base: 1010.
  • Digits: 0,,9{0,\dots,9}.
  • Place-value headings: 103,102,101,10010^3,10^2,10^1,10^0 (Thousands, Hundreds, Tens, Units).
  • Example: 2493=2×103+4×102+9×101+3×1002493=2\times10^3+4\times10^2+9\times10^1+3\times10^0.

Binary Number System

  • Purpose: internal language of computers (switches ON/OFF).
  • Base: 22.
  • Digits: 0,1{0,1}.
  • Place-value headings: 27,26,25,24,23,22,21,202^7,2^6,2^5,2^4,2^3,2^2,2^1,2^0.
  • Example: 00011000<em>2=16+8=24</em>1000011000<em>2=16+8=24</em>{10}.

Denary vs Binary (Quick Contrast)

  • Number of digits: denary 1010 | binary 22.
  • Powers used: 10n10^n | 2n2^n.
  • Typical use: people | computers.

Data-Storage Units (Decimal Prefixes)

  • Bit (b): stores a single 00 or 11.
  • Byte (B): 88 bits.
  • Kilobyte (KB): 10001000 bytes.
  • Megabyte (MB): 10001000 KB.
  • Gigabyte (GB): 10001000 MB.
  • Terabyte (TB): 10001000 GB.
  • Petabyte (PB): 10001000 TB.
  • Order (small → large): bits < Byte < KB < MB < GB < TB < PB.

Converting Between Units

  • Bits ↔ Bytes: multiply/divide by 88.
  • Adjacent decimal prefixes: multiply/divide by 10001000.
    • Example: 2.52.5 GB → 2.5×1000=25002.5\times1000=2500 MB.
    • Example: 18501850 KB → 1850/1000=1.851850/1000=1.85 MB.
    • Example: 500500 B → 500/1000=0.5500/1000=0.5 KB.

Typical File Sizes (Guideline)

  • Plain text (.txt): bytes to low KB\text{KB}.
  • Word-processed document: KB\text{KB}–low MB\text{MB}.
  • Web image: KB\text{KB}–low MB\text{MB}.
  • MP3 audio: MB\text{MB}.
  • HD video: GB\text{GB}.

Fast Checks & Examples

  • Floppy-disk question: 11 GB = 10001000 MB; 1000/1.44694.441000/1.44 \approx 694.44 → need 695695 disks.
  • Unit ordering prompt: GB bits MB Byte PB TB KB → correct sequence: bits, Byte, KB, MB, GB, TB, PB.

Key Takeaways

  • Remember: computers think in 22, humans think in 1010.
  • Storage growth pattern: every step up is ×1000\times1000 (decimal) except bits↔bytes which is ×8\times8.
  • Master quick conversions for exam speed: multiply to grow, divide to shrink; attach units each time.