Capgemini Interview Question

procedure creation, analytical functions, procedure vs function