Boolean Algebra and Logic Gates 
Drag a logic gate from a canvas and drop onto same coloured rectangle.
Ensure each snaps into place. Do not mix up the logic gates. 
The Boolean equation for a logic circuit with inputs A and B and output Q is
Complete the diagram below to show how this circuit can be constructed from:


Select gate for Rectangle A from here  
IE6: Best viewed in Full Screen mode Click to close IE7: Only works at 100% Best viewed by pressing F11 (then F11 to close) 
Rectangle Q


Select gate for rectangle B from here  