Abstract:In this paper,we expound that how use the theory and principle of cognitive psychology in the teaching of computer science,and dispose the relationship of coherence between base theory and technique practice,so that all ring joint of teaching connect tog