It’s difficult to determine which institute is better because the courses in the question are different. However, if a choice has to be made between the two colleges, one can look at the different criteria.
NIT Allahabad (Information Technology):
The college was ranked at 48 out of the 300 engineering colleges in India. The duration of the course Information Technology is 4 years. The course structure in NIT Allahabad is more or less the same as compared to other NITs.
Admission:
Placements:
NIT Surathkal (Mechanical Engineering):
The college was Ranked 21st by NIRF in Engineering colleges 2019.
Admission:
Placements:
The college is known for its placements, in the year 2019, the college provided 100% placement.
Therefore, if a college has to be chosen between two, one can look at the above parameters.