Still have a problem? Ask for help at our discussion forum.


Advanced Search

 »  Home  »  Computer Encyclopedia Page 7  »  What is Boolean?
What is Boolean?
Published  07/8/2011 | Computer Encyclopedia Page 7 | Unrated
What is Boolean?

To determine if a statement is True or False, computers use Boolean opearators. There are four main Boolean operators: AND, NOT, OR, and XOR. These logical operators are used together in complex ways to determine if a particular condition is True or False.

x AND y returns the value True if the condition is true for both
x and y or else it returns False
NOT x returns the value True if x is false (or null) and False if x is true
x OR y returns the value True if either or both x and y are true.
It only returns false if both x and y are False for the given condition
x XOR y returns the value True only if either x or y are true. If both x and y are true then it will return the value False.

Using Boolean operators is not restricted to computer programming. End-users also use Boolean expressions when they need to filter results in a search engine window. For example, the Boolean expression “computers AND hardware NOT memory” when used in a search engine will return all pages containing the words “computers” and “hardware” while excluding all pages containing the word “memory”.

How would you rate the quality of this article?
1 2 3 4 5
Poor Excellent

Enter the security code shown below:

Add comment

Popular Articles
  1. List of IrfanView Shortcuts
  2. When replying to a message in Outlook, a copy goes into the Inbox
  3. Precautions to take while using internet in Cyber Cafes
  4. List of uTorrent Shortcuts
  5. BIOS Beep Codes for AMIBIOS (American Megatrends Inc.) and Award BIOS
No popular articles found.