Abstract. The classroom is the main ways for students to obtain knowledge, there are a lot of curriculum knowledge points and complicated, so it is difficult for students that are required to master all the knowledge. In order to improve the learning effect, the knowledge points should be distinguished to the primary and secondary of the knowledge points effectively, and then the important points of knowledge learning are strengthened to improve the quality of teaching. In this paper, the course of computer foundation as an example, the examination results of students are analyzed by principal component analysis method to know the main influencing factors of the courses, which lays a solid foundation to better carry out the teaching of this course.