Nivaar worked solution (AI-drafted; not reviewed by a licensed engineer)
Paper format. National Exams — 16-Mec-B12 Robot Mechanics, 3 hours, CLOSED BOOK, one 8.5″×11″ aid sheet (both sides) and an approved calculator permitted. The paper runs in two sections: Section 1 holds five questions of which the candidate answers only three, and Section 2 holds two questions which are both compulsory. Each question is of equal value (20 marks), and marks for each part are shown in parentheses. All seven questions are worked here.
Reference texts. J. J. Craig, Introduction to Robotics: Mechanics and Control, 4th ed. (this paper's leading-super/subscript notation, its modified DH convention and its via-point spline formulae follow this text directly); M. W. Spong, S. Hutchinson and M. Vidyasagar, Robot Modeling and Control, 2nd ed.; S. B. Niku, Introduction to Robotics: Analysis, Control, Applications, 3rd ed.; K. M. Lynch and F. C. Park, Modern Robotics, 1st ed.
Notation (from the exam's own nomenclature page). A leading superscript names the frame a quantity is referenced to, so $^{A}V$ is the vector $V$ expressed in frame $\{A\}$. A leading subscript together with a leading superscript names a transformation: $^{B}_{A}T$ describes frame $\{A\}$ relative to frame $\{B\}$, and therefore maps coordinates the other way, $^{B}P={}^{B}_{A}T\,{}^{A}P$. Keeping that direction straight is the single most common source of lost marks on this paper, so every question below states explicitly which way the given transform points.