What the person is applying on the scenario above is the classical conditioning. The classical conditioning focuses on acting or pairing up two stimulus which are named as the conditioned and unconditioned stimulus. Those stimulus are being presented above in which the first and second statement describes. They are being done in order to analyze consequences that could be done with the different stimulus applied.