Answer: Excuse me, what book is it.
Explanation:
Yes it is! You never know what can happen.
Answer:
You're correct
You can alternatively sayおなかがすいたときにたべます。as well, but your sentence is perfect.
Kanji version of what you wrote would be: 私はお腹がすいた時に食べます。