Tech Mahindra interview question

Computer networks basics and oops