Yes, sort of
One's super-carrier does have guns, but not the sort of naval weapon designed to take on other vessels, or shore bombardment. There are some miniguns, and a close-in weapon system for last ditch defence, but if something has got close enough to the carrier to be shooting at it, then the destroyer screen has failed. Perish the thought. HMSQE potency is almost entirely within the aircraft.