If the option is programming or social studies, keep programming for a future in CS. I’ve seen plenty of kids make it into colleges with just 3 years of social studies. The key seems to be having a reason for dropping it, and having a course in one’s desired field instead is apparently a good enough reason. Granted, my background has been seeing kids drop ss for an additional science course, but I expect the same would apply for programming and CS.
I’m not sure colleges would care between AP Bio and ES for a future CS major, but Physics would definitely be better (I see that it’s not an option).