1.

Express the decimal format of the signed binary number (10010)2 .(a) 2(b) 12(c) -12(d) -2This question was addressed to me in an online interview.The query is from The Octal Number System in portion Number Systems of Computer Fundamentals

Answer» RIGHT choice is (d) -2

Explanation: The first BIT is the sign bit whereas the rest of the bits are magnitude bits. So the NUMBER is: 0010 = 2^1* 1 =2

But, the sign bit is 1, THEREFORE the answer is : (-2)10.


Discussion

No Comment Found

Related InterviewSolutions