Computer Science - Computer Fundamentals - Discussion
Discussion Forum : Computer Fundamentals - Section 1 (Q.No. 7)
7.
Which of the following is the 1's complement of 10?
Discussion:
56 comments Page 2 of 6.
SANOOP KUMAR said:
1 decade ago
Its simple, In one's complement method 1 is replaced by 0 and 0 is replaced by 1,
Example : 1010.
Answer : 0101.
Example : 1010.
Answer : 0101.
(1)
Sarfraz said:
1 decade ago
For obtained the first complement two steps are required.
1. Replace 0 to 1.
2. Replace 1 to 0.
E.g 100 to 011.
1. Replace 0 to 1.
2. Replace 1 to 0.
E.g 100 to 011.
Deepak said:
1 decade ago
Simple rule for complements is that : Replace 1 by 0 and 0 by 1.
Eg: 1's complement of 1001 will be 0110.
Eg: 1's complement of 1001 will be 0110.
Bibhuprasad Sahoo said:
1 decade ago
In one's complements of a binary number, the easiest method is just replace 1 by 0 and 0 by 1. Thats all.
Anuj Goyal said:
5 years ago
Is it necessary for the number to be in binary digits for finding complements? Please anyone explain.
(1)
Riya said:
1 decade ago
Yes it is a very easiest way to remember for all that the replacement of 1 by O & viceversa.
Ravi yadav said:
1 decade ago
For 1's complement we change 1=0 and 0=1.
And for 2's complement we add 1 in 1's complement.
And for 2's complement we add 1 in 1's complement.
Annonymous said:
9 years ago
@Ashok.
In binary representation 5 is 101.
So, complementing the bits we have 010 i.e. 2.
In binary representation 5 is 101.
So, complementing the bits we have 010 i.e. 2.
Urvashi said:
1 decade ago
I agree with @Arunima. I would have marked none of these since I took it to be decimal 10.
Gautam said:
2 years ago
10 in binary form is -1010.
its 1's complement will be -0101.
Then how the answer is -01?
its 1's complement will be -0101.
Then how the answer is -01?
(7)
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers