Question

This 4 bit binary addition will result in overflow. 0110 + 0111

___ True   

___ False

Please justify your answer.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Answer

Normal binary addition: False (No overflow)
Two's complement addition:  True (overflow)

Explanation:
-------------
Adding 0110 and 0111 in binary
    0110
    0111
---------
 (0)1101
---------
So, sum of these numbers in binary is 1101

Verification
---------------
first = 0110
Converting 0110 to decimal
0110
=> 0x2^3+1x2^2+1x2^1+0x2^0
=> 0x8+1x4+1x2+0x1
=> 0+4+2+0
=> 6

second = 0111
Converting 0111 to decimal
0111
=> 0x2^3+1x2^2+1x2^1+1x2^0
=> 0x8+1x4+1x2+1x1
=> 0+4+2+1
=> 7

If this was a normal binary addition:
--------------------------------------
sum = 1101
Converting 1101 to decimal
1101
=> 1x2^3+1x2^2+0x2^1+1x2^0
=> 1x8+1x4+0x2+1x1
=> 8+4+0+1
=> 13
This is correct since we can verify that 6+7 = 13
So, there was no overflow.

If it was in two's complement:
-------------------------------
then calculation for result is
sum = 1101
since left most bit is 1, this number is negative number.
so, follow these steps below to convert this into a decimal value.
I. first flip all the bits. Flip all 0's to 1 and all 1's to 0.
   1101 is flipped to 0010
II. Add 1 to above result
0010 + 1 = 0011
III. Now convert this result to decimal value
Converting 11 to decimal
11
=> 1x2^1+1x2^0
=> 1x2+1x1
=> 2+1
=> 3
Answer: -3
6+7 must be 13
This is not correct since we can verify that 6+7 not equals -3
So, there was an overflow.
Add a comment
Know the answer?
Add Answer to:
___ True    ___ False Please justify your answer. This 4 bit binary addition will result...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Compute 410 – 510 using 4-bit two’s complement addition. You will need to first convert each...

    Compute 410 – 510 using 4-bit two’s complement addition. You will need to first convert each number into its 4-bit two’s complement code and then perform binary addition (i.e., 410 + (−510)). Provide the 4-bit result and indicate whether two’s complement overflow occurred. Check your work by converting the 4-bit result back to decimal.

  • Note: Please post your homework to ICS232 D2L on or before the due date. If you...

    Note: Please post your homework to ICS232 D2L on or before the due date. If you do not post your homework on or before the due date, please post your late homework when complete (Late Homework: -15% Penalty). 1. (5 pts) Define the following a. Combination Logic: b. Sequential Logic: c. How are sequential circuits different than combinational circuits? 2. (5 pts) Add the following 8-bit two's complement numbers (i.e. one sign bit and seven data bits) AND indicate "Overflow"...

  • TRUE FALSE: Please indicate your answer with a Tor F. 1. The binary number system has...

    TRUE FALSE: Please indicate your answer with a Tor F. 1. The binary number system has a base of 8. ANS: F 2. The decimal number 7 would be written in binary as 1011. ANS: F 3. To express a number in decimal requires fewer digits than in the binary system. ANS: 4. Numbers 8 and 9 are not used in the octal number system. ANS: 5. For a base 2 number system, the weight value associated with the 3rd...

  • Please show steps EXERCICE 2 Convert to binary (2's complement) using a compact notation (minimum number...

    Please show steps EXERCICE 2 Convert to binary (2's complement) using a compact notation (minimum number of digits). Number in base 10 Number in base 2 (2's complement) +126.5 -25.8125 1.375 +10.37890625 13.62109375 15.61328125 2.99609375 EXERCICE 3 Give the result of the following set of additions in 8-bit 2's complement. Addends are also in 8-bit 2's complement. Indicate by YES or NO if an overflow occurs. Addition Result Overflow ? 0011 1000 0110 0000 1011 1000 1110 0000 1100 1000...

  • 3)True or false? ( Justify your answer). a)6sven 6 b)10101wo 2121hree 3)True or false? ( Justify your answer)....

    3)True or false? ( Justify your answer). a)6sven 6 b)10101wo 2121hree 3)True or false? ( Justify your answer). a)6sven 6 b)10101wo 2121hree

  • ECEN3233 Digital Logic Design Name 3. Use a synchronous 4-bit binary up counter (with load and...

    ECEN3233 Digital Logic Design Name 3. Use a synchronous 4-bit binary up counter (with load and enable) to design a modulo-8 counter (also called offset counter) that begins with 0100, which means the counting sequence is: 0100-0101-0110->0111->1000->1001->1010->1011->0100-0101... Please complete your design using the figure on the next page. Use some logic gates if you need. (10 points) Enable Load Clock

  • Convert the following decimal numbers to 6-bit two's complement binary number and add them. Keep result...

    Convert the following decimal numbers to 6-bit two's complement binary number and add them. Keep result in binary form. Enter yes/no for any overflows (overflows only, not carried bits). 16 + 9 .............. Overflow?................... 27 + 31 .............. Overflow?....................... (-4) + 19 .............. Overflow? ........................ 3 + (-32) ............ Overflow? ........................ (-16) + (-9) ............... Overflow? .............................. (-27) + (-31) ................ Overflow? ...........................................

  • Justify your answer with brief comments please. True or False. The two monomers a and b...

    Justify your answer with brief comments please. True or False. The two monomers a and b react to form the polycarbamate/polyurethane palymer e below. Justify your answer with appropriate comments HO

  • a) Perform these 7-bit, unsigned binary operations. Keeping only 7 bits for the result, indicate whether...

    a) Perform these 7-bit, unsigned binary operations. Keeping only 7 bits for the result, indicate whether or not overflow occurred (i.e. whether the answer is correct or if there were not enough bits). 0111010            0110010           1010010 +1001111           +1000111          -0110001 b) Perform these 7-bit, signed two’s complement binary operations. Keeping only 7 bits for the result, indicate whether or not overflow occurred. 0111010            0110010           1010010 +1001111           +1000111          -0110001

  • In binary, if the right-most bit, or least significant digit, is “On,” then the decimal result...

    In binary, if the right-most bit, or least significant digit, is “On,” then the decimal result is always an odd number. true or false?

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT