If A & B are Boolean variables and if A=1 & A+B=0, Find B?
Answers
Answered by
2
Answer:
answer is B=1
Explanation:
A=1
A+B=0
1+B=0
B=0-1
B=-1 Ans
Answered by
2
If A and B are Boolean variables and if A=1 & A+B=0, then no such value of B exists.
- If A=1 and A+B=0
- According to the property of Boolean addition,
1 + B = 1
- For any value of B the value of the Boolean expression is always equal to 1.
- Therefore, if A+B = 0, then A and B both must be equal to 0.
- The truth table of Boolean addition is :
A B A+B
0 0 0
0 1 1
1 0 1
1 1 1
- The value of A+B=0 is only true if and only if both the variables in the boolean expression are 0.
Similar questions