There are code mandates from the 2008 National Electrical Code for where you must install receptacles, lights and switches in all of the rooms in a house. Some of these requirements are listed below.
1. Receptacles can be placed no farther apart than 12 feet on any unbroken length of wall.
2. Receptacles must be installed within 6 feet of any opening in a wall. (Such as doorways, builtins, fireplaces etc.)
3. All receptacles installed inside or outside a house must be of the “tamper resistant” type. Receptacles installed outdoors shall also be of the “weather-resistant type”.
4. Every room must have at least one light that is controlled by a switch located by the door that is usually used to enter the room.
5. Kitchen counter tops must have receptacles within two feet of the end of the counter and within two feet of the sink or range and not more than four feet apart. All kitchen counter receptacles must be fed by a minimum 20 amp branch circuit, and there can be no less than two total circuits that feed these outlets.
6. All receptacles installed in bathrooms, kitchen counters, outdoors, garages, and in unfinished basements must be protected by ground fault circuit interrupters that are “tamper resistant”
7. Garbage disposals, dishwashers, trash compactors, range hoods under certain conditions, space saver microwaves, etc. can all be cord and plug connected, as long as it is done in compliance with the code. All of these items are required to be on their own circuits.
8. Bathroom plugs must be fed from a 20 ampere rated circuit that only feeds bathroom outlets. The bathroom sink must have a receptacle installed within three feet of the edge of the sink.
9. All 120-volt, single phase, 15- and 20-ampere branch circuits supplying lighting, receptacle, and smoke alarm outlets installed in dwelling unit family rooms, dining rooms, living rooms, parlors, libraries, dens, bedrooms, sunrooms, recreation rooms, closets, hallways, or similar rooms or areas shall be protected by a listed arc-fault circuit interrupter, combination-type, installed to provide protection of the branch circuit.
10. Here are some common romex sizes and the maximum size circuit breaker allowed:
14-2 romex protected by 15 ampere circuit breaker
12-2 romex protected by 20 ampere circuit breaker
10-2 romex protected by 30 ampere circuit breaker
11. Every story, bedroom, hallway leading to a bedroom, and ceiling heights that change more than 2 feet in elevation shall have a 120 volt, battery backup smoke detector installed and interconnected with one another so when one sounds an alarm they all sound the alarm.