The random sample is that where every result (student for the case) has the same probability to be selected.
Then you cannot use any method that select one student with preference.
Two possible valid methods are:
- Write the number of each student in separate papers, put all the papers in a closed box and blind choose 102 papers.
- Assign a number to each student of the school and use a method to generate 102 random numbers.