Personal experience?
I had basically a machine shop course in mechanical engineering in college. OK, it was a bit more than that but I had no "shop" in high school.
Certainly nothing in high school anything that would have really prepared me for a civil engineering or or chemical engineering degree.
I had actually done a little bit of fiddling around with electronics (and maybe should have majored in that). But certainly college would have been a whole different level. (With a whole lot more math which was never my strong suit.)
So, yeah, these days I think there's a different baseline assumption for CS/programming than many other majors.