In going to the library and finding a quiet room to study, Sam was increasing his mindfulness.
This is the state of being aware of what is going on around you as well as what you are currently engaged in.
Sam was engaged in studying and wanted to be more aware of what he was studying and so went to the library where he wouldn't be distracted. This increased his awareness of his studies and his mindfulness.
Find out more on mindfulness at https://brainly.com/question/585640.