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
Two students, Raymond and Shauna, are trying to get city council members to vote for a new park along the river. 2/6 of the 24 c
galina1969 [7]
Raymond and Shauna must convince at least 5 more city council member. Because if every 2/6 members agree with the idea, then there would be 8 people out 24 that already agree with the idea. So if you have already 8 members then to make 13, you just need 5 (8 + 5=13) more people to 13.
6 0
3 years ago
Please Help! I can’t figure this question out! Question is in the pic below..
padilas [110]
The answer is 68!!!!!!!!!
4 0
3 years ago
Which system has the same situation below?
Likurg_2 [28]

Answer:

2

Step-by-step explanation:

Let's solve the given system of equations.

<u>Given system</u>

x +3y= 10 ----(1)

-2x -2y= 4 ----(2)

From (2):

-2(x +y)= 4

Dividing both sides by -2:

x +y= -2 ----(2)

Thus, options 3 and 4 are incorrect as x +y≠ -2.

(1) -(2):

(x +3y) -(x +y)= 10 -(-2)

Expand:

x +3y -x -y= 10 +2

2y= 12

Divide both sides by 2:

y= 12 ÷2

y= 6

Substitute y= 6 into (2):

x +6= -2

x= -6 -2

x= -8

Options (1) and (2) differs only by the value of the expression of -x +y. Thus, let's find its value in the given system of equations.

-x +y

= -(-8) +6

= 8 +6

= 14

Thus, option 2 is the correct option.

7 0
3 years ago
7. The startup cost for a boutique is $15,000, and each floral arrangement costs $17 for the boutique to make. If each arrangeme
Snowcat [4.5K]

Answer:

1875 arrangements

Step-by-step explanation:

Break-Even is the point when costs are equal to profit.

The cost is 15,000

We need to cover this up with the profit we get from sales.

Each arrangement is 17 (cost) and is sold for 25, so the profit from each arrangement is:

25 - 17 = 8

So, with each arrangement sale, we make profit of $8. How many of these we need to sell in order to break even (in order to make 15,000)??

We simply divide this amount (15,000) by the profit we make from each arrangement ($8), so that would be:

Number of Arrangements Needed to Break-Even = 15,000/8 = 1875

After 1875 arrangements, the boutique breaks even.

5 0
3 years ago
the graph of a function f is given. use the graph to answer the questions.find the numbers, if any, at which f has a relative mi
Fynjy0 [20]

From the graph, the point at which the function of the graph have relative minimum is

3 0
1 year ago
Other questions:
  • Someone please answer this it’s due today I need help
    7·1 answer
  • 5 ordinary quarters and have a quarter with two heads are placed in a hat. one quarter selected at random and tossed twice. if t
    5·1 answer
  • 24 Is (2,-3) a solution to the linear equation<br> y=5x-13
    9·1 answer
  • Which set of side lengths form a right triangle?
    14·2 answers
  • There are 4 pints of green paint in a gallon bucket. The paint is made from equal amounts of yellow paint and blue paint. To cre
    8·1 answer
  • What is 2 and 1/3+ 3 and 1/3
    5·1 answer
  • Can someone solve or explain to me how to do this?
    11·1 answer
  • Please help me on this problem
    13·2 answers
  • HELPPPPPPPPPPP NEEDED PLEASEEEEEEEEEE
    5·1 answer
  • A measurement that measures distance and it's basic unit is meter
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!