Skip to main content

Logic diagrams: the AND operator

Imagine that we have a number of websites which give information about children's clothes. Some of these have information only on girls' clothes, some have information only on boys' clothes and some have information on both boys' and girls' clothes. In the diagrams the left hand circle represents all records including the word girls and the right hand circle represents all the records including the word boys

AND

Boolean AND Illustration

girls AND boys

The shaded area represents the records which have information on both girls' clothing and boys' clothing.

Let's have a look at Logic diagram for the OR operator ...