NAV Canada Interview Question

What is the difference between function, method and procedure