This wiring illustrates the switched-receptacle circuit with the switch coming first. The hot source is wired to the bottom terminal on the switch and the top terminal connects to the black running to the receptacle. The source neutral is spliced through to the receptacle neutral.
With this lamp, bulb A can be turned off and on independently and switch B can turn on bulb 1 alone, bulbs 2 and 3 together with bulb 1 off, bulbs 1, 2 and 3 all on at the same time or all three off.
This page contains wiring diagrams for a service panel breaker box and circuit breakers including: 15amp, 20amp, 30amp and 50amp, as well as a GFCI breaker and an isolated ground circuit.
This diagram illustrates wiring for a circuit breaker with a built-in ground fault circuit interrupter. This 20 amp ground fault interrupter breaker is a form of gfci that can be installed at the circuit source. This kind of circuit is used for dishwashers, whirlpool spas and other locations where water contact is likely.