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
9 ten thousands divided by 10
MA_775_DIABLO [31]
The answer is9000  thats the answer


5 0
3 years ago
Read 2 more answers
How do i do #3? I dont know how to do the whole problem.
lisov135 [29]
You have to put the problem down we cant help you if its not there
sorry but please put equation in or problem
3 0
3 years ago
Lacie is filling a bucket with water.
ella [17]

Answer: Option A) liters

Step-by-step explanation:

Liters is the standard unit of measurement for volume. Metres, on the other hand, is the standard unit of measurement for length, height, width or distance traveled.

So, since we are to me measure the amount (volume) of water in Lacie's bucket, liters is the standard unit to used.

4 0
4 years ago
Using the distance formula and the Pythagorean theorem to find the distance, to the nearest tenth, between V(2, -1) and W(-4, 8)
Sergio039 [100]
Using the distance formula I got 10.81665383 : 10.82
8 0
4 years ago
Here is a formula P=3T work out the value of P when T =10​
xeze [42]

Step-by-step explanation:

p=3T

when T=10

p=3×10

p=30

7 0
2 years ago
Read 2 more answers
Other questions:
  • The clubs indoor pool is a rectangular shape.Marco is laying tile around the pool to create a walkway whatbis the area of the po
    15·1 answer
  • Which of the following is(are) the solution(s( to |5x+2|=8?
    13·2 answers
  • An airplane has an air speed of 550 miles per hour bearing N30°W. The wind velocity is 50 miles per hour in the direction N30°
    13·1 answer
  • PLEASE HELP ASAP<br> Brainliest!<br><br> 8C5 = __________. <br> A.40,320 B. 6,720 C.6 D. 56
    8·1 answer
  • Find the number that point C represents on the graph.
    6·2 answers
  • Which is greater 2/3 or 60%
    15·2 answers
  • A town has a population of 12,000 and grows at 5% every year what will the population after 12 years be to the nearest whole num
    7·1 answer
  • A) The term-to-term rule of a sequence is
    15·1 answer
  • Which line segment is congruent to BC?<br> GEOMETRY HELP PLS!!!
    9·2 answers
  • Sandra rode her bike 5 times as many miles as Barbara. If b, the distance Barbara rode, equals 3.4 miles, what is the correct ex
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!