Answer:
This can be described as a commitment.
Explanation:
From a psychological point of view, we can say that when Janis swept the kitchen's floor, she committed herself to have a clean house so that she can invite her friends. She is directing her activities to reach a goal and is easier because after sweeping the kitchen she is mentally predisposed to reach her goal of keeping the house clean.