Question 87

Computer Awareness Binary Logics Medium

2's complement of 1011011 is

(A) 0100011
(B) 0110101
(C) 0100111
(D) 0100101
View Dynamic Solution & Explanation
Correct Solution: Option D

Step-by-step Solution:

To find the 2's complement of a binary number, follow these steps: 1. Take the 1's complement: Flip all the bits (change (0) to (1) and (1) to (0)).\[\] 2. Add 1 to the result of the 1's complement.\[\] Step 1: Take the 1's complement of ( 1011011 ) \[\] Flip each bit: 0100100 Step 2: Add 1 to ( 0100100 ): \[\] Add binary (1) to the number ( 0100100 ):\[\] 0100100 + 1 = 0100101 Final answer: The 2's complement of ( 1011011 ) is ( 0100101 ). \[\] Correct Option: (d)