Home
Class 12
PHYSICS
Find the 2's complement of the following...

Find the `2's` complement of the following numbers?
(a) 111111 (b)000000 (c) 101010 (d) 001001

Text Solution

AI Generated Solution

The correct Answer is:
To find the 2's complement of the given binary numbers, we will follow these steps for each number: 1. **Find the 1's complement**: This involves flipping all the bits (changing 0s to 1s and 1s to 0s). 2. **Add 1 to the 1's complement**: This will give us the 2's complement. Let's apply these steps to each part of the question. ### (a) Find the 2's complement of 111111 1. **1's complement**: - Flip the bits: 111111 → 000000 2. **Add 1**: - 000000 + 000001 = 000001 **Final answer for (a)**: 000001 ### (b) Find the 2's complement of 000000 1. **1's complement**: - Flip the bits: 000000 → 111111 2. **Add 1**: - 111111 + 000001 = 0000000 (carry is discarded) **Final answer for (b)**: 000000 ### (c) Find the 2's complement of 101010 1. **1's complement**: - Flip the bits: 101010 → 010101 2. **Add 1**: - 010101 + 000001 = 010110 **Final answer for (c)**: 010110 ### (d) Find the 2's complement of 001001 1. **1's complement**: - Flip the bits: 001001 → 110110 2. **Add 1**: - 110110 + 000001 = 110111 **Final answer for (d)**: 110111 ### Summary of Answers: - (a) 000001 - (b) 000000 - (c) 010110 - (d) 110111
Promotional Banner

Topper's Solved these Questions

  • SOLIDS AND SEMICONDUCTOR DEVICES

    SL ARORA|Exercise PROBLEM_TYPE|9 Videos
  • RAY OPTICS

    SL ARORA|Exercise TYPE I|12 Videos
  • THERMOELECTRICITY

    SL ARORA|Exercise Problems for Self Practice|13 Videos

Similar Questions

Explore conceptually related problems

Find the complement of each of the following angles:

Complement (1's) the following binary numbers. (a) 110010 (b) 111101 (c) 101010 (d) 111111

Perform binary addition on the following sets numbers. (a) 110010 and 111101 (b) 101010 and 010101 (c) 111111 and 000001

Perform subtraction on the following sets of numbers. (a) 110010 and 111101 (b) 010101 and 101010 (c) 1000001 and1111111

Find the complement of the angle (150-a+b)^(@)

Write the number of significant digits in the following (a) 1001 (b)100.1 (c) 100.10 (d) 0.001001

Find the multiple of 11 in the following numbers.112144 (b) 44355 (c) 869756 (d) 978626

Find the binary (i) addition (ii) subtraction of the following set of numbers , 101010 and 010101.

If U" "=" "{a ," "b ," "c ," "d ," "e ," "f," "g," "h} , find the complements of the following sets : (i) A" "=" "{a ," "b ," "c} (ii) B" "=" "{d ," "e ," "f," "g] (iii) C" "=" "{a ," "c ," "e ," "g} (iv) D" "=" "{f," "g," "h ," "a)