[Home]  [Edit this page]  [Recent Changes]  [Special Pages]  [Help
Boolean Algebra
Boolean Algebra

Boolean Algebra, invented by mathematician George Boole (1815-1864), is a way of expressing logic in mathematical terms. In a Boolean algebra, there are several common operations, which we can express as common logical statements:

  • NOT: Inverts a number
  • AND: Returns the greatest lower bound
  • OR: Returns the least upper bound
  • XOR: Returns the difference (which bits are different)
In a Boolean algebra, there are two possible inputs, 1 and 0, and as a result:

  • NOT: Returns 1 if input is 0 and 0 if input is 1.
  • AND: Returns 1 only if both inputs are 1.
  • OR: Returns 1 if at least one input is 1.
  • XOR: Returns 1 if the inputs are different (1,0) and 0 if they are the same (0,0 or 1,1).
These simple devices (AND, OR, XOR, NOT) are known as logic gates, and a typical microprocessor has an innumerable number. Computers, at the electronic circuitry level, are composed of these gates, and do all their work in binary arithmetic.

http://www.digitalcentury.com/encyclo/update/boole.html

last edited (December 27, 2002) by KDivad Leahcim, Number of views: 1949, Current Rev: 2 (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.