UT engineering didn't allow you to place out of engineering physics, or anything beyond the first semester of calculus. I got 5s on both, but only got credit for Physics for Physics majors, not engineering physics, and only the first semester of calculus.
Also placed out of history and literature, which I wish I hadn't because those would have been really great classes to take at the college level, but there's no way I would have graduated in 4 years if I hadn't, and back in those days, scholarship money ran out after 4.
Purdue has PHYS 152 (Mechanics) and PHYS 241 (E&M). PHYS 152 is basically one of the top weed-out courses for engineers at Purdue. So they're pretty adamant about taking it.
Therefore, you can't test out of it based on AP results. I *was* able to test out of PHYS 152 by taking the final (scored an 88, BTW, which is crazy that I remember that 25 years later!). I think they might have allowed me to do the same for E&M, but for EE majors they actually have PHYS 261, which is E&M
for electrical engineering majors only. And there's NO way to get out of PHYS 261 if you're a EE. I remember one test in that class I scored a 59, which was an A with the curve.
Even worse was EE 311 (Electromagnetic Fields & Waves IIRC), which was PHYS 261 on crack. D is for Done, right? ;-)
So yeah, I was pretty proud of the fact that I got credit for PHYS 152 without taking it.
Calculus wasn't an issue. My "5" on the AP test was accepted for credit. The problem, though, when you test out of freshman calculus is that they put you in the "honors" version of multivariate calc. Instead of the ~200 people who normally take the class, it was a focused class for about 25-30 of us. Which means you're surrounded by literal geniuses. There was one kid in that class--and it's appropriate to call this college student a "kid"--who was about 12-13 years old if I remember correctly. I just wanted to get out of the first year of calc, not be the "slow" guy in honors multivariate calc!
I also tested out of a year of history with a 4 on AP US History, but for that year to count I had to take one more history class. So I took "History of the Space Age" which was pretty cool at a place like Purdue.