The pots with an A in front have an 'audio' (or logarithmic) taper, those with B in front have a 'linear' taper. Audio pots allow the volume to be controlled so it gradually increases or decrease in volume. Using linear pots for the volume control results in a very sudden initial drop in volume for a very small rotation of the pot. So certainly use 'A' type pots for volume controls.
People use both A and B type pots for tone - with an audio pot you sometimes have to turn it down a long way before you get a noticeable tone change, which is fine if you like subtle changes in the amount of treble produced but if you want to knock off some of the brightness quickly, then use a B/linear pot.
The numbers represent the pot's resistance in kilo-ohms, so 250k is 250k ohms, 500k is 500k ohms. A 500k pot has twice the resistance of a 250k pot. Because one end of the volume pot 'track' is usually connected to earth, the other end of the 'track' to the signal from the pickup, and the wiper (the arm that the knob sweeps around the pot's resistance 'track') is connected to the guitar's output, then there is a small but significant path for some of the pickup signal to pass through the pot's track to earth. Because the pickup has both inductance and some capacitance, the pickup inductance coupled with this resistance path forms a filter circuit which knocks some of the treble off the pickup's output. The greater the resistance, the less treble is lost.
Typically single coil pickups (with a brighter sound than humbuckers) use 250k pots and humbuckers use 500k pots (to loose less treble). You can use 500k pots with single coils, but they often sound too bright as a result. If you mix humbuckers and single coils on a guitar with a single volume control, then you have to compromise, typically running with 500k, which either means the single coil is a bit bright, or a duller sounding single coil has to be selected. Some people use 1meg ohm pots (1000k ohms) with very powerful humbucker pickups that can otherwise sound a bit dull. But you can't take away what isn't there, so while increasing the pot value even further will move the cut-off point up the frequency range, once you are above the highest level of audible frequencies produced by the pickup, there is no further effect on the tone.
The capacitor taking some of the pickup signal from a connection to the volume pot to the tone pot, forms a simple low-pass filter circuit, which is tuned by turning the tone pot knob to adjust the tone pot's resistance. The lower the resistance, the lower the cut-off point of the low-pass circuit and the duller the pickup's output gets.
There are a couple of ways volume and tone circuits can be wired up - the above is only one of them - but the basic principles stay the same.