Pergunta de entrevista da empresa Samsung Electronics

Difference between task and function