Tori did well on her first exam in psychology. She congratulated herself for studying hard and being naturally gifted. When she failed her second exam, she became angry at the professor for creating an unfair test and for not explaining the concepts well. Tori's reactions are an example of