If your target is the highest-paying, most future-proof tech career, CSE is the stronger branch, and students say that CSE placements are better than other branches at almost any IIT. A student who has seen both sides describes friends in IT companies as far ahead of those from core branches such as electrical, mechanical and civil. Between IIT Ropar and IIT Gandhinagar for CSE, both offer modern curricula and good tech recruitment, and Gandhinagar is described as having a flexible curriculum with an interdisciplinary, entrepreneurial bent.
Electrical at IIT Roorkee has its own pull. It is a well-established department at an old IIT with a large campus and alumni network, and electrical graduates can apply to core electronics and power companies as well as software firms in placements. Some students strongly prefer Roorkee because it is older and more developed, and say they wouldn't suggest going to a newer IIT.
So the choice comes down to how sure you are about software. If coding is what you want, take CSE and pick between Ropar and Gandhinagar by comparing the two departments' latest placement reports, faculty and campus life. If you want to keep core options open or value a more established institute, Roorkee EE is the safer all-round pick. In either case, speak to seniors in each branch, because their day-to-day experience tells you more than rankings do.
If I had to choose from IIT Ropar, IIT Gandhinagar, and IIT Roorkee, I would have gone for IIT Ropar. Let’s compare the institutes and their branches individually.
IIT Ropar and IIT Gandhinagar (CS):
IIT Ropar CS and IIT Roorkee EE:
All in all, IIT Ropar CSE offers better job opportunities, and thus the general preference order looks like
IIT Ropar CSE >> IIT Roorkee EE >~ IIT GN CSE.