The epidemic has subsided, and the focus of education has returned to offline teaching. Combining the respective advantages of online and offline teaching, it is always an important task of education to introduce innovative teaching methods and solve the problems in teaching. [6] In current teaching, there are problems such as students' low enthusiasm, low participation and lack of self-confidence. In this paper, we integrate peer assisted learning into the teaching of computer science to explore whether this method can help solve the above problems.