Should this be who or whom and why?

_____ did the general salute as he walked by?

8 answers

Who did the saluting? That's the subject.

Who received the salute? That's the object.

who = subject
whom = object
It should be "whom." It's the direct object of the verb "did salute." "General is the subject of the verb.
What about there?

_____are you ordering around?
I think whom since it is an object?

To _____ will the server give the check?

I think who since it is a subject?
The first is right.

The second is wrong. What is the verb? What is the prepositional phrase?
Okay one more.

You gave _____ the map to the treasure?

I think object so whom?
Yes.
Now between this or that and why?

_____ is this school my brother attends.
The word that is used depends on the context. This implies something close in time and distance. That implies something farther away.