Answer
a. 0
b. 1
c. 1
Work Step by Step
There are 4 types of logic gates used in the three parts (a, b, c) of the question:
1. XOR (Similar inputs results in ‘0’ else results ‘1’.)
2. NOT (Inverts the input.)
3. OR (If both inputs are false than the output would be ‘0’
else the output will be ‘1’.)
4. AND (If both inputs are true than the output would be ‘1’
else the output will be ‘0’.)
a. WHEN THE UPPER INPUT IS ‘0’ & LOWER INPUT IS ‘1’
InpUPPER = 0 --> XOR -->
InpLOWER = 1 --> NOT -- 0 --> XOR
When both inputs pass through XOR gate the output will be: 0
ANSWER (a): 0
b. WHEN THE UPPER INPUT IS ‘0’ & LOWER INPUT IS ‘1’
InpUPPER = 0 --> OR --> 1 --> AND
InpLOWER = 1 -->^ --> 1 --> AND
When both inputs pass through AND gate the output will be: 1
ANSWER (b): 1
c. WHEN THE UPPER INPUT IS ‘0’ & LOWER INPUT IS ‘1’
InpUPPER = 0--> | --> 0 -->>>>>>>>> XOR
InpLOWER = 1--> ( 0 XOR 1 = 1) --> 1 --> XOR
When both inputs pass through XOR gate the output will be: 1
ANSWER (c): 1