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
Arisa [49]
3 years ago
15

Subtract (100000)2 from (111)2 using 1s and 2s complement method of subtraction​

Computers and Technology
1 answer:
GenaCL600 [577]3 years ago
6 0

Answer:

-11001

Explanation:

The following steps are performed in order to perform subtraction of the given binary numbers:

Step 1:

Find 2’s complement of the subtrahend. The subtrahend here is 100000

100000

First take 1's complement of 100000

1's complement is taken by inverting 100000

1's complement of 100000 = 011111

Now takes 2's complement by adding 1 to the result of 1's complement:

011111 + 1 = 100000

2's complement of 100000 = 100000

Step 2:

Add the 2's complement of the subtrahend to the minuend.

The number of bits in the minuend is less than that of subtrahend. Make the number of bits in the minuend equal to that of subtrahend by placing 0s in before minuend. So the minuend 111 becomes:

000111

Now add the 2's complement of 100000 to 000111

   0 0 0 1  1  1

<u>+   1 0 0 0 0 0 </u>

    1 0 0 1  1  1

The result of the addition is :

 1 0 0 1  1  1

Step 3:

Since there is no carry over the next step is to take 2's complement of the sum and place negative sign with the result as the result is negative.

sum =   1 0 0 1  1  1

2's complement of sum:

First take 1's complement of 1 0 0 1  1  1

1's complement is taken by inverting 1 0 0 1  1  1

1's complement of 1 0 0 1  1  1 = 0 1 1 0 0 0

Now takes 2's complement by adding 1 to the result of 1's complement:

0 1 1 0 0 0 + 1 = 0 1 1 0 0 1

Now place the minus sign with the result of 2's complement:

- 0 1 1 0 0 1

Hence the subtraction of two binary numbers (100000)₂ and (111)₂  is

(-011001)₂

This can also be written as:

(-11001)₂

You might be interested in
Observation and screening data should not influence curriculum development true or false?
Anton [14]

Answer:true

Explanation: we cant rely on computers

8 0
2 years ago
What is computer???<br>A. Electornic device<br>B. Storage<br>C. Accuarcy.<br>D. Communciation​
Gemiola [76]

Answer:

A

Explanation:

It's explanable the other ones dont make sense

8 0
3 years ago
You want to verify whether a PTR record exists for the Serv2.csmpub.local host, but you don't know the IP address. Which of the
Zielflug [23.3K]

Answer:

b. nslookup Serv2.csmpub.local and then nslookup IPAddress returned from the first nslookup.

Explanation:

That's the best command to use when one wants to verify whether PTR record exists for a Serv2.csmpub.local host

7 0
3 years ago
A __________ constant is a name that references a value that cannot be changed while the program runs.
asambeis [7]

Answer:

Explanation:

A constant is a name that references a value that cannot be changed while the program runs

Example in Javascript:

const x = 5;

cannot be reassign x

wronged: x = 10; (will throw an error try to assign value to constant variable)

7 0
2 years ago
Which photographer invented the Zone System?
tia_tia [17]
<span>Ansel Adams & Fred Archer</span>
6 0
4 years ago
Read 2 more answers
Other questions:
  • What are the three main purposes of an operating system? Explain how the old mainframe computers were different from the compute
    12·1 answer
  • Lewis is using a stylus with his touch screen computer in order to draw a
    8·1 answer
  • What are the names of the two main characters in pirates of silicon valley
    5·1 answer
  • The IT infrastructure components should be evaluated based on their expected financial value. All of the following are used to q
    15·1 answer
  • the part of the computer that provides access to the internet is the A.modem B. keyboard C. monitor or D.system unit
    7·2 answers
  • as the new hr manager hired by a company to clean up some of the company's problems,analyse the system requirements for the comp
    14·1 answer
  • Why might you want to save a downloaded file to your computer first instead of running it immediately?
    6·1 answer
  • What is peopleware?<br>need help​
    14·1 answer
  • What is output? public class MathRecursive { public static void myMathFunction(int a, int r, int counter) { int val; val = a*r;
    9·1 answer
  • to protect a windows 10 system, you've configured system restore to automatically protect your system using restore points. will
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!