Study habits and attitudes of high school students and its relation to some variables