Boolean logic comprises a set of operations which manipulate logical, or boolean variables. A boolean variable can have either of two values known as true or false.
The output from an AND gate is 1 if all inputs are 1, otherwise it is 0.
Boolean expression: C = A.B
The Output from an OR gate is 1 if any of the inputs are 1, otherwise it is 0.
Boolean expression: C = A + B
The NOT operation reverses the value of it's input.
Boolean expression: A = Ā
The NAND operation is the same as an AND operation followed by a NOT operation. The output is 0 if all the inputs are 1, otherwise it is 1.
The NOR operation is the same as an OR operation followed by a NOT operation. The Output is 0 if any of the inputs are 1, otherwise it is 1.
Boolean algebra, like any other algebra, consists of a set of elements, operators which act on the elements, and a number of rules which define the properties of both elements and operations.
A, B, and C are names of arbitrary elements of the set. In logic design, our interest is a Boolean algebra in which the set of elements contains only the identity elements namely {0,1}.
Rules of Boolean Logic
Two theorems in particular are very important: (A.B)' = A' + B' and (A + B)' — the so called de Morgan's laws named after their originator. These tell us how the inverse of arbitrary logic expressions can be rewritten in terms of the inverted variables in the expression.
According to the table above, associative law describes the properties of '.' and '+' which are very similar to the properties of the arithmetic operators in everyday algebra of real numbers.
Boolean Logic is a very important concept in computer manufacturing! These logics can also be used to build memory for storage of data. It can be used to build half adders and full adders. Thanks so much for reading my content, I appreciate you alot! Please don't forget to drop your comments in the comment sections below! Bye for now 👋 and I will see you in my next post!