Cognitive versus Situational Analysis of Problem-Solving Behaviors.