Under which accounting method are revenues and expenses recognized in the same accounting period that cash receipts and payments occur?
a. under the accrual basis of accounting
b. under the direct write-off method of accounting
c. under the percentage of sales method of accounting
d. under the cash basis of accounting