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
1 1/2 divided by $0.99?
saw5 [17]
11/2 divided by $0.99 is $<span>1.51</span>
8 0
3 years ago
Item 3
hammer [34]

Answer:

535 pounds of apples

Step-by-step explanation:

Just add 212 lb & 323 lb

3 0
3 years ago
Question 6(Multiple Choice Worth 5 points)
9966 [12]
Question 6: $38.82
question 7: t=5w
question 8: which blood type does the leaf number of people have
3 0
3 years ago
Read 2 more answers
The sum of two numbers is 64. One number is 8 more than the other. What are the two numbers?
lisabon 2012 [21]

Answer:

28 and 36.

Step-by-step explanation:

Alright, so we are given that the sum of two numbers is 64. Based on this, we know that we are going to be adding because the question said "the sum of two numbers is 64." Sum is the answer to an addition problem. Lets write an equation.

We need a variable, let x be the variable which is the value of the smaller number.

the equation is x+x+8=64

x= to the smaller number

x+8= to the number that is eight more than x or the smaller number.

Before we isolate for x, we need to simplify the expression by combining the like terms.

x plus x equals 2x.

Therefore, we have 2x+8=64.

Our goal is to isolate x, so we need to subtract 8 from both sides. 8 mius 8 is 0, and 64 mius 8 is 56.

Now, we have 2x=56.

We still need to isolate x by dividing both sides by 2. 2 divided by 2 is 1, so we are left with 1x or x. 56 divided by 2 is 28.

x=28.

Great, we found what x or the smaller value is.

Now, we need to find the larger number.

Substitute x as 28 into x+8 to find the number that is 8 more than the smaller number or x. You'll then get 36. If you add 36 and 28, you get 64. Also, 36 is 8 more than 28, so this answer is correct.

Hope this helps!

4 0
3 years ago
Select the two figures that are similar to the 5 by 10 figure that is shown.
Lapatulllka [165]

Answer:

Figure (i) and (iv)

Step-by-step explanation:

Given:

Optional figure is given in attached file.

We need to find two figures that are similar to the 5 by 10 figure.

All the given figure are m\times n form.

Where m represent the number of rows and n represent the number of columns.

Solution:

Observe that in the given figure 5 by 10, the number of rows is 5 and number of columns is 10, that is, the number of columns is double of that the number of rows.

So we need to find two such figures whose number of columns is double of the number of rows.

From the given figures, figure (i) the number of rows is 2 and number of columns is 4, which is double of number of rows. so it is similar to 5 by 10 figure.

Similarly in figure (iv), the number of rows is 4 and number of columns is 8. so the number of columns is double the number of rows, so it is similar to the figure 5 by 10.

Therefore, the two figures that are similar to 5 by 10 figure are given in attached file such as (i) and (iv).

6 0
3 years ago
Other questions:
  • Please help me, I don’t understand.
    15·1 answer
  • Which formula can be used to find the nth term in a geometric sequence where a1=3 and r=2?
    13·2 answers
  • -376+-3=? <br><br>and how do i get my couculater to subtract negative numbers
    10·1 answer
  • Which is the best approximation for the solution of the system of equations? y=-2/5x+1 y=3x-2
    12·1 answer
  • Hummingbird migrate across the gulf of Mexico. If the distance across the gulf Mexico is about 525 miles and hummingbird fly at
    7·2 answers
  • What the distance between -6,2 -6,-15
    12·2 answers
  • Plz someone help ASAP if you can
    12·2 answers
  • Use the inequalities to answer the following question.
    15·2 answers
  • a dad left all his money to his three children . Child A received 1/6. Child B received 1/7. Child C, who received the remainder
    10·1 answer
  • URGENT 30 points I need help
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!