CS FundamentalsModerateGATE CS · Product company CS fundamentals

A 900-byte binary file is attached to an email using Base64 (no line breaks). How many characters does the encoded attachment occupy?

  1. A. 1200
  2. B. 900
  3. C. 1125
  4. D. 1800

Correct answer: A. 1200

Base64 maps every 3 bytes to 4 ASCII characters: 900 / 3 × 4 = 1200, a 33% increase. MIME line breaks every 76 characters would add a little more.

More Computer Networks questions

Exams that ask this topic