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
prisoha [69]
3 years ago
11

-(-13) P binary using signed. 2's complement representation

Computers and Technology
1 answer:
ArbitrLikvidat [17]3 years ago
3 0

Answer:

00011101

00011101

Explanation:

Given the following arithmetic operations

a)   (+42) + (-13)

b)   (-42) - (-13)

From (a):

We need to convert +42 into binary, so we get = 00101010

Now for +13, when it is converted into binary, we get = 00001101

But, here, the 13 is negative. So, here is what we will do, we will have to take the two compliment of the binary. After doing that, we get = 111110011

∴

+ 42     →     00101010

<u> - 13      →     1 1 1 10011 </u>

<u>+29             000 11101  </u>

Thus, the arithmetic operation after we use 2's complement is 00011101

b)

Here both 42 and 13 are negative. Using two complement representation

-42 is first converted to binary as 00101010, Then → 11010101 + 1 = 11010110

-13 is converted to binary as 00001101 → 11110010 = 11110011

In between, a negative sign exists, so we take another 2's complement.

i.e.

11110011 → 00001100 + 1 = 00001101

- 42 →     1 1 01 0110

<u>+13  →     00001 101</u>

<u>-29         1 1 1 00011</u>

<u />

since there is no carry, we take two's complements for the result as:

1 1 1 00011 →00011100 + 1 = 00011101

You might be interested in
Windows displays a(n)
pochemuha

Answer:

system I hope tis is right

7 0
3 years ago
What does the Autosum feature on excel do?
BabaBlast [244]
The answer is 1. Pressing the Autosum button highlights the ten cells above it so that you can easily add things together. Hope this helps!
8 0
4 years ago
Laser printers are particularly effective for printing _______________.
AVprozaik [17]
Full color images.
Hope this helps.
6 0
4 years ago
Which of the following groups is NOT located on the Home tab?
padilas [110]

Which of the following groups is NOT located on the Home tab?

Animations

3 0
3 years ago
Read 2 more answers
Given an char variable last that has been initialized to a lowercase letter, write a loop that displays all possible combination
Amanda [17]

Answer:

for (char outerChar='a'; outerChar<='e'; outerChar++){

for (char innerChar='a'; innerChar<='e'; innerChar++){

cout << outerChar << innerChar << "\n";

}

}

5 0
3 years ago
Other questions:
  • _____ is two or more connected computers.
    8·1 answer
  • If you want the values in your cell to have dollar signs in front of them, _________
    8·1 answer
  • With respect to the five components of social media information systems (SMIS), which of the following statements is true of SM
    11·1 answer
  • The fraction 460/7 is closest to which of the following whole numbers?
    11·1 answer
  • The data set monarch from Computer-Active Data Analysis by Lunn andMcNeil (1991) contains the years lived after inauguration,ele
    9·1 answer
  • What is a transducer? A. an energy-converting device B. a sensing device C. a robot movement D. a signal display unit
    8·1 answer
  • I'm lonely every 14 and up come talk
    5·2 answers
  • You have learned a lot about the types of careers that are involved with building a playground. Create two job descriptions of p
    7·2 answers
  • What (if any) are the same feature requirements that might be found in server software/OS environments
    10·1 answer
  • joe is in the planning stages to make sure that an upcoming company promotion during a major sporting event will not overwhelm h
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!