10101 subtracted by 1010 in binary
Answers
Answer:
Number 1 in the decimal system
101012 = 2110
Number 2 in the decimal system
10102 = 1010
Their difference is
21 - 10 = 11
Result in binary form
1110 = 10112
Answer:
Step-by-step explanation:
If a digit in the larger number is smaller than the digit in the smaller number, then the particular digit in the larger number will get one value from the next digit/place. (Basic Subtraction Rule)
2 9 0
- 8 7
In this case 0 is smaller than 7. So, we will get one value from next digit 9
Actually it is in tens place. So one value from 9 would mean 10 such. (So 1 x 10 = 10)
So we have to add 10 to 0. (10 + 0 = 10) (As in the decimal number system base value is 10 we added 10) and subtract 1 from 9 (9 - 1 = 8)
So, it would seem as
8 10
2 9 0
- 8 7
So, we can subtract simply starting from ones place as usual
10 - 7 = 3
8 - 8 = 0
2 - 0 = 2
So the value is 203
Same as the way we have to apply the logic to binary number system.
1 0 1 0 1
- 1 0 1 0
In this case 0 is smaller than 1. So, we will get one value from next digit 1
Actually it is in the next place. As 2 is the base value of binary number system, one value from 1 would mean 2 such. (So 1 x 2 = 2)
So we have to add 2 to 0. (2 + 0 = 10) and subtract 1 from 1 (1 - 1 = 0)
If we do the same to all the digits, then the values would be assumed as,
0 2 0 2
1 0 1 0 1
- 1 0 1 0
0 1 0 1 1
Hope that it was understandable. If my answer was helpful please mark me as brainliest:)