CIBC Mellon Interview Question

What is the diff. Between cash method and accural method