Monday, September 29, 2014

Explanation of Logic Gates

Logic Gates:-

A logic gate , it sounds horribly complex topic. But its simple an electric circuit with two inputs and one output. Now it receives two incoming electric currents, compares them and send them to new outgoing electric current.

Example:- Logic gate is just like a doorman outside a night club. Who allows people to inside the night club. He only allows people if they are passed to their conditions. Same happens in logic gates. I will show you how.

AND Gate:-

Suppose that you are going to a night club with your friend. There's a doorman who would allow you to walk inside only if you pass certain tests like, Their conditions are both of you should be wearing a tie, if anyone of you would not have tie. He wont allow you guys to enter the club. Same case is with AND Gate , it works with two electrical inputs, and if both are switched on . Output would be 1. 

OR Gate:-

Similarly, You go with your friend to another night club. Here doorman is giving u a new rule.. He says if anyone among u is a member , then you will be allows to enter. other wise not. Same case is with OR Gate, If two electrical puts are there, and if either of input is switched on the output would be 1.

NOT Gate:-

If you failed to enter the club in all ways. now there is only one hope that your friend is having a party, but outside the door there is very argumentative person who argues with every. he let that person to enter who is rude instead of being polite. in simple words he is doing opposite to what u expect. Same case is with NOR Gate. In this case, If input is zero then output would be 1 and vice versa. 

No comments:

Post a Comment