Westonci.ca is the premier destination for reliable answers to your questions, brought to you by a community of experts. Our Q&A platform provides quick and trustworthy answers to your questions from experienced professionals in different areas of expertise. Get precise and detailed answers to your questions from a knowledgeable community of experts on our Q&A platform.

What is the smallest number of bits that would be needed to store the number '50' in binary?​

Sagot :

tonb

Answer:

6 bits

Explanation:

5 bits gets you 2^5=32 possibilities (values 0-31), which is not enough for 50.

6 bits gets you 2^6=64 possibilities (values 0-63), which is enough.

To calculate for an arbitrary number, take the 2-log, and round up:

[tex]\log_2(50) \approx 5.64[/tex]

rounded up is 6.

Your visit means a lot to us. Don't hesitate to return for more reliable answers to any questions you may have. We hope our answers were useful. Return anytime for more information and answers to any other questions you have. We're dedicated to helping you find the answers you need at Westonci.ca. Don't hesitate to return for more.