Arithmetic Operations :: Discussion


4.Binary subtraction of 100101 – 011110 is?
A.000111
B.111000
C.010101
D.101010
Answer:  Option  A
Explanation:

The rules for Binary Subtraction are :
0 – 0 = 0
0 – 1 = 1 ( Borrow 1)
1 – 0 = 1
1 – 1 = 0

 

  1 0 0 1 0 1
- 0 1 1 1 1 0
  ___________
  0 0 0 1 1 1
  ___________

Therefore, The subtraction of 100101 – 011110 = 000111.

Tutorial Link:
Published by:

Comments are not available


Quick Links

GAT Subject



   Computer Science    English    Agriculture    Botany    

Engineering



   Computer Science    Civil Engineering    

Technical



   Networking    Electronics    Database    

Past Papers



   Model Papers    FPSC    PPSC    NTS