Yes. In the first one, exam is the object, whereas, in the second, it is the subject. I am wondering whether 'do' is the suitable verb here.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.
Anonymousa. I was doing the exam which was difficult.The meanings are different. Or rather the focus is different.
b. The exam which I was doing was difficult.