Nivaar worked solution (AI-drafted; not reviewed by a licensed engineer)
Paper format. 07-Str-A4 Advanced Structural Analysis, National Examination, December 2014 — 3 hours, closed book (approved Sharp or Casio calculator permitted). Nine questions over six pages: Questions 1 and 2 are compulsory (12 and 8 marks), then any two of Questions 3, 4, 5 (18 marks each) and any two of Questions 6, 7, 8, 9 (22 marks each). Six questions constitute a complete paper and total 100 marks; marks are printed in the left margin. All nine questions are solved here, because the set is a study resource rather than a three-hour sitting.
Reference texts.
Sign convention used throughout. End moments are counter-clockwise positive, the convention that matches the standard six-degree-of-freedom stiffness element. In it the slope-deflection equation is
$$M_{ij}=\frac{2EI}{L}\bigl(2\theta_i+\theta_j-3\psi_{ij}\bigr)+\mathrm{FEM}_{ij}$$the chord rotation is $\psi_{ij}=\bigl[(\mathbf{d}_j-\mathbf{d}_i)\cdot\mathbf{e}_2\bigr]/L$ with $\mathbf{e}_2$ the member axis turned $+90^\circ$, the fixed-end moment of a downward UDL is $\mathrm{FEM}_{i}=+wL^{2}/12$ and $\mathrm{FEM}_{j}=-wL^{2}/12$, and the ordinary sagging bending moment is recovered as $M_{\text{sag}}(i)=-M_{ij}$ and $M_{\text{sag}}(j)=+M_{ji}$. Every translation degree of freedom is closed with the virtual-work statement
$$\sum_{\text{members}}\bigl(M_{ij}+M_{ji}\bigr)\,\psi^{*}_{ij}\;+\;\sum \mathbf{F}\cdot\mathbf{d}^{*}=0$$in which $\mathbf{F}$ are the equivalent nodal loads and $\mathbf{d}^{*}$, $\psi^{*}$ belong to the unit sway pattern. Mixing this with the clockwise-positive convention of some textbooks produces clean-looking but wrong answers, which is the single most common failure on this subject.