When Jose did poorly on his history exam, the teacher thought the student
failed the test because he was lazy and didn't study. This is an example of: