Express the decimal format of the signed binary number (101010)2 .

KellyPoima

New member
Express the decimal format of the signed binary number (101010)2 .
A. 10
B. 12
C. -12
D. -10
 
Answer: d
Explanation: The first bit is the sign bit whereas the rest of the bits are magnitude bits. So the number is: 01010 =2$^{3}$ * 1 + 2$^{1}$ * 1 =8+2 =10.
But, the sign bit is 1 ,
Therefore the answer is : (-2)$_{10}$.
 

Tìm kiếm

Back
Top