Stratified sampling is an appropriate method to use in which of the following circumstances?
a) The lot contains product from different machines, production shifts, or operators.
b) The samples are drawn from a continuous flow of product.