A comparative study of learning patterns of secondary school, high school and college students