Well. I will say Retard first, as it is only polite to do so
May I ask, why do you want to know?
In theory, if i were to give you a paintball gun and an air rifle and asked you to hit a coke can from 10 feet away, but bent the barrel on the air rifle, you would most likely hit the can quicker with the paintball gun.
But, if you shot both at a target, the air rifle would shoot smaller tighter groups (group size is measured, by the actual size of the group minus the diameter of the projectile, so it is comparable).
A Rifle, is so named, because the barrel contains spiral grooves which force the projectile to spin, as it moves along the barrel, so stabilising it.
Also, an air rifle, shoots a solid pellet, whereas a paintball is irregular and fluid filled, which affects its ballistic qualities greatly.
And yes, .177 is more accurate than .22 to a certain extent, but has less ability to buck the wind.
The .177 travels at around 900 feet per second and the .22 around 600 fps. And produce similar muzzle energies at these respective velocities.
Slower, heavier projectiles, are less affected by wind, than faster lighter ones. They use .177 in competitions, because a faster, lighter projectile, shoots flatter. But most of these comps are shot on indoor ranges.
Paintballs are limited by us to a maximum of 300 fps. Technically, because they are not classed as firearms (as stated in HO Guidelines to Police), we can shoot them at whatever velocity we like, but we don't, because of safety for us and just because it is better to err on the side of caution when it comes to Firearms Law.
And no, they don't teach kids anything in Schools these days.