After converting the following sentence into passive voice, it becomes ''Was the dinner cooked by her?'' In the passive voice, the main verb 'did' turns into 'was' and 'cook' is used as its past participle form 'cooked'. The subject 'she' sits as object and the object 'the dinner' sits as subject.
Hope it helps you, Please mark my answer as the brainliest