### MCQs of 2D transformation and viewing

Showing 31 to 34 out of 34 Questions
31.
Correct scaling factor for Window to Viewport transformation are :
 (a) (b) (c) (d)
32.
Correct matrix for 2D rotation(for column major matrix) is :
 (a) $\left[\begin{array}{ccc}\mathrm{cos}\theta & \mathrm{sin}\theta & 0\\ -\mathrm{sin}\theta & \mathrm{cos}\theta & 0\\ 0& 0& 1\end{array}\right]$ (b) $\left[\begin{array}{ccc}\mathrm{cos}\theta & -\mathrm{sin}\theta & 0\\ \mathrm{sin}\theta & \mathrm{cos}\theta & 0\\ 0& 0& 1\end{array}\right]$ (c) $\left[\begin{array}{ccc}-\mathrm{cos}\theta & \mathrm{sin}\theta & 0\\ \mathrm{sin}\theta & \mathrm{cos}\theta & 0\\ 0& 0& 1\end{array}\right]$ (d) $\left[\begin{array}{ccc}\mathrm{cos}\theta & \mathrm{sin}\theta & 0\\ \mathrm{sin}\theta & -\mathrm{cos}\theta & 0\\ 0& 0& 1\end{array}\right]$
33.
Matrix for 2D reflection about x=-y line(for column major matrix) is :
 (a) $\left[\begin{array}{ccc}0& -1& 0\\ -1& 0& 0\\ 0& 0& 1\end{array}\right]$ (b) $\left[\begin{array}{ccc}0& 1& 0\\ -1& 0& 0\\ 0& 0& 1\end{array}\right]$ (c) $\left[\begin{array}{ccc}0& -1& 0\\ 1& 0& 0\\ 0& 0& 1\end{array}\right]$ (d) $\left[\begin{array}{ccc}0& 1& 0\\ 1& 0& 0\\ 0& 0& 1\end{array}\right]$
34.
Which is the correct 2D Shearing matrix for shearing in the y-direction(for column-major matrix)?
 (a) $\left[\begin{array}{ccc}1& s{h}_{y}& 0\\ 0& 1& 0\\ 0& 0& 1\end{array}\right]$ (b) $\left[\begin{array}{ccc}1& 0& s{h}_{y}\\ 0& 1& 0\\ 0& 0& 1\end{array}\right]$ (c) $\left[\begin{array}{ccc}1& 0& 0\\ 0& 1& s{h}_{y}\\ 0& 0& 1\end{array}\right]$ (d) $\left[\begin{array}{ccc}1& 0& 0\\ s{h}_{y}& 1& 0\\ 0& 0& 1\end{array}\right]$
Showing 31 to 34 out of 34 Questions