Final answer:
The dog being banished to his doghouse after soiling the carpet is an example of operant conditioning, as it involves learning the consequences of voluntary behavior.
Step-by-step explanation:
A dog banished to his doghouse after soiling the living room carpet is an example of operant conditioning. In operant conditioning, animals learn to associate a voluntary behavior with its consequences. The dog's behavior (soiling the carpet) led to a consequence (being banished), and the dog may learn to avoid this behavior in the future to prevent the negative outcome. This is different from classical conditioning, where an animal learns to associate a non-voluntary behavior with a stimulus, and from cognitive learning, where an animal learns a behavior in response to a positive or negative stimulus.