I said you need to know AND, OR, NOT...the others you can work out. "The others" being NAND, whose output is the opposite of the AND gate's output and similarly for NOR. XOR is the same as OR except for when both inputs are true.
That's why i said you really only have to know three, although...