Question
Jan Villaroel
Topic: Computer Science Posted 1 year ago
Perform the indicated operations in 4-bit two’s complement representation. State if there is an overflow a. 1111 + 0001

Perform the indicated operations in 4-bit two’s complement representation. State if there is an
overflow

a. 1111 + 0001
A digit-overflow at the MSB is an overflow- is it true? yes/no
b. 1111 - 0001
A digit-overflow at the MSB is an overflow- is it true?
c. 0000 - 0001
If there is no digit-overflow at the MSB, overflow is not possible- is it true? yes/no
d. 1010 + 0011
If there is no digit-overflow at the MSB, overflow is not possibleis it true? always true/sometimes true/never true
e. 1111 - 0001
f. 1010 - 1011


Answers
What are best answers and total votes?
No Votes
Vote
SignIn to Vote
Koala Tutor
Oct 4, 2023
Koala Ai Support

a. 1111 + 0001 = 0000 (overflow: yes)
b. 1111 - 0001 = 1110 (overflow: no)
c. 0000 - 0001 = 1111 (overflow: no)
d. 1010 + 0011 = 1101 (overflow: no)
e. 1111 - 0001 = 1110 (overflow: no)
f. 1010 - 1011 = 1111 (overflow: yes)

Koala Tutor Got a question with my answer?
Message Me