Advanced Language Programming courses are generally offered in computer related majors of higher vocational colleges.In these courses, some key knowledge, such as variables, functions, three program structures and the characteristics of object-oriented programming, is difficult for some students who have not been exposed to programming. As a graphical programming tool, Scratch can make students better understand the knowledge of programming due to its simplicity and ease of use. Combined with the application of scratch programming in programming course, this paper deeply explains how to realize the concept of related programs through some programming cases. Practice has proved that after mastering scratch programming, students' difficulty in learning Advanced Programming Language has been significantly reduced, their grades have been significantly improved, and the teaching effect has been better.