In learning, one of the fundamental motivating factors is self-efficacy. Therefore, it is crucial to understand the level of students’ self-efficacy in learning programming. This article presents a quantitative study on undergraduate students’ perceived programming self-efficacy. 110 undergraduate computing students took part in this survey to assess programming self-efficacy. Before being given to the respondents, the survey instrument, which included a 28-item self-efficacy assessment and 30 multiple-choice programming questions, was pilot-tested. The survey instrument had a reliability of 0.755. The study results show that the students’ self-efficacy was low when they solved complex programming tasks independently. However, they felt confident when there was an assistant to guide them through the tasks. From this study, it could be concluded that self-efficacy is an essential achievement component in programming courses and can avoid education dropouts.