DATA REPRESENTATION AND NUMBER SYSTEMS
TWOS COMPLEMENT AND FLOATING POINT REPRESENTATION
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
What is the two’s complement of 01100010?
|
10011101
|
|
11011101
|
|
10011110
|
|
10011111
|
Explanation:
Detailed explanation-1: -The two’s complement of 01100101 is 10011011.
Detailed explanation-2: -Step 1: Write the absolute value of the given number in binary form. Prefix this number with 0 indicate that it is positive. Step 2: Take the complement of each bit by changing zeroes to ones and ones to zero. Step 3: Add 1 to your result.
There is 1 question to complete.