Be warned: computer science professors tend to be atheists (I have a feeling this is true even at Catholic universities). Not all of them (among others, Donald Knuth, who invented TeX, is Lutheran), but I know a handful of my professors (at a public institution, mind you) are atheist. (Edit: I could be very wrong about the atheistic tendencies in CS. I shouldn’t have made such a statement without proof. This is the impression I get however.) I think being in any science field, you’re going to be challenged by people who think that having science means you don’t need God. Especially with the growth of AI, I think computer scientists are more prone to the belief that, if we can create some sort of life, we mustn’t need God at all. If you are aware of the tendency and can argue against it, if only to yourself, you’ll be fine. But know that it may cause you to struggle with your faith. (Reasons for Belief: How to Understand, Explain, and Defend the Catholic Faith by Scott Hahn is a GREAT apologetics book.)
I attended Truman State University in Kirksville, MO, for a while. I think they have a pretty strong CS program (of course, I wasn’t a CS major there, so I can’t say this from experience. Their programs are, in general, very strong though, and the CS majors I’ve known from there are very good) and a very strong Newman community. (However, their LGBT community is also pretty outspoken…) In other words, you can find good Catholic communities at public universities. You might want to find someone you know who is Catholic and attends a public university that you might attend and ask them about their experience, or even better: if you can, schedule a campus visit for a Monday and go on Sunday morning or evening (many Newman Centers have Sunday evening mass) and attend Mass at Newman. You can probably get a good idea of the Catholic community this way.
I attended Catholic school for 13 years but have only attended public universities, and although I have struggled, my faith life is very strong. In sum, don’t dismiss public universities. If you attend one, though, just be prepared. Also, know that enough students at Catholic universities are non-Christian. A friend of mine went to a Catholic university and is atheist. You’ll be challenged anywhere you go.