Relationships between study activities and achievement as a function of grade level and course characteristics