What is the minimum number of bits required to represent at least 3 different values?
Answers
Answered by
0
Step-by-step explanation:
If you want to represent one character from the 26-letter Roman alphabet (A-Z), then you need log2(26) = 4.7 bits. Obviously, in practice, you'll need 5 bits
Answered by
0
Answer:
Minimum number of bits required to store any 3 digit decimal number is 10.
Step-by-step explanation:
- To calculate the number of possibilities given the number of digits: possibilities = baseⁿdigits.
- So if you have 3 digits in decimal ( base 10) you have 10³=1000 possibilities.
- Then you have to find a number of digits in binary ( bits, base 2 ) so that the number of possibilities is at least 1000, which in this case is 2¹⁰=1024 ( 9 digits is not enough because 2⁹=512 which is les than 1000).
- If you generalize this, you have 2ⁿbits=possibilities<=> n bit=log₂(possibilities).
- Which applied gives: log₂(1000)=9.97 and since the number of bits has to be an integer, you have to round it up to 10.
#SPJ2
Similar questions