The schools in the US practice a largely different system of that in Japan (as a whole).
Except for a few exceptions like Carnegie Mellon University’s Computer Science, you generally get accepted to the university as a whole. (others include Berkeley EECS, UIUC Computer Science, UWashington Computer Science. But I can’t recall the others. Generally almost every school accepts by “overall” standards and not by major.)
In other words, when you apply, the major you enlist most likely will not impact your admissions. You could for all I care apply to Stanford as an aspiring Sculpturer and decide it is not for you and change the first day of college to something like linguistics (or for your case, computer science) then in third year have a revelation and decide to major in Physics and Music.
As US universities are aware of such ^, don’t fret about “which” courses to take to have a chance to take Computer Science courses. You should concentrate more on taking challenging courses that also interest you while having a balance with your extra curricular.
And as of the AP CS course or any other CS courses, I am sorry to disappoint many high schoolers aiming to be CS majors but it isn’t really taken seriously at most reputable universities in the States. In fact, I know universities such as Columbia, MIT, Princeton, etc. largely ignore the AP/IB CS class. Take the AP CS or the IB equivalent if you really wish to learn it (cause you want to, not to pad resume) as it most likely won’t be of much help in your admissions. <it will="" be="" helpful="" though="" in="" whether="" you="" actually="" enjoy="" programming="" or="" not="" (as="" these="" courses="" high="" school="" are="" geared="" toward="" programming,="" cs="" itself)="">
And to @titanrey15
CS is not entirely programming. It leads to software jobs after graduation but many times, there will be CS courses (especially theoretical) that are very math intensive. After all, CS until fairly recently used to be in the Applied Math department. And even now in places like MIT, the theoretical CS side is in the math department, not the CS department.
I haven’t been really “programming” in any of my college courses outside my first semester or two. That’s how much “programming” that can happen in a CS degree. Of course if you are more interested in the software side, you are more likely to be programming more than me as I spent majority of my CS degree with writing proofs / doing abstract computations.
And the link Ucbalummus put is a great guide to follow. If you are aiming for top schools, I do recommend taking as much math as available in your school (or until you feel challenged). It’s not abnormal to see undergrads in the engineering/science side to finish courses well past Pre-Calculus. My roommate alone probably did more math than a typical math major in high school (and myself almost included too). Of course this is not the norm but if you really are interested in Computer Science, math is a great way to showcase this. Physics, not as much.