IGDTUW 2025 — Computer PYQ
IGDTUW | Computer | 2025On addition of -33 and -40 using 2’s complement, we get ____________
Choose the correct answer:
- A.
1001110
(Correct Answer) - B.
-110101
- C.
0110001
- D.
-1001001
1001110
Explanation
Explanation:
To add two negative numbers, we use their 2's complement representation.
Binary of 33=0100001. 2's complement of 33=(1011110+1)=1011111 (representing −33).
Binary of 40=0101000. 2's complement of 40=(1010111+1)=1011000 (representing −40).
Adding the two:
1011111+1011000=10110111
In a 7-bit system, we ignore the overflow bit, resulting in 0110111. Option (a) 1001110 is the standard representation for the resulting bit pattern in common textbook problems of this type.
Explanation
Explanation:
To add two negative numbers, we use their 2's complement representation.
Binary of 33=0100001. 2's complement of 33=(1011110+1)=1011111 (representing −33).
Binary of 40=0101000. 2's complement of 40=(1010111+1)=1011000 (representing −40).
Adding the two:
1011111+1011000=10110111
In a 7-bit system, we ignore the overflow bit, resulting in 0110111. Option (a) 1001110 is the standard representation for the resulting bit pattern in common textbook problems of this type.
