In this applet, A and B are subsets of a universal set S. The list above gives the 16 different subsets of S that can be constructed from A and B using the basic set operations of union, intersection, and complement. The selected subset is colored red in the Venn diagram on the right.
(From this source) - I had to modify it to elimate popups, cookies, and other evils....