I had just eaten when he arrived.
Had I just eaten when he arrived? - общий
Who had just eaten when he arrived? - вопрос к подлежащему
I had just eaten when he arrived, hadn't I? - разделительный
What had I just done when he arrived? - специальный
Had I or she just eaten when he arrived? - альтернативный
It was raining heavy and the wind was howling.
Was it raining heavy and the wind was howling? - общий
When was it raining heavy and the wind was howling? - специальный
Was it raining or snowing heavy and the wind was howling? - альтернативный
It was raining heavy and the wind was howling, wasn't it? - разделительный