Information technology major Tata Consultancy Services will train teachers and students of 105 Jai Prakash Narayan Sarvodaya and Eklavya Schools run by the social welfare department of the Uttar Pradesh government in computational and logical thinking.