Representativeness is critical in many surveys and so it is important to have quota logic. E.g. You might require 50 males and 50 females. If the 50 males quota is reached, the system would then terminate any additional males attempting the survey. Obviously these questions are placed at the beginning of the questionnaire. Most applications allow for multiple quotas to be implemented. E.g. gender, age and income.