Q17 what doing? questions, present/past progressive

Example

What is/was he doing?