You need to use the tag function in your sdk application in which you mark the student as class 1, OneSignal.sendTag("class",1);then in your single signal panel create students of class1, and in the filter type select "Custom tag".
"class" 1. "". == 1