Question

Two’s complement representation seems very unintuitive for us as human being. Why do machines use them...

Two’s complement representation seems very unintuitive for us as human being. Why do machines use them then? Given what you said, what is/are the disadvantages of two’s complement scheme, beside being unintuitive to us?

Homework Answers

Answer #1

2's Complement is used in computing the signed numbers in binary. It is complement with respect to 2^n. It is used for signed number representation in computer.

So, machines uses the two's complement to represent a signed bit. Machines are using the binary number pattern for the data. In binary numbers there is only 0's and 1's. So, we can't use minus sign for any number. So, for understand a signed bit machines uses two's complement. For example binary number 010 is for integer 2, then its two's complement 110 is for −2.

So, machines are using 2's complement to states the difference between signed numbers. It also helps them in subtraction of numbers.

For disadvantage we know that it is too complex for us. but there are other disadvantages also as given below.

if you try to negate the lowest representable value, you get an overflow in two's complement For example, in 64 bit two's complement, the lowest value is -2^63, while the highest value is 2^63-1. The highest value can be negated but for negating the lowest possible value it generates an overflow.

also other disadvantage is With two complement method you can't compare the size of two Integers with logic operators at lowest level of hardware.

So, this is why machines are using two's complement and disadvantages of two's complement.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
2-Most of us can easily relate education as being a dimension of human capital. Why do...
2-Most of us can easily relate education as being a dimension of human capital. Why do we consider health to be an important dimension as well? Are the two (education and health) endogenous? Why or why not?
What are tear streams? how do they work and why would you use them?
What are tear streams? how do they work and why would you use them?
At what point between conception and birth do you consider an organism a human being? Include...
At what point between conception and birth do you consider an organism a human being? Include support for your stance. Discuss whether or not evidentiary support from others could persuade you to change your position on this issue? Why or Why not? Explain how you may discuss this in a clinical setting with a patient who has opposing views. Address how professional language can impact your role as a Nurse when discussing controversial topics.
Why our screen make us less happy? What techniques do you use/apply in order to limit...
Why our screen make us less happy? What techniques do you use/apply in order to limit 'screen time' in your life? Explain.
In spite of the United States having a long-standing history as being a very youth oriented...
In spite of the United States having a long-standing history as being a very youth oriented culture, the reality is that as a nation we are aging. Most of us can expect to live longer than our grandparents, and also healthier. So, let's talk about what you think "getting old. Tell us how you would like to spend the last part of your life- what age do you see yourself reaching? Why? What will you need to do before you...
What are import quotas? Why do some governments use them instead of just using tariffs to...
What are import quotas? Why do some governments use them instead of just using tariffs to restrict imports by the same amounts? Is it because quotas bring a bigger national gain than tariffs?
1. What are economic evaluations? What information do they provide to us? Why does society use...
1. What are economic evaluations? What information do they provide to us? Why does society use economic evaluations when it comes to health care? 2. Describe the three types of economic evaluations that are performed and types of health outcomes that are used for the analyses. What are the drawbacks in these types of evaluations? 3. How are economic evaluations utilized in healthcare? 4. What are the areas of concern in the pharmaceutical industry and why? How are these concerns...
How heat engine work? Where do you use this engine? Why is this engine important? If...
How heat engine work? Where do you use this engine? Why is this engine important? If this engine was not discovered, what would be the scenario in the world now in terms of human life? Write in detail.
Explain why we use the concept of Hardy-Weinberg Equilibrium if populations are never stable. What do...
Explain why we use the concept of Hardy-Weinberg Equilibrium if populations are never stable. What do the mathematical results tell us if the allele frequencies do not match our predictions? (In other words, if you have extra spotted fish in a generation, what has happened?)
Please do some research at Gapminder Dollar Street (Links to an external site.) and learn about...
Please do some research at Gapminder Dollar Street (Links to an external site.) and learn about how families in other countries live. Then choose a family and look up what the Gini Coefficient (in this case use the Gini Index which is the same thing) for the country from the World Bank data (Links to an external site.) that they live in. After conducting this research, please share your findings by answering the questions below. Which family did you choose...