Moderate

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.

Last updated

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.

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.

Related questions