Explain the following: Conditional Operator
Advertisements
Question
Explain the following:
Conditional Operator
Explain
Advertisements
Solution
- The Conditional Operator (IF–THEN) is a logical operator used in Boolean algebra to represent a condition or implication between two statements. It is represented by the symbol ‘→’.
- It produces an output of 0 (False) only when the first input is 1 (True) and the second input is 0 (False). In all other cases, the output is 1 (True).
Boolean Expression: A → B = A' + B
shaalaa.com
Is there an error in this question or solution?
