Pc deduction for school

So I recently built a pc essentially from scratch, bought everything except storage, case, and fans, one or more of my classes require a computer for class. My question is can I write off these computer parts as school deductions, and if so, if I also purchased a monitor could I write that off as well. As far as deductions go, if they are more than my actual taxes does the money just get refunded to me?