CAE interview question

How to make a simulator