Dallas wants to know what elective subject the student at her school likes best he surveys students who are leaving band class

Is it a random sample or biased sample ?
Answer: It is a biased sample because he only asked the people who left band class. He could have asked random kids from different classes, for example at luch or in the hallway, thus he could get an unbiased opinion.