The above figure shows a triangle at an original position (vertices labelled 2, 1, 3) to the left of the y-axis, and the same triangle, filled/hatched, at a reflected position (vertices labelled 2, 1, 3) to the right of the y-axis, mirrored about the vertical axis.
A. Reflection of object about x axis.
B. Reflection of object about y axis.
C. Reflection of object about x = 0
D. Reflection of object about y = 0
Choose the correct answer from the options given below:
Pick an option to check yourself, or open the answer below.
Show answer & explanation
Correct answer: C. B, C only
Explanation
The reflected triangle is a horizontal mirror image of the original, flipped from the left side of the vertical axis to the right side, which is exactly reflection about the y-axis. The y-axis is defined by the equation x = 0, so "reflection about the y axis" and "reflection about x = 0" describe the identical transformation (negate the x-coordinate, keep y unchanged). Reflection about the x-axis or about y = 0 would instead flip the figure vertically, which does not match the figure. So both B and C correctly describe the transformation: B, C only.More Programming Languages and Computer Graphics questions
- What will be the output of the following C programming code:int i, j; for(i=1; i<5; i+=2) for(j=1; j<i; j+=2) printf("%d", j);
- What would be the equivalent pointer expression for referring the array element ar[m][n][0]?
- Which of the following techniques is used for Clipping?
- Consider the following piece of C programming code:int x=128, y=110; do { if(x>y) x=x-y; else y=y-x; } while(x!=y); printf("%d",x); Which o…
- Match List I with List IIList I List II A. Overloading I. Since function call is resolved during run time, the execution is slow. B. Early…
- Consider the following statements for XML (Extensible Markup Language): A. The number of tags decreases and users can define their own tags…