Attribute Samplling : IF the height of the person is above 170cm, is eligible to join army, else not eligible.
Variable Sampling : If the age of the person is between 19 to 30 years, he is eligible for gun shooting, and after 30 years he is not considered as eligible resource and moved to other job.