A study of students’ attempts to solve chemical problems