Consider the representation of six-bit numbers by two's complement, one's complement, or by sign and magnitude: In which representation is there overflow from the addition of the integers 011000 and 011000 ?

Correct answer: D. All three representations

  • A. Two's complement only
  • B. Sign and magnitude and one's complement only
  • C. Two's complement and one's complement only
  • D. All three representations

Explanation

In all three six-bit signed representations, 011000 represents +24, so adding it to itself gives +48, outside the representable positive range. Therefore overflow occurs in two's complement, one's complement, and sign-and-magnitude representations.

Written and checked by , MS Computer ScienceLast updated
Report an error

The more specific you are, the faster it gets fixed. A source beats an opinion.

Prefer email? [email protected]

Practise Electronics and Devices

758 free Electronics and Devices MCQs from Electrical Engineering, each with the correct answer and an explanation. Unlimited attempts, no account needed.

Discussion

Stuck on an option, or know a faster way to get there? Ask or explain it here.

No comments yet. Be the first to explain this one.

Exams that ask Electrical Engineering questions like this

Electrical Engineering is on 2 papers prepared for on TestUstad, and all of them draw the same bank, so this question is worth knowing for every one of them.

More Electronics and Devices questions