zodemate.

computing: logic gates

WHAT LOGIC GATES ARE:

logic gates, in the context of digital electronics, are abstractions of certain formation of transistors which behave according to some rules dictated by boolean algebra. since it would be impractical for humans to consider the transistor when designing, logic gates provide a building block with an essential elevation in abstraction. in simple words, they remove the unnecessary over complication of considering individual transistors and act as building blocks themselves.

THE SEVEN LOGIC GATES

in computer science, there are seven logic gates and they are split up into three categories. there are the BASIC logic gates which consist of the AND, OR and NOT gates - these are called basic since they can form any other logic gate. moving on, we also have the UNIVERSAL gates, with them being the, NAND and NOR gate. these can also form any other logic gate, acting as wrapper functions for the basic gates. and finally

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.