Luxoft Interview Question

Explain to me how VaR is calculated.