1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Alenkasestr [34]
3 years ago
9

Convert the following pairs of decimal numbers to 5-bit 2's-complement numbers, then add them. State whether or not overflow occ

urs in each case. (a) 4 and 11 (b) 6 and 14 (c)-13 and 12 (d) -4 and 8 (e) -2 and -9 (f) -9 and -14
Mathematics
1 answer:
irakobra [83]3 years ago
4 0

Step-by-step explanation:

(a) 4 and 11

   binary equivalent of 4 in 5 bit = 00100

   binary equivalent of 11 in 5 bit = 01011

   decimal number 4 in 2's complement form = 11100

   decimal number 11 in 2's complement form = 10101

now,

        1 1 1 0 0

   <u>  + 1 01 0 1</u>

    <u> 1 1 000 1</u>

Since, we are doing addition on 5 bit numbers but the result of addition came in 6 digit, so there will be overflow.

(b) 6 and 14

   binary equivalent of 6 in 5 bit = 00110

   binary equivalent of 14 in 5 bit = 01110

   decimal number 6 in 2's complement form = 11010

   decimal number 14 in 2's complement form = 10010

now,

        1 1 0 1 0

   <u>  + 1 00 1 0</u>

    <u> 1 0 1 1 0 0</u>

Since, we are doing addition on 5 bit numbers but the result of addition came in 6 digit, so there will be overflow.

(c) -13 and 12

   binary equivalent of -13 in 5 bit = 10011

   binary equivalent of 12 in 5 bit = 01100

   decimal number -13 in 2's complement form = 01101

   decimal number 12 in 2's complement form = 10100

now,

        0 1 1 0 1

   <u>  + 1 0 1 0 0</u>

    <u> 1 0 0 0 0 1</u>

<u />

Since, we are doing addition on 5 bit numbers but the result of addition came in 6 digit, so there will be overflow.

(d) -4 and 8

   binary equivalent of -4 in 5 bit = 11100

   binary equivalent of 8 in 5 bit = 01000

   decimal number -4 in 2's complement form = 00100

   decimal number 8 in 2's complement form = 11000

now,

        0 0 1 0 0

   <u>  + 1  1 0 0 0</u>

    <u>    1  1  1 0 0</u>

<u />

Since, we are doing addition on 5 bit numbers and the result of addition also came in 5 digit, so there will  not be overflow.

(e) -2 and -9

   binary equivalent of -2 in 5 bit = 11110

   binary equivalent of -9 in 5 bit = 10111

   decimal number -2 in 2's complement form = 00010

   decimal number -9 in 2's complement form = 01001

now,

        0 0 0 1 0

   <u>  + 0  1 0 0 1</u>

    <u>    0  1  0 1 1</u>

<u />

Since, we are doing addition on 5 bit numbers and the result of addition also came in 5 digit, so there will  not be overflow.

(f) -9 and -14

   binary equivalent of -9 in 5 bit = 10111

   binary equivalent of -14 in 5 bit = 10010

   decimal number -9 in 2's complement form = 01001

   decimal number -10 in 2's complement form = 01110

now,

        0 1 0 0 1

   <u>  + 0 1  1 1  1</u>

    <u>    1  1  000</u>

<u />

Since, we are doing addition on 5 bit numbers and the result of addition also came in 5 digit, so there will  not be overflow.

You might be interested in
15 1/3 is 33 1/3% of what number?
butalik [34]
15 1/3 = 33 1/3% of what number...
46/3 = .3333x
(46/3) / 0.3333 = x
46/3 * 1/0.3333 = x
46/0.9999 = x
46 = x <===
3 0
4 years ago
What’s the distance between the points (21, -32) and (-3, -25)
hammer [34]

The distance between the two points is 25.

7 0
3 years ago
For brainiest:):):):):):)
eimsori [14]
#1. Step one) we set find what we can multiply by 5 to get 20, so we divide 20 by 5.
20/5 = 4
Step two) we multiply the bottom denominator (8) by 4
8x4=32
Step three) leave the top numerator the same (20) and replace (d) with 32
Answer : 20/32
#2 step one) we divide 14 by 7
14/7 = 2
Step two) divide 10 by 2
10/2=5
Step three) replace z with 5
Answer) 7/5
#3 step one) divide 24 by 8
24/8=3
Step two) divide 21 by 3
21/3 = 7
Step three) replace (x) for (7)
Answer) 7/8
3 0
3 years ago
Which of the following points are on the line given by the equation y equals 5X​
Nata [24]

Answer:

B & E

Step-by-step explanation:

___________________

6 0
3 years ago
2xsquared . 6 = <br><br><br><br> What does 2xsquared times 6 equal?
Allushta [10]

Answer:

24x

Step-by-step explanation:

3 0
3 years ago
Other questions:
  • Suppose that
    5·1 answer
  • PLEASE HELP ASAP!!! CORRECT ANSWERS ONLY PLEASE!!!
    9·2 answers
  • amanda spent half of her weekly allowance on clothes. to earn more money her parents let her clean the gutters for $8. what is h
    8·1 answer
  • Please answer this multiple choice question only if you know it! 40 points and brainliest!
    15·2 answers
  • Given cos A = .25 find angle A in degrees. Round your answer to the nearest hundredth.
    15·1 answer
  • You pick a card at random.<br><br><br>1<br><br>2<br><br>3<br><br><br><br>What is P(1)?
    8·1 answer
  • Hellllllllllllllllllllllllllp
    15·2 answers
  • Anyone solve this pls :)
    13·2 answers
  • The number of students who participate in​ after-school sports is 180. At an awards​ ceremony, 15% of the students received an a
    5·1 answer
  • Sum of two numbers = 14
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!