Use http://www.assist.org to see what courses at your nearby community colleges will count for subject credit at the CSU.
For example, if you want to major in CS at SJSU, and your local community college is Mission College, consider taking one of the courses listed here:
http://web2.assist.org/web-assist/report.do?agreement=aa&reportPath=REPORT_2&reportScript=Rep2.pl&event=19&dir=1&sia=MISSION&ria=SJSU&ia=MISSION&oia=SJSU&aay=15-16&ay=16-17&dora=COMPSCI
You can also look up general education information:
http://web2.assist.org/web-assist/report.do?agreement=aa&reportPath=REPORT_2&reportScript=Rep2.pl&event=21&dir=1&sia=MISSION&ria=SJSU&ia=MISSION&oia=SJSU&aay=15-16&ay=16-17&dora=CSUGE
If you expect AP or IB credit, you may want to check to make sure that you do not unnecessarily duplicate the credit:
http://web2.assist.org/web-assist/report.do?agreement=aa&reportPath=REPORT_2&reportScript=Rep2.pl&event=21&dir=1&sia=MISSION&ria=SJSU&ia=MISSION&oia=SJSU&aay=15-16&ay=16-17&dora=CREDIT+EX
Others may be able to help you better if you name the CSU and CC, specify your (intended) major(s), and describe what credit (e.g. AP or IB) you may already have, and what level of English and math placement you are likely to have.