qnli question: What act determined what class a citizen belonged to? sentence: When it was unclear from a person's physical appearance whether the individual should be considered Coloured or Black, the "pencil test" was used.