The relationship between achievement motivation, anxiety, and situational characteristics on performance on a cognitive task