In order to improve students' information accomplishment and computer application skill, Task-driven teaching method is applied in the computer course. By designing tasks which are close to students' life, Task-driven teaching method help students to analyze the task, instruct them to finish the task, and evaluate the task and students' work in time. The result shows that it works well and can arouse the learning interest of students and train students' ability of practice, the spirit of innovation and teamwork. It must be noticed that the difficulty of the task must be appropriate, and the design of the task should be hierarchical, the method must not be misused, enough attention must be paid to the negative effects.