BNP Paribas interview question

How does stock price simulation works