The professor switches from English to Mandarin when explaining an academic term. This is an example of code-switching.