The first one is from some exercise as there are many classes of warships there. The third one is obvious if you notice that ships are fully dressed up and you don't do that everyday.
Sorry, but that is the dumbest reason I've ever heard for labeling a group of ships an "exercise". It's taken from this website, with no mention of any "exercise":
Here is another photo from the same site. Is this an "exercise"?:
In fact that site is complaining about the routine concentration of USN ships in docks where they are easily vulnerable to attack that could result in massive damage. I guess your response would be that they're "exercising" so they're actually out a lot and these photos are just lucky coincidences.
How about this photo; is this an "exercise"?:
"Exercise"?:
Let me guess.... "exercise":
ROFLMAO