Tech Mahindra interview question

Related to procedure, trigger, functions