The learners' self efficacy and motivational goal orientation have been proved to be a predictor of students' behavior. This survey study explored the relationship among students' motivational goal orientation and self-efficacy beliefs. Data was collected from 193 computer science undergraduate students in Thailand. The results of Pearson Correlation analysis showed that there was a negative relationship between students' adoption of mastery approach orientation and students' beliefs that self-efficacy is born and unchanging, on the other hands students who adopted performance avoidance and performance approach orientation have a positive relationship. The results also showed that students who adopted mastery approach believed that self-efficacy is collaborative and can be developed. This study seems to be helpful to teachers who have an important role in shaping students' self-efficacy in computer science.