AIA Group interview question

What is the difference between functional and dynamic programming?