Questions & Answers about Восьмой студент сидит у окна.
у means “by” or “at” (in the sense of proximity). It indicates that the student is sitting right next to the window.
• в would mean “in” or “into” (inside something)
• на would mean “on” or “onto” (on a surface)
Neither of those conveys “beside” the way у does.