They are not equivalent - Purdue is a much better college for CS. Not better enough if you are a CA resident, but otherwise, Purdue has one of the best CS programs in the country, and its equivalents in CA are Berkeley and UCLA (and perhaps UCSD).
Moreover, Purdue costs $25,000 a year less.
So not only does Purdue have the better CS program, it will cost $100,000 less.