Computer Science - Digital Computer Electronics - Discussion
Discussion Forum : Digital Computer Electronics - Section 1 (Q.No. 15)
15.
Express -7 as 16-bit signed binary numbers.
Discussion:
5 comments Page 1 of 1.
Mausham Bhattarai said:
2 years ago
In a signed binary, the first bit (the leftmost) is reserved for the sign,
1 = negative, 0 = positive.
This bit does not count when calculating the absolute value. So,
1000 0000 0000 0111 is the binary representation of -7.
1 = negative, 0 = positive.
This bit does not count when calculating the absolute value. So,
1000 0000 0000 0111 is the binary representation of -7.
(1)
Akhilesh Kumar said:
3 years ago
Very Helpful. Thanks all.
MOULA BUX said:
6 years ago
Answer E is correct because we first take one's complement and then add 1 to get signed number so the answer is = 111 1111 1111 1001.
Tanmay said:
6 years ago
How B? It's E.
Here it is 1111 1111 1111 1000.
Here it is 1111 1111 1111 1000.
Chennaiah kate said:
1 decade ago
+7 = 0000 0000 0000 0111.
-7 = 1000 0000 0000 0111 Least most bit represents the sign of the magnitude.
-7 = 1000 0000 0000 0111 Least most bit represents the sign of the magnitude.
(1)
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers