Logic gates are the electronic circuits used to implement the digital electronic circuits.Â The logic gate is the heart of combinational
logic designs. Three basic logic gates, are the OR gate, the AND gate and the NOT gate.Â From these three logic gates other gates are derived that are NAND gate, the NOR gate, the EXCLUSIVE OR
gate and the EXCLUSIVE-NOR gate. This session mainly focus onÂ logic gates,Â truth tables and Boolean expressions.
The digital logic variables have two states, i.e. the logic â€˜0â€™ state or the
logic â€˜1â€™ state. These logic states are represented by two different voltage/current levels. The more positive voltage/current levels represents logic â€˜1â€™ and the less positive levels represents a logic â€˜0â€™, then the logic system is referred to as a positive logic system.Â On the other hand, if the more positive voltage/current levels represents a logic â€˜0â€™ and the less positive levels represents a logic â€˜1â€™, then
that logic is known as negative logic.Â If the two voltage levels are 0 V and +5 V, then it is positive logic system in which 0 V represents a
logic â€˜0â€™ and the +5 V represents a logic â€˜1â€™. In the negative logic system, 0 V indicates a logic â€˜1â€™ and +5 V shows a logic â€˜0â€™.
A truth table gives the combinations of input variables and the corresponding outputs of a digital circuit. The output is found from the logic expression,Â known as Boolean expression which relates output with the inputs.
When the number of input binary variables is only one, then only two possible inputs, i.e. â€˜0â€™ and â€˜1â€™ are available.Â If the inputs are two, there are four possible input combinations, i.e. 00, 01, 10, and 11.Â Further, forÂ three input variables, the possible input combinations are eight, i.e. 000, 001, 010, 011, 100, 101, 110 and 111.Â Figure shows the truth tables of two variables and three variables.