TechTerms.com - Computer and Technology Terms Defined and Explained
Browse Alphabetically
#   A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z


Boolean printable version
This is the logic that computers use to determine if a statement is true or false. There are 4 main boolean operators: AND, NOT, OR, and XOR. Below are some examples of how the 4 operators work:

    x AND y retuns True if both x and y are true, otherwise the expression returns False.



    NOT x returns True if x is false (or null) and False if x is true.



    x OR y returns True if either x or y or both are true; only if they are both false will it return False.



    x XOR y returns True if either x or y are true, but not both. If x and y are both true or false, the statement will return False.



While boolean expressions are what drive the CPUs in computers, they can also be used by computer users. For example, when searching for information on the Web, many search engines accept boolean operators in the search phrases (i.e. "Yamaha AND piano NOT motorcycle"). Programmers often use boolean expressions in software development to control loops and variables as well.

Tech Factor Tech Factor of 6
Tech Help
Scan your Windows PC for errors.
Scan your PC for outdated drivers.
Category
Technical Terms

About the Tech Terms Dictionary | Terms of Use | Help | Contact

Copyright © 2005-2010 TechTerms.com. All Rights Reserved.