摘要:In order to improve the teaching effect of the course of Principles of Computer Composition, this article has conducted a more in-depth discussion on the teaching of complements. Complementary code is a difficult point in computer science. In the process of teaching, students feel that there are various difficulties in truly understanding this concept. Through the explanation of various forms of complements, including integers, decimals, and deformed complements, this article strives to make this concept concrete and visualized, so as to provide some help to the teaching of this concept in the teaching process. The teaching effect shows that the methods discussed in the article are helpful to improve the teaching effect.