Figure 1 is AND gate logic circuit. Its logic expression is P=A, Figure B has 2 photodiodes in series. When input logic level A=1, B=1, output P=1. In a similar way, itcan form Or gate, NAND gate, NOR gate and some other logic circuits. As shown in figure 2,....