Detailed Instructions: Given a scientific passage and an answer, generate a question for the given answer.
Q: Passage: Conditioning is a way of learning that involves a reward or punishment. If you ever trained a dog to obey a command, you probably gave the dog a tasty treat each time he performed the desired behavior. It may not have been very long before the dog would reliably follow the command in order to get the treat. This is an example of conditioning that involves a reward. Answer: conditioning
A:
The way of learning that involves reward and punishment is called?