Obviously 20 damage / 2 second will lose less DPS to armour than 5 damage / 0.5 second.
No, you don't get how armor works. First off, armor and hull, shields, and armor types are completely unrelated. Shields are a first layer of defense and their workings, with shield mitigation and regeneration, counting only as long as they're up(though mitigation is supposed to stay around according to the manual). Armor types are a simple damage modifier.
But 1 point of armor gives a 5% boost to "
effective hp". This means that an attack hitting an armor rating of 5 will be doing 125% of it's actual damage. That 25% extra gets kicked off by armor and only the remaining damage reduces hitpoints. So 20 damage will be 125% of the actual damage inflicted against 5 Armor, so only 16 damage gets through. For 5 damage, only 4 gets through.
16/2 = 8.
4/0.5 = 8. Same deal.
Neither Zyrxil's nor Kruelgor's charts have PreBuffCoolDown on them. Only
this website gives that degree of comprehensive info, extracted directly from the files.
3) How's attack type vs armour type affecting shield?
Do all attacks do 100% damage vs shields, or is the ship's armour-type being used to calculate damage done to shield too?
AFAIK, armor types work from the start, with shields up or without. But this hasn't been confirmed by the devs, so no one can be completely sure.
2) For the ships that have multiple weapons vs ships - e.g. Capital battleships: Do all their attacks do Capital damage? (And then I don't care about the planet-only attack)
All the weapons on a capital ship do Capital damage, but Bomber Squadrons deployed off of them will still do AntiVeryHeavy damage and Fighter Squadrons will still do AntiLight.