MCQ
Q.
Which of the following is the 1's complement of 10?
Correct Answer: A
The correct answer is The correct answer is A. The 1's complement of the binary number 10 is 1..
🔑 Key Points
- The 1's complement of a binary number is obtained by inverting all of its bits.
- To invert a bit means changing every 0 to a 1 and every 1 to a 0.
- This operation is also known as a bitwise NOT operation.
- The number of bits used to represent the original number is important. In this context, '10' is typically treated as a 2-bit binary number.
🧮 Step-by-Step Solution
1. Identify the given binary number: The question asks for the 1's complement of **10**. 2. Assume the number of bits: Given the options, '10' is interpreted as a 2-bit binary number. 3. Apply the 1's complement rule: Invert each bit of the binary number. * The first bit is **1**, which becomes **0**. * The second bit is **0**, which becomes **1**. 4. Combine the inverted bits: The resulting 1's complement is **01**. 5. Simplify the result: In binary, **01** is equivalent to **1**. 6. Compare with the options: This result matches option A.
📄 Additional Information
- The 1's complement system was historically used for representing negative numbers in digital computers. However, it has a disadvantage: it results in two representations for zero (a 'positive' zero like 00...0 and a 'negative' zero like 11...1). To overcome this, the 2's complement system is almost universally used in modern computers for signed integer representation. The 2's complement of a number is found by taking its 1's complement and then adding 1 to the result.