Computer Science - Computer Fundamentals - Discussion

7. 

Which of the following is the 1's complement of 10?

[A]. 01
[B]. 110
[C]. 11
[D]. 10
[E]. None of the above

Answer: Option A

Explanation:

No answer description available for this question.

Soumya said: (Apr 1, 2011)  
IN ONE'S COMPLEMENT EVERY ZEROS ARE REPLACED BY 1 AND VICE VERSA

EXAMPLE: 100

ANSWER: 011

IN THIS EXAMPLE 1 IS REPLACED BY 0 AND 0 IS REPLACED BY 1

Sudha said: (May 4, 2011)  
Thnks for the Explanation and its v short and cute :)

Sathiya said: (Sep 6, 2011)  
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....

Example

the 1's complement of 1010

Ans: 0101

Vivek Patel said: (Sep 19, 2011)  
1's complement of 10 is 01

Deepak said: (Oct 19, 2011)  
Simple rule for complements is that : Replace 1 by 0 and 0 by 1.

Eg: 1's complement of 1001 will be 0110.

Simi said: (Nov 8, 2011)  
Rules for 1s complement is that replacing 1 by 0 and 0 by 1, or another method is that subtracting number to be complemented by 11, genarally number of ones is taken depends on the number of digits in the paritular number.

Raghupathi said: (Nov 29, 2011)  
It is very easy to write 1s' compliment write 1 where it is 0 and VICE VERSA.

Bibhuprasad Sahoo said: (Feb 15, 2012)  
In one's complements of a binary number, the easiest method is just replace 1 by 0 and 0 by 1. Thats all.

Basant Rajak said: (Feb 23, 2012)  
In one's complement method simply 1 is replaced by 0 and 0 is replaced by 1 thats all.

Jagadish said: (Jun 18, 2012)  
In computer terminology complement means 0 replace 1 and 1 replace 0.

Ravi Yadav said: (Jun 19, 2012)  
For 1's complement we change 1=0 and 0=1.

And for 2's complement we add 1 in 1's complement.

Sanoop Kumar said: (Jul 10, 2012)  
Its simple, In one's complement method 1 is replaced by 0 and 0 is replaced by 1,

Example : 1010.
Answer : 0101.

J.Rupa said: (Aug 30, 2012)  
In 1's complement 0 is replaced by 1 and 1 is replaced by 0. So the answer for 10 is 01.

Manoj said: (Sep 8, 2012)  
In 1's complement 0 is replaced by 1 and 1 is replaced by 0.

Moin Pathan said: (Mar 11, 2013)  
In 1's complement every 1's are replaced by 0's and every 0's are replaced by 1's. :-).

Mangesh S. Gaikwad said: (Apr 17, 2013)  
It is very easy to write 1's complement.

Rule for complements is that:1 is replace by 0 & 0 is replace by 1.

For EX.: 101010

Answer: 010101

Arunima said: (Jul 28, 2013)  
How can one be sure that the number 10 is a decimal or a binary?

Joseph said: (Dec 6, 2013)  
Complement of a decimal point and a negative number. Please help.

Urvashi said: (Jan 14, 2014)  
I agree with @Arunima. I would have marked none of these since I took it to be decimal 10.

Shivam Gupta said: (Feb 24, 2014)  
1's comp work with on and off so the 0 change will be 1 and 1 will be change in 0.

Vanmathi said: (May 27, 2014)  
Explain the 2's complement and example? different b/w the 1's and 2's complement?

Riya said: (Sep 14, 2014)  
Yes it is a very easiest way to remember for all that the replacement of 1 by O & viceversa.

Pooja Sharma said: (Oct 6, 2014)  
0 complement 1 and 1 complement 0 always.

Richa said: (Nov 8, 2014)  
Please explain how option A is correct?

Suma said: (Jan 22, 2015)  
1's coplement of 10 is 01.

Mothukuri Siva Krishna said: (Feb 2, 2015)  
Reversing Digits with compliments 0-1 and 1-0 for binary numbers.

Bharat said: (Feb 14, 2015)  
First Complement of :
10 is 01, 110 is 001, 000 is 111.

----Binary to Decimal Convert-------------

128 64 32 16 4 2 1 Decimal.
0 0 0 0 0 1 0 = 2.
0 0 0 0 1 1 0 = 4+2 = 6.

Thanks.

Sarfraz said: (Apr 12, 2015)  
For obtained the first complement two steps are required.

1. Replace 0 to 1.
2. Replace 1 to 0.

E.g 100 to 011.

V.Viswanath said: (Jun 8, 2015)  
Complement is a very easy 1 replaced by 0, 0 replaced by the 1.

K.Jyothi said: (Jun 25, 2015)  
We can replace 0 as 1 and 1 as 0.

Sanjay said: (Jul 22, 2015)  
What would be result if we say 0's complement?

B.Abraaham said: (Jul 25, 2015)  
Very good explanation.

Irfan said: (Sep 7, 2015)  
Where we use this ones and zero's complement? Please explain.

Arnav said: (Oct 22, 2015)  
Simply add 1 to the code.

Karri Jagapathibabu said: (Mar 12, 2016)  
Example of 2nd complement.

Hari said: (Mar 20, 2016)  
Like DNA complement 0 is complement to 1, 1 to 0 ?

Sabari said: (Jul 8, 2016)  
I initially think that it's 10 in number. It's a binary number so answer carefully .

Akhil said: (Aug 3, 2016)  
Very simple, and the answer is 01.

Minahajhusen Mansuri said: (Aug 17, 2016)  
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.

Benjo said: (Oct 13, 2016)  
0 = 1 & 1 = 0.

Ashok Arya said: (Oct 25, 2016)  
1's Complement of 5 is = ?

Please derive the solution.

Annonymous said: (Nov 30, 2016)  
@Ashok.

In binary representation 5 is 101.

So, complementing the bits we have 010 i.e. 2.

Chris said: (Jun 7, 2017)  
It is very helpful, Thanks for the given explanation.

Sajal said: (Jun 30, 2017)  
Where is the need of 1's, 9's, 10's complement?

I mean I didn't understand the concept of complements .Please, explain.

Anuj said: (Jan 18, 2018)  
Just change the 1 with 0 and 0 with 1.
1-->0
0-->1
So, 10-->01.

Nayana said: (Jul 21, 2018)  
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.

Gopal said: (Feb 1, 2019)  
Let me know about 2's complement in easy method. Please, anyone help me.

Sachin said: (Mar 21, 2019)  
@Gopal.

For 2's complement, we first find 1's complement and then add 1 in that number.

Eg:

We have a binary number 0111,

2's complement = [1's complememt] + 1 .
1's complement = 1000,
now add 1,
1000
+ 1
===========
1001
===========

Post your comments here:

Name *:

Email   : (optional)

» Your comments will be displayed only after manual approval.