Pest, hush.
AV, along with range, skill of officers on both sides, size of target, and level of computer, impact to-hit %.
Damage is determined by the weapon itself, your officers skill, the level of charge on the weapon, and (in the case of all weapons other than Photon, Quantum, Gravimetric, and Polaron torpeodos) range.