The correct item to fill this up is:
Kitana understands the pragmatics of language.
Pragmatics refers to everything that we say, how we say it, our body language and whether it is suitable to the given situation. So in the 1st case as she was talking to the teacher, she was using the formal language since that is what’s appropriate in the situation.