Is my depression interfering with my class work?

It Can. If you are experiencing problems with depression, it would not be unusual to have increased problems with tasks that require mental effort.