strike up a conversation about class. ask her a meaningless question about a class topic, tell her that you would like to ask her to be a study partner.
Ask if her boyfriend would get jelouse if you studied with her. that will tell you if she is in a relationship.