Design a digital circuit that performs the four logic operationsof exclusive OR, exclusive-NOR, NOR, and NAND. Use two selectionvariables. Show the logic diagram of one typical stage.