Final answer:
David likely experienced cognitive dissonance, a psychological discomfort due to the inconsistency between his belief that speeding is dangerous and his behavior of speeding, which may lead to an attitude change.
Step-by-step explanation:
According to Festinger's theory of cognitive dissonance, David was likely to experience psychological discomfort due to his conflicting beliefs and behaviors. As David believed that speeding was dangerous but still drove above the speed limit, this inconsistency between his beliefs and actions would likely lead to psychological discomfort, which is known as cognitive dissonance. To resolve this dissonance, David would be motivated to either change his attitude about speeding or justify his behavior in some way. Therefore, the correct answer is a. cognitive dissonance; attitude change.