Based on the information you provided, the principal collected information from students to find out their opinions on the school dress code. Since the principal did not manipulate any variables or conduct experiments but rather gathered information through a survey, the study design implemented here is best classified as:
Option #2: an observational study.
In an observational study, researchers collect data without intervention, simply observing and recording opinions or behaviors.