@Sharif Youssef: As long as it wasn't some kind of hands-on lab, I don't see how that would really be disruptive. Knitting requires virtually no thought if you're good at it, and not every student needs constant note-taking to learn. Who knows, maybe she was knitting you an end-of-term present!