Units of Memory

1 Bit = 1 Binary Digit ( 0 or 1 )
1 Nibble = 4 bits
1 Byte = 8 bits
1 Kilo Byte (KB) = 1024 Bytes = 210 Bytes
1 Mega Byte (MB) = 1024 KB = 210 KB
1 Giga Byte (GB) = 1024 MB = 210 MB
1 Terra Byte (TB) = 1024 GB = 210 GB
1 Peta Byte (PB) = 1024 TB = 210 TB
1 Exa Byte (EB) = 1024 PB = 210 PB
1 Zetta Byte (ZB) = 1024 EB = 210 EB
1 Yotta Byte (YB) = 1024 ZB = 210 ZB
1 Bronto Byte (BB) = 1024 YB = 210 YB
1 Geop Byte = 1024 BB = 210 BB

Ques : Convert 2 MB into Bytes
Solution:
2 MB = 2 * 1 MB
= 2 * 1024 KB
= 2 * 210 KB
= 211 * 1 KB
= 211 * 1024 Bytes
= 211 * 210 Bytes
=221 Bytes

Ques : Convert 3.7 GB into Bytes
Solution:
3.7 MB = 3.7 * 1 GB
= 3.7 * 1024 MB
= 3.7 * 210 MB
= 3.7 * 210 * 1024 KB
= 3.7 * 210 * 210 KB
= 3.7 * 220 * 1024 Bytes
=3.7 * 220 * 210 Bytes
= 3.7 * 230 Bytes

error: You can only copy the programs code and output from this website. You are not allowed to copy anything else.