lakshminair lakshminair
  • 08-02-2021
  • Computers and Technology
contestada

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

Respuesta :

tonb
tonb tonb
  • 08-02-2021

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.

Answer Link

Otras preguntas

What are the borders of Canada? Alaska Arctic Ocean Atlantic Ocean Greenland Iceland Pacific Ocean United States
PLZ HELP ASAP !!! 25 POINTS !!!
What does the formula for an ionic bond really mean
construct an explanation of the role of DNA in determining an organisms traits?
in what year did West Africans make iron tools?
I don’t know how to solve this
Risk is a work value that would fit a police officer. Please select the best answer from the choices provided T F
Can someone help me with this one?​
If c is a positive integer, how does the graph of y=x+c compare to the graph of y=x?
PLEASE BE ORIGINAL! Write the first five terms of a sequence. Don’t make your sequence too simple. Write both an explicit formula and a recursive formula for a