In case you have forgotten them, here are the truth tables for the various gates.
If you still have problems with them, go back to Electronics for Beginners and revise them.
<<<< Back to Combination Logic Tutorial