Did you eat my cookies while I was soundly sleeping? Can somebody help me with an interogative sentence with the same parts of speech as in the above sentence?

Will you check my homework after I have carefully proofread it?

To form an interrogative sentence with the same parts of speech as the given sentence, you can ask:

"Did somebody eat your cookies while you were soundly sleeping?"

This sentence retains the structure and parts of speech from the original sentence while transforming it into a question.