A Chronicle forum says:
Higher level courses at a good community college are just that–higher level. I took financial accounting at Wharton back in the day, and then I took it again at the cc where I teach. It was both better and harder at the cc. Moreover, my mother is getting her BA is at this cc (she’s 78), and Columbia recruited her. At my cc, we have many grads who go on to Columbia in both math and sciences and do just fine.
I know at least half a dozen people who took their freshman and sophomore math and physics at a CC and then transferred to major universities (including Ivy League) and sailed through upper level physics, engineering, and other sciences majors.