Computer Graphics Questions & Answers – Matrix Representations and Homogeneous Coordinates

This section of our 1000+ Computer Graphics multiple choice questions focuses on Matrix Representations and Homogeneous Coordinates.

1.The matrix representation for translation in homogeneous coordinates is
a) P’=T+P
b) P’=S*P
c) P’=R*P
d) P’=T*P
View Answer

Answer: d
Explanation: The matrix representation for translation is P’=T*P.

2. The matrix representation for scaling in homogeneous coordinates is
a) P’=S*P
b) P’=R*P
c) P’=dx+dy
d) P’=S*S
View Answer

Answer: a
Explanation: The matrix representation for scaling is P’=S*P.

3. The matrix representation for rotation in homogeneous coordinates is
a) P’=T+P
b) P’=S*P
c) P’=R*P
d) P’=dx+dy
View Answer

Answer: c
Explanation: The matrix representation for rotation is P’=R*P.

4. What is the use of homogeneous coordinates and matrix representation?
a) To treat all 3 transformations in a consistent way
b) To scale
c) To rotate
d) To shear the object
View Answer

Answer: a
Explanation: To treat all 3 transformations in a consistent way, we use homogeneous coordinates and matrix representation.
advertisement
advertisement

5. If point are expressed in homogeneous coordinates then the pair of (x, y) is represented as
a) (x’, y’, z’)
b) (x, y, z)
c) (x’, y’, w’)
d) (x’, y’, w)
View Answer

Answer: d
Explanation: If point are expressed in homogeneous coordinates then we add 3rd coordinate to the point (x, y), that is represented as (x’, y’, w).

6. For 2D transformation the value of third coordinate i.e. w=?
a) 1
b) 0
c) -1
d) Any value
View Answer

Answer: a
Explanation: For 2D we have (x, y, 1) i.e. w=1.
Sanfoundry Certification Contest of the Month is Live. 100+ Subjects. Participate Now!

7. We can combine the multiplicative and translational terms for 2D into a single matrix representation by expanding
a) 2 by 2 matrix into 4*4 matrix
b) 2 by 2 matrix into 3*3
c) 3 by 3 matrix into 2 by 2
d) Only c
View Answer

Answer: b
Explanation: We can combine the multiplicative and translational terms for 2D into a single matrix representation by expanding 2 by 2 matrix representation into 3 by 3.

8. The general homogeneous coordinate representation can also be written as
a) (h.x, h.y, h.z)
b) (h.x, h.y, h)
c) (x, y, h.z)
d) (x,y,z)
View Answer

Answer: b
Explanation: The general homogeneous coordinate representation can also be written as (h.x, h.y, h).
advertisement

Sanfoundry Global Education & Learning Series – Computer Graphics.

To practice all areas of Computer Graphics, here is complete set of 1000+ Multiple Choice Questions and Answers.

advertisement

If you find a mistake in question / option / answer, kindly take a screenshot and email to [email protected]

advertisement
advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.