The night before a biology exam, Andrew stayed up all night…

The night before a biology exam, Andrew stayed up all night playing video games instead of studying. When grades came back, he got a D on the exam. Andrew told himself that he should have studied instead of playing video games and decided to study more for the next exam. Andrew is exhibiting a(n):