26.5.06

Some Boolean Logical Operations

Boolean logic is based on digital circuitry that accepts one or two incoming voltages. Based on the input voltages, output voltage is generated. For computers the voltage difference is represented as an ON or OFF state. These two states are associated with a binary 1 or 0.

AND Operation

The AND operation compares two input values. If both values are 1, the logic gate generates a 1 as the output. Otherwise it outputs a 0. There are four combinations of input values. Three of these combinations generate a 0, and one combination generates a 1. The AND operation represents an electric circuit with two switches arranged in series . If a lamp is added to the circuit, it will only light when BOTH switches are ON.














OR Operation


The OR operation also takes two input values. If at least one of the input values is 1, the output value is 1. Again there are four combinations of input values. Three combinations generate a 1 and the fourth generates a 0. The OR operation represents an electric circuit with two switches arranged in parallel. If a lamp is added to the circuit , it will light if one switch is ON.








NOT Operation

The NOT operation takes the value that is presented and inverts it.A 1 becomes a 0 and a 0 becomes a 1.



The two networking operations that use Boolean logic are subnetwork and wildcard masking. These will be discussed thoroughly in later posts. The next post will discuss briefly the Subnet Mask.


Cisco Website

Cisco Academy Program