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.
Nayana said:
7 years ago
1's complement :
It is obtained by changing all 1's to 0's and al 0's to 1's.
Example : 0110.
It's 1's complement is 1001.
It is obtained by changing all 1's to 0's and al 0's to 1's.
Example : 0110.
It's 1's complement is 1001.
(2)
Anuj said:
7 years ago
Just change the 1 with 0 and 0 with 1.
1-->0
0-->1
So, 10-->01.
1-->0
0-->1
So, 10-->01.
(3)
Sajal said:
8 years ago
Where is the need of 1's, 9's, 10's complement?
I mean I didn't understand the concept of complements .Please, explain.
I mean I didn't understand the concept of complements .Please, explain.
(1)
Chris said:
8 years ago
It is very helpful, Thanks for the given explanation.
Annonymous said:
8 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.
Ashok Arya said:
9 years ago
1's Complement of 5 is = ?
Please derive the solution.
Please derive the solution.
Benjo said:
9 years ago
0 = 1 & 1 = 0.
Minahajhusen Mansuri said:
9 years ago
In One's complement replace the opposite value in the given number.
To allow only 0 or 1 only.
If 0 means to replace 1 and 1 means to replace 0.
10 binary is 110.
So 1's complement is 001.
To allow only 0 or 1 only.
If 0 means to replace 1 and 1 means to replace 0.
10 binary is 110.
So 1's complement is 001.
Akhil said:
9 years ago
Very simple, and the answer is 01.
Sabari said:
9 years ago
I initially think that it's 10 in number. It's a binary number so answer carefully .
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers