UCLA is the safest bet, since you are in the major and the net price is $0. You do need to keep a 3.0 GPA (or else the net price will probably be $8,000 to $10,000 in later years), but since you do not need to work to afford school the first year, you can concentrate on school work.
UCB is doable with federal loans and work, but it is higher risk due to the 3.3 GPA to get into the major (and the need to work may limit the time you can put into school work).
Okay, so you’re a direct admit into CS at UCLA, UCSD, and UCD. There’s definitely an advantage to that. It appears that those are the three schools that you could do without loans, as well. Even though UCLA costs less, the $5k cost at either UCD or UCSD should be easily manageable with work study and summer earnings. Among those three, I’d say to go with the school you prefer - any of them would be affordable.
UCB is the outlier, because you’d have to assume some debt. I agree with the above suggestion that you contact UCB and see if any additional funding might be available.
If UCSD and UCD have a net price of $5,000, you may be able to do it with either federal direct loan or work earnings, or only small amounts of both. But do these include merit scholarships with a GPA minimum to renew (since UC financial aid without merit scholarships usually includes a student contribution of $8,000 to $10,000)?
@ucbalumnus
UCSD offered a Chancellor’s Scholarship for $5K/yr but does not show an explicit GPA minimum.
UCD provided no merit scholarships but the net cost is lower than I thought ($3.5K)
You may want to verify that there is no renewal GPA minimum for the UCSD scholarship.
It does look like UCSD and UCD are quite safe options also, assuming direct admission to the CS(E) major. Really, if CS is important to you, the risk imposed by the 3.3 GPA hurdle at UCB is a significant drawback.
Remember, you also need to budget for paying any federal and California income taxes on the grants that exceed tuition, books and the standard deduction.
UCLA has a great cs program. I have many friends in cs/eng there who are very happy. My 2 cents is to go there.