
Nicholas S. answered 07/03/19
B.S. Computer Engineering currently studying to have M.S. in Robotics
Logic gates take in an input and produce an output depending on what logic gate you are talking about.
Four main ones are AND, OR, NOT, and NAND, But there are also others.
For example an AND gates out will look like this:
input1 input 2 output
0 0 0
0 1 0
1 0 0
1 1 1