## Nisha Mittal is teaching live on Unacademy Plus

2's complement of -100 NISHA MITTAIL

2's complement of -100 NISHA MITTAIL

2's complement of -100 NISHA MITTAIL

4 2's complement of -100 is: (A) 00011100 (B) 10011101 (C) 10011100 (D) 11100100

5 2's complement of -100 is: (A) 00011100 (B) 10011101 (C) 10011100 (D) 11100100 Step 1 :To get the 2's complement of any negative number, we find the binary code for equivalent positive number Step 2: Take the 1's complement Step 3: Take the 2's complement This gives the 2's compliment of negative number.

6 2's complement of -100 is: (A) 00011100 (B) 10011101 (C) 10011100 (D) 11100100 Step 1 :To get the 2's compleent of any negative number, we find the binary code for equivalent positive number Step 2: Take the 1's complement Step 3: Take the 2's complement This gives the 2's compliment of negative number. Binary code for (100),,-(01100100)2 1's complement 10011011 2's complement 10011100

7 Find the two's complement of -17 Step 1: 171 0001 00012 Step 2: Take the complement: 1110 1110 Step 3: Add 1: 1110 1110 1 1110 1111 Thus the two's complement for -17 is 1110 11112 It begins on the left with a 1, therefore we know it is negative.

8 Find the two's complement for b. -43 C. -123

9 8-bit 1's complement form of -77.25 is (A) 01001101.0100 (B) 01001101.0010 (C) 10110010.1011 (D) 10110010.1101