These are Information Technolgy focused questions. I would like to understand th
ID: 668273 • Letter: T
Question
These are Information Technolgy focused questions. I would like to understand the process on how to find the answers rather than just the answer please! Show all steps and explain! Thanks!
1. How many bits is required for binary representation of 64GB? Use the shortest way to find the answer.
2. Suppose that in a company, each employee is assigned a unique 6-digit id like “123456”. How many bits are required to represent the maximum number of employees in this company if the last employee has the id “999999”?
Explanation / Answer
Ans)
a-
The data representation and conversion is as follows :
64 GB = 26 GB
1 GB = 1024 MB = 210 MB
1 MB = 1024 KB = 210 KB
1 KB = 1024 Bytes = 210 Bytes
1 Byte = 8 bits = 23 bits
So to represent 64 GB in bits, following is done :
64 GB = 26 * 210 * 210 * 210 * 23
= 239
Bits required = log2n = log2239 = 39 bits
b-
Maximum number in an ID = 999999;
So n = 999999
Bits required to represent it = log2(999999) = 19.93 = 20 bits
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.