Saturday, December 17, 2011

1111 1111 1110 1011 as a signed base 10 value please?

1111 1111 1110 1011 as a signed base 10 value please|||In Decimal the columns are 1000s|100s|10s|1s so 1111 is 1000+100+10+1=1111





In Binary, the columns are 8s|4s|2s|1s so 1111 is 8+4+2+1 = 15





Add each set of 4 and add the different sets together


1110 is 8+4+2+0=14


1011 is 8+0+2+1=11





15+15+14+11=55|||Your question is ambiguous. Is this a signed 32 bit value? In this case, consider what needs to be added to it to turn it into 0. There are only two 0s, in the 4 and 16 place. Furthermore, you need to add 1 more to wrap the whole thing around. Hopefully you can add up what I just told you to get the answer.

No comments:

Post a Comment