Answer explained
The teacher said, "Is anyone there ?"
Correct answer: (A) The teacher asked if anyone was there
A reported yes/no question uses the reporting verb "asked ... if" with the tense shifted back: "asked if anyone was there".
Correct answer: (A) The teacher asked if anyone was there
A reported yes/no question uses the reporting verb "asked ... if" with the tense shifted back: "asked if anyone was there".