Answer: accrual basis accounting
Step-by-step explanation:
Following the information given in the question, Fred used the accrual basis accounting. The accrual basis accounting refers to the accounting method such that the expenses and the revenue are recorded when the transaction takes place rather than waiting for the time that payment is being made.
This helps follow the matching principle, that states that the revenues and the expenses incurred have to be recognized in thesame period.