I was all eyes to see what he would do. The words italicised mean :
Which of these chairs did you sit --------- ?
While walking ----------- the small door I hurt my head.
I will complete the course in ---------- year .
They have bought a new car, ----------- ?
Change into indirect speech : He said, "I have passed the examination "