Answer with Step-by-step explanation:
We are given two input A and B
A AND B=
If A=0 and B=0 then
If A=0 and B=1 then
If A =1 and B=0 then
If A=1 and B=1 then
A OR B=A+B
If A=0 and B=0 then A+B=0+0=0
If A=0 and B=1 then A+B=0+1=1
If A =1 and B=0 then A+B=1+0=1
If A=1 and B=1 then A+B=1+1=1
If A=0 and B=1 or A=1 and B=0 then A AND B=0 but A OR B=1
This is the main difference A AND B and A OR B.