Qualcomm Interview Question

Explain ACID,CAP theorem.