In a study, the sample is chosen by writing everyone’s name…