Pergunta de entrevista da empresa Cognizant

Is there possible to create user defined functions?