go to previous page   go to home page   go to next page

Answer:

32 is 25 so represented in binary it is 100000 .


High-order Bit First

You could use the repeated division method to produce those bits, But it is easier to simply set the bit you know you need.

Often, when representing an integer N in binary, it is simplest to pick the high-order bit first, subtract out the corresponding power of two, and then work with the remaining integer.

For example, you can easily determine that 33, represented in binary, is 100001.


QUESTION 13:

What is the largest power of two less than or equal to 18?


go to previous page   go to home page   go to next page