Both IIT Patna and IIT Ropar are decent for CSE, and students who have looked at both do not see a clear winner. The better question is which campus suits you, since placements at newer IITs vary from year to year.
One student recommended Ropar when asked, and described Patna as a good place for placements and tech culture too. Some students also complain about the administration at Patna, and its image is not great among applicants, though a current student said the campus itself is decent and the problem is mostly about administration. Such opinions are personal and mixed, so treat them as a prompt to ask more questions rather than a verdict.
What to do next: check the latest CSE placement reports at both campuses, including the number of offers and the range of recruiters, and not only the highest package.
If both feel equal after that, pick the one where you would be more comfortable living for four years.
IIT Patna and IIT Ropar are reputed institutes in India and are highly advanced in academics and infrastructure. Both were established in 2008, but for some reason, IIT Patna is leading IIT Ropar, especially in the Department of Computer Science and Electronics. Before making a final decision, take a look at the points given below
So, you can opt for IIT Patna to secure your career in the field of computer science.