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 1 of 6.

Rajesh Kumar said:   4 months ago
9's Complement of 234.
999 - 234 = 765.

And 9's Complement of 1423.
9999 - 1423 = 8576.
(1)

Rajesh Kumar said:   4 months ago
50 => 110010.
Flip => 001101.
Add 1 = 001110.

Sarveswarudu said:   5 months ago
To find the 1's complement of a binary number, flip all the bits (change 0 to 1 and 1 to 0).

Here's the process for your example:

1. Write 10 in binary:
10 decimal= 1010 binary

2. Flip the bits:
Original: 1010
Flip: 0101

So, the 1's complement of 10 (in binary: 1010) is 0101.

Gautam said:   1 year ago
10 in binary form is -1010.
its 1's complement will be -0101.
Then how the answer is -01?
(5)

Abhi pawar said:   3 years ago
Replacing 1 with 0 and 0 with 1 is a one's complement.

Eg;
Q-100001010.
A- 011110101.
(10)

Mohsin Attar said:   3 years ago
@Sachin.

Thank you for explaining.

Fakhrul said:   5 years ago
@Sajal.

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

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

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)

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


Post your comments here:

Your comments will be displayed after verification.