When a student doesn’t have to think very hard about how to respond to a question like “How are you doing”, and they reply with “Good, thank you”, they have been trained to respond. This is an example of the Behaviorist method. Students are taught through drills, and positive reinforcement is given by the teacher to reward correct responses.
Western Governors University outlines the key aspects of behaviorist techniques in the classroom here: https://www.wgu.edu/blog/what-behavioral-learning-theory2005.html#close
Classic conditioning and operant conditioning are two main aspects of behaviorism. Classic conditioning calls for phrases to be practiced many times repeatedly until response becomes automatic and doesn’t require much thought. Operant conditioning uses a punishment and reward system. Students are punished for not doing homework, and rewarded when they get the responses or assignments correct.