An encoder is classified into four types: mechanical, optical, magnetic, and electromagnetic induction types.
Pulses per revolution (or PPR) is a parameter associated with encoders. Basically, it is a measure of the number of pulses per full revolution or turn of the encoder, with a full revolution being 360 degrees. In essence, it is a measure of an encoder's resolution.