Since you haven’t mentioned the branch you are interested in, I will assume you have no particular preference. Now, the primary factor to consider is if you value the brand of the college or the branch of your choice. Consider the following points
The best option would be to choose IIT Dhanbad CSE. It’s true that it won’t offer the opportunities and exposure that the top 5 IITs would but for me branch is more important than the brand name of the college. So, choose according to your preferences.
Choosing neither of those choices would be outright foolishness. You would be foolish if you waste the chance of getting a seat here.
BITS Goa and top NITs, both have their merits. Speaking from a friend’s experience with BITS Pilani Goa campus has great opportunities for CSE and for the overall development of students as well.
You can talk to someone from NITs about how things are there to get an idea, and then make a choice. Both institutions produce good engineers, so irrespective of what you choose, it will help you if you use the opportunity and facilities offered properly.
The computer science branch of Thapar University is among the best in the country. The curriculum has been designed after several discussions among the students and the feedback given by them. As a software engineer, you don't always need to do coding or algorithms for the IT industry or related fields. You can be given the task of designing the codes for let's say chemical industry or you may need to work on software that involves the mechanics of machines. For that, you should have complete knowledge regarding that particular one that can make you stand among others.
For your overall holistic development, the course curriculum includes various subjects apart from your field that can help you to develop various required skills.