an electronic circuit diagram with four different types of switches