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
8(x-a) = 2(2a - x). Solve for. X
Mariulka [41]

Hey! Your answer would be x = 6a/5

8 0
2 years ago
Read 2 more answers
The slope of a line is -1/3, and the y-intercept is 10/3. What is the equation of the line written in general form?
Y_Kistochka [10]
The answer is:  [B]:  " x  + 3y + 10 = 0 " .
______________________________________________________
Explanation:
______________________________________________________
Note the equation for a line; in 'slope-intercept form':  "y = mx + b" ;
 
   in which "y" is isolated alone, as a single variable, on the left-hand side of the equation;
                "m" = the slope of the line; and is the co-efficient of "x" ;
                                  b = the "y-intercept"; (or the "y-coordinate of the point of                                                                          the "y-intercept"). 
______________________________________________________
So, given the information in this very question/problem:
______________________________________________________
slope = m = (-1/3) ; 
b = y-intercept = (10/3) ; 
______________________________________________________
And we can write the equation of the line; in "slope-intercept form"; that is:
______________________________________________________
  " y = mx + b " ;  as:
______________________________________________________

   " y = (-1/3)x + (10/3) " ;
______________________________________________________
Now, the problem asks for the equation of this line; in "general form";  or "standard format";  which is:
________________________________________
   "Ax + By + C = 0 " ; 
________________________________________
So; given: 
____________________________________
 " y = (-1/3)x + (10/3) " ;
____________________________________
  We can multiply the ENTIRE EQUATION (both sides) by "3" ; to get rid of the "fractions" ;

  →  3* { y = (-1/3)x + (10/3) } ;

  →  3y = -1x + 10 ; 

        ↔  -1x + 10 = 3y ; 

Subtract "(3y)" from each side of the equation:
____________________________________
            -1x + 10 − 3y = 3y − 3y ;

to get: 

-1x + 10 − 3y = 0 ; 

↔  -1x − 3y − 10 = 0 ;  

→ This is not one of the "3 (THREE) answer choices given" ;

→ So, multiply the ENTIRE EQUATION (both sides); by "-1" ; as follows:

     -1 * {-1x − 3y − 10 = 0} ; 

to get:
______________________________________________________
   →   " x + 3y + 10 = 0 " ;  which is:  "Answer choice:  [B] ."
______________________________________________________
Note that is equation is in the "standard format" ;
   →  " Ax + By + C = 0 " .
______________________________________________________
6 0
3 years ago
Read 2 more answers
Help me with this please! asap, thank you
Dahasolnce [82]

Answer:

i cant see it

Step-by-step explanation:

8 0
3 years ago
AB = 6cm , AC = 12cm <br> Calculate the length of CD <br> Give your answer to 3 significant figures
Len [333]

Answer:

144-36=108

Square root 108 = 10.4cm (cb)

Soh Cah toa

Sin(55) =o/h

=10.4/h

xh

H x sin55 =10.4

÷sin55

H= 10.4/sin55

H=12.7cm

CD is 12.7cm to 3 s.f.

6 0
2 years ago
Explain why you don't have to do any computing to solve 15 × 0 × (13 + 7)
Fynjy0 [20]
Anything times 0 is 0 so the answer is 0
6 0
2 years ago
Read 2 more answers
Other questions:
  • Universal Pet house sells vinyl doghouse and treated lumber doghouses. It takes the company 5 hours to build a vinyl doghouses a
    11·2 answers
  • There are (53)2 ⋅ 50 hens in a bird enclosure. What is the total number of hens in the enclosure?
    13·2 answers
  • What’s this answer ????????
    10·2 answers
  • please answer this correctly....1.A bag contains 5 red marbles, 6 green marbles, and 3 blue marbles. If Cymra draws a marble, ke
    11·1 answer
  • a recipe for a batch of 3 dozen chocolate chip cookies calls for 3 cups of flour, 1 cup of sugar, and 2 cups of chocolate chips.
    7·1 answer
  • Can someone pls help me
    13·2 answers
  • Explain why the graph of the equation g(x)=-(x+1)^2-3 would be a parabola opening downward.
    15·1 answer
  • Given the equation of the circle find the center and the radius:<br> (x - 3)2 + (y + 1)2 = 49
    9·1 answer
  • PLEASE HELP!!!!! PEOPLE ARE GETTING THEM WRONG FOR ME!!!
    7·1 answer
  • WILL GIVE BRAINLIEST! what are the values of a and b so the system of equations has infinitely many solutions?
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!