Numbers To Know easy
What is the typical size of a standard ASCII character (e.g., 'A')?
- A 1 bit
- B 1 Byte (8 bits)
- C 2 Bytes (16 bits)
- D 4 Bytes (32 bits)
Answer: B. 1 Byte (8 bits)
A standard ASCII character occupies exactly 1 Byte (8 bits). While the ASCII standard originally only defined 127 characters using 7 bits, it is practically stored in an 8-bit byte for alignment. Modern applications use 'Unicode' (often UTF-8) to support global languages and emojis, where characters can take anywhere from 1 to 4 bytes. However, for a quick 'back-of-the-envelope' estimate of text storage (e.g., 'How much space do a billion tweets take?'), engineers typically use the heuristic of 1 character = 1 byte to strike a balance between simplicity and reasonable accuracy.
One system design question a day, with spaced repetition so the ones you miss come back.
Get the appRelated questions
- What is the maximum allowed downtime per year for a system targeting '99.9%' (Three Nines) availability?
- What is the typical Round Trip Time (RTT) for a single network packet traveling between New York and London (Transatlantic)?
- Network bandwidth is usually denoted in **bits** per second (Gbps), while storage is in **Bytes** (GB). What is the conversion ratio?
- Storing a password using a secure algorithm like bcrypt (cost 10) or Argon2 typically consumes how much storage per user?
- How much power does a typical fully-loaded rack-mount server consume?
- What is the approximate bandwidth of a full PCIe 4.0 x16 slot (e.g., used by GPUs or high-end NVMe RAID)?