What is the minimum number of bits needed to encode the days of
the
month in a...
60.1K
Verified Solution
Link Copied!
Question
Programming
What is the minimum number of bits needed to encode the days ofthe month in a Canadian calendar.
1.
5
2.
3
3.
6
4.
4
Answer & Explanation
Solved by verified expert
4.0 Ratings (694 Votes)
Answer is 5 bits Consider the following case You have to count whole numbers less than 4 in binary A 1bit binary can have 2 values exclusively either 0 or 1 With 2 bits we can have 4 possible combinatios Decimal Binary 1 bit can count 2values 0 1 0 1 2bits can count 4 values 0123 00 01 10 11 nbits can have 2n combinations
See Answer
Get Answers to Unlimited Questions
Join us to gain access to millions of questions and expert answers. Enjoy exclusive benefits tailored just for you!
Membership Benefits:
Unlimited Question Access with detailed Answers
Zin AI - 3 Million Words
10 Dall-E 3 Images
20 Plot Generations
Conversation with Dialogue Memory
No Ads, Ever!
Access to Our Best AI Platform: Flex AI - Your personal assistant for all your inquiries!