Oh, yes. There was only a little question - would not it be in carriers other concerns at this time (let's say, to beat off the attacks of MRA, submarines, enemy base and carrier-based aircraft ...)
Carriers don't 'beat off attacks,' they support attacks. A carrier must indeed devote a portion of it's aircraft to CAP... but not all of them, and not all the time. Mostly, a few of their aircraft are scouting, a few are patrolling, a few are covering some other asset in the area (like bombers being ferried or proceeding to an attack) and most are getting patched, painted and pampered until it's time for them to fly. The carriers
escorts 'beat off attacks.'
A sad fact that very few civilians ever really understand is this: wars only happen on alternate Thursdays, weather permitting, and until the ammo runs out. Then you are suddenly bored shitless for days on end until something else completely horrendous happens and makes you wish that you were never born... this generally lasts almost as long as it takes you to wet your pants and then it too is over and you oil your weapon, eat something and wash your clothes (if there is water around that doesn't come out of you) and you wait for it to all happen again at some undisclosed and unforeseen time in the future!
Again, you are neglecting the whole when designing your parts.
Nothing can do every job, much less do every job well.
Pick a job for your ship, make it very good at that job, and let it stick to that job.
Then design another ship to do the next job.