Answer: Option 'D' is correct.
Explanation:
Since we have given that
Number of songs = 12
Number of songs that the student liked best = 2
Number of times each song was selected = 4
So, Total number of selection would be

And the total number of students would be

Hence, there are 24 students in a survey.
Therefore, Option 'D' is correct.