Honeywell Interview Question

Can you explain the difference between object-oriented and functional programming? Provide examples of when you might use one over the other