Banking and investment

Does bank pay simple interest or compound interest?

If compound interest then does it calculate on quarterly basis or yearly basis?