Should this be who or whom and why?

_____ did the general salute as he walked by?

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.

The correct word choice in this sentence is "whom."

To determine whether to use "who" or "whom," you need to identify the grammatical role of the word in the sentence.

In this case, the pronoun is the object of the verb "did salute." The pronoun is referring to the person who is being saluted.

To determine whether to use "who" or "whom," you can rephrase the sentence as a question and answer it with a pronoun.

For example, the rephrased question would be: "He saluted whom?"

In the rephrased question, "whom" is the object of the verb "saluted," indicating that "whom" should be used in the original sentence.

Therefore, the correct sentence is: "Whom did the general salute as he walked by?"