Home
Class 12
PHYSICS
Find the 2s complement of binary number ...

Find the 2s complement of binary number `(10101)_2` ?

Text Solution

AI Generated Solution

The correct Answer is:
To find the 2's complement of the binary number \( (10101)_2 \), we will follow these steps: ### Step 1: Find the 1's Complement To find the 1's complement of a binary number, we convert all 1s to 0s and all 0s to 1s. - Given binary number: \( 10101 \) - Convert 1 to 0 and 0 to 1: - 1 → 0 - 0 → 1 - 1 → 0 - 0 → 1 - 1 → 0 So, the 1's complement of \( 10101 \) is \( 01010 \). ### Step 2: Add 1 to the 1's Complement Now, we will add 1 to the 1's complement obtained in Step 1. - 1's complement: \( 01010 \) - Add 1: ``` 01010 + 1 -------- 01011 ``` ### Result The result of the addition is \( 01011 \). Thus, the 2's complement of the binary number \( (10101)_2 \) is \( (01011)_2 \). ---
Promotional Banner

Similar Questions

Explore conceptually related problems

Find the 2s complement of binary number (10101001)_2 ?

find the 1s complement of binary number (0100101)_2 ?

find the 1s complement of binary number (00101)_2 ?

Find the 1s complement of binary number (10101001)_2 ?

find the 1s complement of binary number (0011001)_2 ?

Find the 1s complement of binary no (0011100)_2 ?

Find the 1s complement of binary no (001100)_2 ?

Find the complement of 48^(@)

Find the complement of 37^(@)30 '

The decimal equivalent of the binary number (11010.101)_(2) is