Passage: Psychologist Albert Bandura has defined self-efficacy as one's belief in one's ability to succeed in specific situations or accomplish a task. One's sense of self-efficacy can play a major role in how one approaches goals, tasks, and challenges. The theory of self-efficacy lies at the center of Bandura's social cognitive theory, which emphasizes the role of observational learning and social experience in the development of personality.  The main concept in social cognitive theory is that an individual's actions and reactions, including social behaviors and cognitive processes, in almost every situation are influenced by the actions that individual has observed in others.  Because self-efficacy is developed from external experiences and self-perception and is influential in determining the outcome of many events, it is an important aspect of social cognitive theory.  Self-efficacy represents the personal perception of external social factors. According to Bandura's theory, people with high self-efficacy—that is, those who believe they can perform well—are more likely to view difficult tasks as something to be mastered rather than something to be avoided.

Question: How does Albert Bandura define self-efficacy?
one's belief in one's ability to succeed in specific situations or accomplish a task