edited by
14,299 views
24 votes
24 votes

The addition of $4-bit$, two's complement, binary numbers $1101$ and $0100$ results in

  1. $0001$ and an overflow
  2. $1001$ and no overflow
  3. $0001$ and no overflow
  4. $1001$ and an overflow
edited by

3 Answers

Best answer
63 votes
63 votes

Answer: C.

The addition results in $0001$ and no overflow with $1$ as carry bit.

In 2's complement addition Overflow happens only when:

  • Sign bit of two input numbers is $0$, and the result has sign bit $1$.
  • Sign bit of two input numbers is $1$, and the result has sign bit $0$.
edited by
1 votes
1 votes

when ever positive and negative no is added it may cause over flow

1 flag:
✌ Low quality (abir_banerjee)
–3 votes
–3 votes
2's complement of 1101 is 0011

2,s complement of 0100 is 1100

now we add 0011 nd 1100 gives 1111

so it doesnot give any extra bit in carry so no overflow nd convert 1111 in original form of no 0001

so (c) option is correct
Answer:

Related questions

56 votes
56 votes
3 answers
1
24 votes
24 votes
5 answers
2