I have done a little bit of research. My DD8 has anxiety issues with OCD tendencies. My understanding about Pandas is that it is related to Strep Throat (Which is a bacterial infection) and not a cold or sinus infection which is usually viral.
My DD also worries a lot about schoolwork. Wants to double check everything with either us or her teacher before she writes it down. As with your daughter, the issue is not that she doesn't know the answer it is the fear she might be wrong or misunderstanding the question. Homework can be exhausting for mom and dad!