[Home]  [Edit this page]  [Recent Changes]  [Special Pages]  [Help
logic gates

Logic Gates

Logic gates operate on boolean to help analyse them. They are the basis upon which a great deal of electronic equipment is based.

NOT Gate
Turns true to false, and vice versa.
NOT ture = false
NOT false = true


AND Gate
Only gives true if both values are true.
false AND false = false
true AND false = false
false AND true = false
true AND true = true


OR Gate
Gives true if either or both of the values are true.
false OR false = false
true OR false = true
false OR true = true
true OR true = true


XOR (eXclusive OR) Gate
Gives true if either, but not both of the values are true.
false XOR false = false
true XOR false = true
false XOR true = true
true XOR true = false


Apparently, you can make any other gate out of NAND (NOT AND) gates. But I'm not a hardware guy so they could be complete...uh...excretement.

last edited (July 10, 2003) by KDivad Leahcim, Number of views: 1530, Current Rev: 3 (Diff)

[Edit this page]  [Page history]  [What links here]  [Discuss this topic]  [Printer Friendly]  

Members

Username:

Password:


Register
Forgot Password?




Programmers Heaven - for .NET, Java, C/C++ and WEB Developers!
© 1996-2008 Community Networks Ltd. All rights reserved. Reproduction in whole or in part, in any form or medium without express written permission is prohibited. Violators of this policy may be subject to legal action. Please read Terms Of Use and Privacy Statement for more information. Development by Tore Nestenius at .NET Consultant - Synchron Data.