This is a homework question that I am stuck with.
Consider unsigned integer representation. How many bits will be required to store a decimal number
Keep dividing the number by 2 until you get a quotient of 0.