In the sentence "Mrs. Carter baked a cake yesterday", the direct object is "a cake".A direct object is a noun or pronoun that receives the action of the verb in a sentence. In this sentence, the verb is "baked" and the noun "cake" is receiving the action.