If I choose consistency and availability, this means that I can't have partition tolerance. What does this mean? Does this mean that the whole system has to be shut down? If so, I won't have availability either? Is this a contradiction?
I know that when there is no partition, you can have all three.
CAP theorem merely states that when a strongly consistent system is partitioned, it would have an availability drop. It does not mean you can choose any one of three combinations {CP, AP, CA}.
Partitioning ("P") is beyond your control, it would happen, when it does, the system has effectively chosen P for you. The only two options remain, CP or AP. That means, either shutdown or serve eventually consistent data.