 FACT: When the Yorktown is under attack, the carriers are shown  shooting at the Japanese with Quad 40mm and 20mm. At this time  Enterprise, Yorktown and Hornet were still armed almost "as built."  Their armament was composed of 5"/38s, 1.1" and 50 cal. water  cooled.