Tech Mahindra interview question

basics on core field