You have done all the homework this week. How would you write the sentence as a tag question?
You have done all the homework this week haven't you?
Have you done all the homework this week?
You have done all the homework this week, haven't you?
Haven't you done all the homework this week?