Analysis of teaching quality via identification of the effects on students in terms of study and motivational strategies