Answer
The output of OR gate is 11011, and output of AND gate is 11001.
Work Step by Step
of the inputs is 1. If both the inputs are 0, it outputs 0.
In the given question, the binary sequences 10011 and 11001 are being fed to the OR gate as inputs. Write both the inputs one over the other:
10011
11001
Now, find the output of OR gate for the above two inputs column by column, starting from rightmost column:
1 and 1 will give 1.
1 and 0 will give 1.
0 and 0 will give 0.
0 and 1 will give 1.
1 and 1 will give 1.
Hence, the output of OR gate will be 11011.
Now, the output of OR gate, 11011, and the binary sequence 11001 are being fed to the AND gate as inputs. Write both the inputs one over the other:
11011
11001
The AND gate takes two inputs and produces one output. It outputs 1 only when both the inputs are 1, otherwise, it outputs 0.
Now, find the output of AND gate for the above two inputs column by column, starting from rightmost column:
1 and 1 will give 1.
1 and 0 will give 0.
0 and 0 will give 0.
1 and 1 will give 1.
1 and 1 will give 1.
Hence, the output of ANDgate will be 11001. And, the final outputs of all the gates in the given figure can be shown as: