Yes, there are some university CS courses on topics like discrete mathematics, theory of computation, and ethics that don't involve any programming.
Gotta know your math syntax in those classes