Remember the old TRUE or FALSE tests in school? You could actually call them Boolean tests, since a Boolean (pronounced “bool-e-an”), bool, or Boolean expression is a value of either TRUE or FALSE. Boolean was developed by the English mathematician and computer pioneer George Boole,
Booleans are typically stored within a bit, which is the smallest amount of storage in a computer when it comes to orders of magnitude. It holds a single binary digit. Binary, being a base-2 number system, means it can only hold the value 0 or 1. In the case a Boolean, 0 usually means false while 1 is usually used for true.
Which leads us to the classic programming joke, “The best thing about a Boolean is even if you are wrong, you are only off by a bit.”
All computers speak binary: 1’s and 0’s. A simple and elegant 2 number system, binary is the basis of all binary code, and that code is the foundation of all programming languages.
Because Binary can quickly detect an electrical signal’s on or off state, it makes it an efficient way to control logic circuits in magnetic media (the positive and negative poles are quickly and easily transferred into binary).