Pregunta de entrevista de Cognizant

Is there possible to create user defined functions?