tell whether the capitalized word is a subject, direct obect, object of preposition , or predicate noun

1. pay close attention to WHAT I DO.(object of preposition)

2. this is HOW STUDENTS SELECT THEIR MAJOR.( predicate noun)

3. WHO SENT THE YELLOW ROSES is a mystery to me. (subject)

4.doctors can explain WHY PROPER FOOD IS SO IMPORTANT. (DIRECT OBJECT)

5. Your athletic skills will be valuable in WHICHEVER SPORT YOU CHOOSE.(OBJECT OF PREPOSITION)

6. is this sentence a complex:
people across america have developed an appreciation to mexican food.

Your answers are correct. :-)

6. It's a simple sentence; it has only one verb -- HAVE DEVELOPED.

To determine whether a word is a subject, direct object, object of a preposition, or a predicate noun, we need to understand the function of each word in the sentence. Here's a breakdown of each sentence:

1. "pay close attention to WHAT I DO."
- The capitalized word "WHAT" is the object of the preposition "to."

2. "this is HOW STUDENTS SELECT THEIR MAJOR."
- The capitalized word "HOW" is the predicate noun, as it renames the subject "this."

3. "WHO SENT THE YELLOW ROSES is a mystery to me."
- The capitalized word "WHO" is the subject of the sentence.

4. "doctors can explain WHY PROPER FOOD IS SO IMPORTANT."
- The capitalized word "WHY" is the direct object, as it answers the question "explain what?"

5. "Your athletic skills will be valuable in WHICHEVER SPORT YOU CHOOSE."
- The capitalized word "WHICHEVER" is the object of the preposition "in."

Regarding the question about sentence complexity:
6. "people across America have developed an appreciation for Mexican food."
- Yes, this sentence can be considered complex as it contains a subordinate clause "across America" that provides additional information.