Here the input X is available to both the input of the XOR gates and one of the inputs of the XOR gates is interconnected.
If input B=0, then in our question, F=A
If input B=1, then in our question, F=A
If input B=A, then in our question, F=0
If input B=A, then in our question, F=1
- Now using the above conclusions, we can see data flow in the figure given in the question. In the first gate, both inputs are the same, so the result of the first gate is 0 . In the second gate, the first input is 0 therefore the second input is the result of the second gate. In the third and final gate, both the inputs will be the same and hence the output will be equal to 0 . The question is asking about the complement of the output, so the answer is 1.