Computer Graphics (3150712) MCQs

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) sx=xvmax+xvminxwmax+xwmin, sy=yvmax+yvminywmax+ywmin
(b) sx=xvmax+xvminxwmax-xwmin, sy=yvmax+yvminywmax-ywmin
(c) sx=xvmax-xvminxwmax-xwmin, sy=yvmax-yvminywmax-ywmin
(d) sx=xvmax-xvminxwmax+xwmin, sy=yvmax-yvminywmax+ywmin
Answer:

Option (c)

32.
Correct matrix for 2D rotation(for column major matrix) is :
(a) cosθsinθ0-sinθcosθ0001
(b) cosθ-sinθ0sinθcosθ0001
(c) -cosθsinθ0sinθcosθ0001
(d) cosθsinθ0sinθ-cosθ0001
Answer:

Option (b)

33.
Matrix for 2D reflection about x=-y line(for column major matrix) is :
(a) 0-10-100001
(b) 010-100001
(c) 0-10100001
(d) 010100001
Answer:

Option (a)

34.
Which is the correct 2D Shearing matrix for shearing in the y-direction(for column-major matrix)?
(a) 1shy0010001
(b) 10shy010001
(c) 10001shy001
(d) 100shy10001
Answer:

Option (d)

Showing 31 to 34 out of 34 Questions