One gigabyte is equal to
[amp_mcq option1=”230 bytes” option2=”1024 bytes” option3=”220 bytes” option4=”240 bytes” correct=”option1″]
This question was previously asked in
UPSC CBI DSP LDCE – 2023
In computing, prefixes like kilo, mega, giga, etc., are often based on powers of 2 (specifically 1024, which is 2^10) rather than powers of 1000, especially when referring to memory capacities.
1 Kilobyte (KB) = 1024 bytes = 2^10 bytes
1 Megabyte (MB) = 1024 KB = 1024 * 1024 bytes = 2^10 * 2^10 bytes = 2^20 bytes
1 Gigabyte (GB) = 1024 MB = 1024 * 1024 * 1024 bytes = 2^10 * 2^10 * 2^10 bytes = 2^30 bytes
Understanding the powers of 2 used in computer memory measurements is key. While 1 GB can also be defined as 10^9 bytes (decimal prefix), the 2^30 definition is standard for memory and is often used in computer science contexts.