Glossary - Boolean

Boolean is a subset of algebra that has two values, true or false. This logic system involves the usage of operators, which are mainly AND, OR, and NOT. These operators help to create condition statements in formulas or programming languages. An English mathematician, called George Boole developed this logic in the mid-nineteenth century. 

The importance of this data type is that it is used in all modern digital computers as they operate in binary. The logic of the computer system is expressed with bool values; 1 for true statements and 0 for false. In addition to programmers, game designers, and search engine users also can utilize this strategy. If a game has a Boolean logic, it is usually simple and easy-to-navigate. Plus, artists also use this system to system in their designs. 

Operators for Boolean Logic

As mentioned before, the fundamental blocks of the system are operators. Firstly, OR means that the statement is true if at least one of the conditions is met. For instance, Value A and Value B: Return True if both of them, or at least one of them is correct. It returns False- if both of them are false. The second operator is AND, which indicates that both conditions- Value A and Value B- should be correct to make the statement true. Next comes NOT operator to exclude nodes. If you want Value A, but not B, the condition will be true if Value B is null. There also exist other types of operators such as NOR, NAND or XOR. However, the general principle of being either true or false does not change. 

Boolean and Search Engines

Users can understand this logic better with the help of its application to search engines. For example, if you search for a horror movie with spiders, you can enter a query in ‘ horror AND spiders.’ In this way, Google will show you the results where these two words appear in the same place. However, all search engines have different forms of syntaxes to use for this logic.