Associative learning.

  1. Classical conditioning occurs when a stimulus is associated with a consequence (reward or punishment).

  2. Operant conditioning occurs when a behavior is associated with a consequence.