1. Find subtraction of `(111)_2` and `(101)_2`
Solution:
Solution is
Step by step solution :
Step by step solution :Step-1 : 1 - 1
Here 1 `=` 1, so directly subtract it
`=1-1`
`=0_2`
Step-2 : 1 - 0
Here 1 `>` 0, so directly subtract it
`=1-0`
`=1_2`
Step-3 : 1 - 1
Here 1 `=` 1, so directly subtract it
`=1-1`
`=0_2`
2. Find subtraction of `(1100)_2` and `(1001)_2`
Solution:
Solution is
Step by step solution :
Step by step solution :Step-1 : 0 - 1
Here 0 `<` 1, we take borrow from 0, which takes borrow from 1
So 1 becomes 0, 0 becomes 1 and 0 becomes 0+2=2
`=2-1`
`=1_2`
Step-2 : 1 - 0
Here 1 `>` 0, so directly subtract it
`=1-0`
`=1_2`
Step-3 : 0 - 0
Here 0 `=` 0, so directly subtract it
`=0-0`
`=0_2`
Step-4 : 1 - 1
Here 1 `=` 1, so directly subtract it
`=1-1`
`=0_2`
3. Find subtraction of `(11011)_2` and `(1101)_2`
Solution:
Solution is
Step by step solution :
Step by step solution :Step-1 : 1 - 1
Here 1 `=` 1, so directly subtract it
`=1-1`
`=0_2`
Step-2 : 1 - 0
Here 1 `>` 0, so directly subtract it
`=1-0`
`=1_2`
Step-3 : 0 - 1
Here 0 `<` 1, we take borrow from 1
So 1 becomes 0 and 0 becomes 0+2=2
`=2-1`
`=1_2`
Step-4 : 0 - 1
Here 0 `<` 1, we take borrow from 1
So 1 becomes 0 and 0 becomes 0+2=2
`=2-1`
`=1_2`
Step-5 : 0 - 0
Here 0 `=` 0, so directly subtract it
`=0-0`
`=0_2`
This material is intended as a summary. Use your textbook for detail explanation.
Any bug, improvement, feedback then