Abstract
This paper proposed three types of method to support teaching and learning computer programming through e-Learning. From among these types, this paper developed a teacher-centered method to support the teaching of computer programming to a group of students and a system based on this method. The system extrapolates the causes of students' compilation errors and the parts of the syntax where the errors occur by analyzing the trends of past compilation errors and presents the extrapolated result to the teacher in real time. By using the system, a teacher can see in real time the sort of programming mistakes students are making when they are writing computer programs, and can appropriately teach computer programming to a group of students who have common problems.