Pregunta de entrevista de Samsung Electronics

Difference between task and function