I don't know exactly but it's more about theoretical mathematical principles.
If you like computer hardware but at the architecture and logic level (and not real electronics), you could consider computer engineering.
Where I study it's mostly software engineering and it has stuff such as databases too, but it's also about things like CPU architectures and low level digital stuff that you design with logic gates and program on FPGAs, plus a certain amount of real computer science (which is not just programming).
From what I read on the internet, computer science guys study computer science, and then go work as programmers in most cases regardless of that. With this perspective, software/computer engineering sounds better than computer science does.
Either way, you'll end up doing lots of programming, so you better like it.