UGC NET CS 2020Programming Languages and Computer Graphics › 2-D Geometrical Transforms and ViewingVerified
UGC NET CS 2020 PYQ: Match $\text{List I}$ with $\text{List II}$. $\text{List I}$ gives $3 \times 3$ matrices representing $2D$…
Match $\text{List I}$ with $\text{List II}$. $\text{List I}$ gives $3 \times 3$ matrices representing $2D$ transformations and $\text{List II}$ shows the corresponding transformation diagrams.

Choose the correct answer from the options given below:
- A$A-IV, B-II, C-III, D-I$
- B$A-IV, B-III, C-II, D-I$
- C$A-III, B-II, C-IV, D-I$
- D$A-II, B-IV, C-III, D-I$Correct answer
Answer
(D) $A-II, B-IV, C-III, D-I$
Approach
Examine each 3×3 homogeneous matrix in List I.
Matrix A:
\[A=\begin{bmatrix}2&0&0\\0&2&0\\0&0&1\end{bmatrix}\]
has diagonal entries 2,2,1, so it scales both x and y by factor 2. Hence A matches II: scale(2,2).a.
Matrix B:
\[B=\begin{bmatrix}1&0&2\\0&1&2\\0&0&1\end{bmatrix}\]
has translation components (2,2) in the last column, so it translation by vector (2,2). Hence B matches IV: translate(2,2).a.
Matrix C:
\[C=\begin{bmatrix}0.5&-0.866&0\\0.866&0.5&0\\0&0&1\end{bmatrix}\]
matches the standard 2D rotation matrix \[\begin{bmatrix}\cos\theta&-\sin\theta\\ \sin\theta&\cos\theta\end{bmatrix}\] with $\cos\theta=0.5 \text{and} \sin\theta=0.866, \text{giving} \theta=60^\circ. \text{Hence} C \text{matches III:} rotate(60°).a.$
Matrix D:
\[D=\begin{bmatrix}1&2&0\\0&1&0\\0&0&1\end{bmatrix}\]
changes x to x+2y while keeping y unchanged. This is an x-direction shear of magnitude 2. Hence D matches I: shear-x(2).a.
Thus the correct pairings are A-II, B-IV, C-III, D-I, which is option D. The candidate mapping agreeing with this is correct.
Reviewed by UGC IQ Editorial Team.