MCD504 midterm past papers