Pergunta de entrevista da empresa Tata Consultancy Services

what is lambda function? how to open a file?