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?
01
110
11
10
None of the above
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
56 comments Page 5 of 6.

Ashok Arya said:   9 years ago
1's Complement of 5 is = ?

Please derive the solution.

Annonymous said:   9 years ago
@Ashok.

In binary representation 5 is 101.

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

Chris said:   8 years ago
It is very helpful, Thanks for the given explanation.

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.
(1)

Anuj said:   8 years ago
Just change the 1 with 0 and 0 with 1.
1-->0
0-->1
So, 10-->01.
(3)

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.
(2)

Gopal said:   7 years ago
Let me know about 2's complement in easy method. Please, anyone help me.

Sachin said:   6 years ago
@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
===========
(8)

Anuj Goyal said:   5 years ago
Is it necessary for the number to be in binary digits for finding complements? Please anyone explain.
(1)

Fakhrul said:   5 years ago
@Sajal.

How to find 9's complement? Explain about it.


Post your comments here:

Your comments will be displayed after verification.