AP computer science has only algebra 2 as a pre-requisite at our school, although my kid commented the more math the better, and most of the students taking it at our school have not had a prior cs class. My first kid did this and second kid plans to do so as well. First kid did not have very much cs background and yes, it was a lot of work. It’s one of the hard APs. But so is AP chem. My daughter complained more about AP chem.
But I don’t know whether cs is considered to be a science for the purpose of filling requirements and expectations. I just thought it seemed more useful in the areas of economics and government than chemistry is likely to be.