Dr. Karner is interested in learning how students in his department feel about the courses being offered. To select the students who will take the questionnaire, he wrote the names of every student on small slips of paper and blindly drew 100 names from a hat. What sampling method did he use?
A. quota sampling
B. random sampling
C. lotto sampling
D. convenience sampling