Digital Electronics - Number Systems and Codes - Discussion
Discussion Forum : Number Systems and Codes - General Questions (Q.No. 69)
69.
The 2's complement of 11100111 is ________.
Discussion:
2 comments Page 1 of 1.
Shanmugakumar said:
9 years ago
Shortcut for 2's complement:
Start from right to left.
Write as it is until you are reaching first 1. Write complement of remaining numbers.
Given 11100111
2's: 00011001.
Start from right to left.
Write as it is until you are reaching first 1. Write complement of remaining numbers.
Given 11100111
2's: 00011001.
Anal singh said:
1 decade ago
First take 1's of 11100111=00011000 (just change the value of 1 as 0 & 0 as 1).
Then we have to find the 2's of 00011000 by adding 1.
00011000 + 1 = 00011001. So answer is B.
Then we have to find the 2's of 00011000 by adding 1.
00011000 + 1 = 00011001. So answer is B.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers