Random sampling is a technique in research wherein the researches select participants in an unbiased manner. Sampling is dependent on the number of the whole population. Certain formulas determine how many participants are needed in every study.
In this case 20 sample was taken from the 200 students population.