# Which of the following is 2 GB?

18 views
in Computer
closed
Which of the following is 2 GB?
1. 2 × 1024 × 1024 × 1024 Bytes
2. 2 × 1024 × 1024 Bytes
3. 2 × 1022 × 1022 × 1022 Bytes
4. 2 × 1022 × 1022 Bytes

by (53.7k points)
selected

Correct Answer - Option 1 : 2 × 1024 × 1024 × 1024 Bytes

The correct answer is 2 × 1024 × 1024 × 1024 Bytes.

• The term gigabyte has a standard definition of 10003 bytes, as well as a discouraging meaning of 10243 bytes.
• In 1998 the International Electrotechnical Commission (IEC) published standards for binary prefixes, requiring that the gigabyte strictly denote 10003 bytes and gibibyte denote 10243 bytes.
• A byte is a collection of 8 bits.
• A collection of 1024 bytes is a Kibibyte (KiB).
• A collection of 1024 KiB is a Mebibyte (MiB).
• A collection of 1024 MiB is a Gibibyte (GiB). So a Gibibyte has 1024 * 1024 * 1024 bytes and 2 GB=2 × 1024 × 1024 × 1024 Bytes.
• Hence option 1 is correct.
• A Gibibit is exactly 1024 * 1024 * 1024 bits. There are 8 * 1024 * 1024 * 1024 bits in a Gibibyte, i.e. 8 Gibibits in a Gibibyte.

• Kilobyte KB - about 1 thousand bytes
• Megabyte (MB) - about 1 million bytes
• Gigabyte GB = about a billion bytes
• One terabyte (TB) is about 1000 gigabytes or roughly 1 trillion bytes.
• One gigahertz is 1 billion cycles per second (a megahertz is a million cycles per second).