computing: logic gates
WHAT LOGIC GATES ARE:
logic gates in computer science, are building blocks used in circuits to act as a level of abstraction to hide the unnecessary complexities of individually presenting transistors. they are used to perform logical functions to create some result.
SOME LOGIC GATES AND HOW THEY WORK:
the and gate - the and logic gate takes two inputs and returns true only if the inputs are both equal.
the or gate - the or logic gate also takes two inputs. however, it returns true both if: the inputs are true, and also if any input is true; it returns false when the inputs are both false.
the not gate - it returns the opposite of the input.
in the following posts, we will elaborate even further upon logic gates.
by zasbir.