Question: 2's complement of +5, I am getting a way different number than my book says is the correct answer. What I am doing is starting

2's complement of +5, I am getting a way different number than my book says is the correct answer.

What I am doing is starting with 00101 (I was told to do it with 5 binary digits), and then do the ones complement to get 11010, and then adding one to get 11011. My book says the correct answer is 00101, which is just simply what 5 is binary, it doesn't look like it went through any kind of conversion. What am i not understanding?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!