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.
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
What is the octal equivalent of the binary number : 10111101 ?
The number of Boolean functions that can be generated by n variables is equal to_________________?
Positive logic in a logic circuit is one in which______________?
Digital computers are more widely used as compared to analog computers, because they are______________?
The binary code of (21.125)10 is_______________?
In which of the following base systems is 123 not a valid number ?