Computer Science, asked by inturipranith2456, 23 days ago

On addition of +38 and -20 using 2's complement, we get
O a. 11110001
O b. 110101011
Oc 100001110
O d. 010010​

Answers

Answered by tarun986640
0

Answer:

option A

Explanation:

There are three different cases possible when we add two binary numbers using 2's complement, which is as follows:

Case 1: Addition of the positive number with a negative number when the positive number has a greater magnitude.

Initially find the 2's complement of the given negative number. Sum up with the given positive number. If we get the end-around carry 1 then the number will be a positive number and the carry bit will be discarded and remaining bits are the final result.

Example: 1101 and -1001

First, find the 2's complement of the negative number 1001. So, for finding 2's complement, change all 0 to 1 and all 1 to 0 or find the 1's complement of the number...

Similar questions