A random sample was taken to determine whether students from a certain classroom prefer to shop at Store A, Store B, or Store C. Which of the following would represent a random sample?
A. putting all the names in alphabetical order and selecting every fourth
B. student selecting all the students that have a last name that begins with R
C. selecting all the girls
D. putting all the names in a hat and selecting six student