Did he come home late?
Yes, he did.
He didn't come home late.
Did the boy leave his book on the table?
Yes, he did.
He didn't left his book on the table.
Did the students translate text well?
Yes, they did.
The students didn't translate the text well.