BNP Paribas Interview Question

How does stock price simulation works