InterviewSolution
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
One of the drawbacks of Sutherland- Hodgeman algorithm is that it can’t produce ____________ areas.(a) connected(b) multiple(c) discrete(d) circularThis question was addressed to me during an internship interview.I'd like to ask this question from Sutherland-Hodgeman Polygon Clipping in portion 2D Transformation and Viewing of Computer Graphics |
|
Answer» Correct option is (a) connected |
|
| 2. |
In a convex polygon, each of the interior angles is less than ____degrees.(a) 90(b) 180(c) 360(d) 45I have been asked this question in an online interview.Asked question is from Sutherland-Hodgeman Polygon Clipping in division 2D Transformation and Viewing of Computer Graphics |
|
Answer» Right answer is (B) 180 |
|
| 3. |
If we used Left->Right->Up->Bottom, the final output will be the vertex list outputted by the ___________ edge.(a) left edge(b) right edge(c) top edge(d) bottom edgeThis question was addressed to me in an interview for internship.My question comes from Sutherland-Hodgeman Polygon Clipping topic in division 2D Transformation and Viewing of Computer Graphics |
|
Answer» Right OPTION is (d) bottom edge |
|
| 4. |
If the subject polygon is concave at vertices outside the clipping polygon, the new polygon may have coincident edges.(a) True(b) FalseI had been asked this question in examination.My question is based upon Sutherland-Hodgeman Polygon Clipping in section 2D Transformation and Viewing of Computer Graphics |
|
Answer» The correct option is (a) True |
|
| 5. |
How many edges of the clipping are/is present in 2D?(a) 1(b) 2(c) 3(d) 4The question was posed to me in examination.I'm obligated to ask this question of Sutherland-Hodgeman Polygon Clipping topic in division 2D Transformation and Viewing of Computer Graphics |
|
Answer» The correct option is (d) 4 |
|
| 6. |
We can correctly clip a polygon by processing the polygon boundary as a whole against each ___________(a) side wall(b) top edge(c) window edge(d) bottom edgeI had been asked this question in an interview.This intriguing question comes from Sutherland-Hodgeman Polygon Clipping topic in division 2D Transformation and Viewing of Computer Graphics |
|
Answer» Right option is (c) window edge |
|
| 7. |
The process is repeated iteratively for each clip polygon side, using the output list from one stage as the input list for the next.(a) True(b) FalseI got this question in an international level competition.My question is based upon Sutherland-Hodgeman Polygon Clipping in portion 2D Transformation and Viewing of Computer Graphics |
|
Answer» RIGHT option is (a) True Easy explanation: The process is repeated iteratively for each clip POLYGON side, using the OUTPUT list from one stage as the input list for the NEXT. When the process is COMPLETED, a new polygon is generated. |
|
| 8. |
How many polygons are used in this method?(a) 4(b) 3(c) 2(d) 1I have been asked this question during an online interview.My question comes from Sutherland-Hodgeman Polygon Clipping in chapter 2D Transformation and Viewing of Computer Graphics |
|
Answer» Right ANSWER is (c) 2 |
|
| 9. |
Only vertices from the subject polygon that are on the _______________ are selected.(a) lower half(b) boundary(c) opaque side(d) visible sideThis question was addressed to me by my school teacher while I was bunking the class.This interesting question is from Sutherland-Hodgeman Polygon Clipping in chapter 2D Transformation and Viewing of Computer Graphics |
|
Answer» The correct choice is (d) VISIBLE SIDE |
|
| 10. |
Sutherland-Hodgeman clipping is an example of_________________ algorithm.(a) line clipping(b) polygon clipping(c) text clipping(d) curve clippingI had been asked this question in an online quiz.My enquiry is from Sutherland-Hodgeman Polygon Clipping topic in section 2D Transformation and Viewing of Computer Graphics |
|
Answer» RIGHT choice is (b) POLYGON CLIPPING To explain: The Sutherland–Hodgman algorithm is used for clipping POLYGONS. Cohen- Sutherland is LINE clipping algorithm. |
|
| 11. |
Fast clipping algorithm has similarities with Liam Barsky algorithm.(a) True(b) FalseI have been asked this question by my college professor while I was bunking the class.Enquiry is from Line Clipping Using Non Rectangular Clip Windows topic in section 2D Transformation and Viewing of Computer Graphics |
|
Answer» Right choice is (b) False |
|
| 12. |
Fast clipping algorithm is an example of ____________ clipping algorithm.(a) text(b) polygon(c) line(d) curveI have been asked this question by my college professor while I was bunking the class.The above asked question is from Line Clipping Using Non Rectangular Clip Windows in chapter 2D Transformation and Viewing of Computer Graphics |
|
Answer» Correct choice is (c) line |
|
| 13. |
The polygon is assumed to be _____________ and vertices are ordered clockwise or anti-clockwise while applying line clipping algorithms.(a) cylindrical(b) concave(c) plane(d) convexI have been asked this question in an online interview.My doubt stems from Line Clipping Using Non Rectangular Clip Windows in section 2D Transformation and Viewing of Computer Graphics |
|
Answer» The correct CHOICE is (d) CONVEX |
|
| 14. |
A plane duality is a map from a ______________________ to its dual plane.(a) projective plane(b) incident plane(c) parallel plane(d) reference planeI got this question at a job interview.This key question is from Line Clipping Using Non Rectangular Clip Windows topic in division 2D Transformation and Viewing of Computer Graphics |
|
Answer» Correct choice is (a) PROJECTIVE plane |
|
| 15. |
O algorithm is simple and easy to implement.(a) True(b) FalseThis question was addressed to me in an interview for job.This interesting question is from Line Clipping Using Non Rectangular Clip Windows in portion 2D Transformation and Viewing of Computer Graphics |
|
Answer» Correct option is (B) False |
|
| 16. |
Which type of search can be applied to O algorithm?(a) interpolation search(b) binary search(c) simple search(d) hexadecimal searchI got this question in semester exam.This interesting question is from Line Clipping Using Non Rectangular Clip Windows topic in portion 2D Transformation and Viewing of Computer Graphics |
|
Answer» CORRECT answer is (b) BINARY search For EXPLANATION: Binary search can be applied to O ALGORITHM which leads to run-time complexity. |
|
| 17. |
O algorithm is also known as __________________(a) Lg N algorithm(b) Lg P algorithm(c) Lg M algorithm(d) Lg O algorithmI have been asked this question during an interview for a job.The origin of the question is Line Clipping Using Non Rectangular Clip Windows topic in portion 2D Transformation and Viewing of Computer Graphics |
|
Answer» The CORRECT answer is (a) Lg N algorithm |
|
| 18. |
Which algorithm classifies vertices against the given line?(a) P algorithm(b) NLN clipping algorithm(c) Skala(d) O algorithmThe question was posed to me by my school principal while I was bunking the class.I'd like to ask this question from Line Clipping Using Non Rectangular Clip Windows in section 2D Transformation and Viewing of Computer Graphics |
|
Answer» CORRECT choice is (d) O ALGORITHM The explanation is: O algorithm CLASSIFIES vertices against the given line in the implicit form p: AX + by + c = 0. Another name of O algorithm is Lg N algorithm. |
|
| 19. |
Which method of clipping is used against convex polygon?(a) Lg N clipping algorithm(b) Skala(c) NLN clipping(d) Sutherland clippingThis question was addressed to me in an interview for job.The question is from Line Clipping Using Non Rectangular Clip Windows topic in division 2D Transformation and Viewing of Computer Graphics |
|
Answer» The correct option is (b) SKALA |
|
| 20. |
Which method of clipping is based on duality?(a) Skala(b) Sutherland clipping(c) Liam Barsky method(d) NLN clippingThe question was posed to me during an interview.My doubt stems from Line Clipping Using Non Rectangular Clip Windows in portion 2D Transformation and Viewing of Computer Graphics |
|
Answer» The correct choice is (a) SKALA |
|
| 21. |
The division of area is affected by the position of endpoints.(a) True(b) FalseThis question was posed to me in an online interview.This interesting question is from Nicholl-Lee-Nicholl Line Clipping topic in chapter 2D Transformation and Viewing of Computer Graphics |
|
Answer» Correct CHOICE is (b) False |
|
| 22. |
What is the denotation of a ray if it intersects the top and right boundary?(a) RT(b) TR(c) LR(d) LTThe question was posed to me during an online exam.The question is from Nicholl-Lee-Nicholl Line Clipping in section 2D Transformation and Viewing of Computer Graphics |
|
Answer» The correct answer is (B) TR |
|
| 23. |
These areas are given names depending on the location of ___________________(a) endpoints(b) initial points(c) intermediate points(d) intersection pointsThe question was asked in a national level competition.The origin of the question is Nicholl-Lee-Nicholl Line Clipping in division 2D Transformation and Viewing of Computer Graphics |
|
Answer» The correct OPTION is (b) initial points |
|
| 24. |
What is the denotation of a ray if it intersects the top boundary?(a) L(b) T(c) P(d) BI got this question at a job interview.I'm obligated to ask this question of Nicholl-Lee-Nicholl Line Clipping topic in chapter 2D Transformation and Viewing of Computer Graphics |
|
Answer» The correct option is (B) T |
|
| 25. |
In how many areas the initial point should be present?(a) 3(b) 5(c) 2(d) 8The question was posed to me in an international level competition.I need to ask this question from Nicholl-Lee-Nicholl Line Clipping in portion 2D Transformation and Viewing of Computer Graphics |
|
Answer» The correct answer is (a) 3 |
|
| 26. |
The area around the clipping window is divided into a number of different ______________(a) pixels(b) squares(c) areas(d) linesThis question was addressed to me in a national level competition.This question is from Nicholl-Lee-Nicholl Line Clipping topic in portion 2D Transformation and Viewing of Computer Graphics |
|
Answer» CORRECT answer is (c) areas To explain I WOULD say: The area around the clipping window is DIVIDED into a number of different areas, depending on the position of the initial point of the line to be clipped. |
|
| 27. |
A polygon can be clipped by using the Nicholl-Lee-Nicholl algorithm.(a) True(b) FalseI had been asked this question in an interview for job.This interesting question is from Nicholl-Lee-Nicholl Line Clipping topic in portion 2D Transformation and Viewing of Computer Graphics |
|
Answer» Correct OPTION is (b) False |
|
| 28. |
Cohen Sutherland clipping algorithm computes _______ number of intersections than NLN line clipping.(a) more(b) less(c) same(d) can’t be predictedThis question was posed to me by my college director while I was bunking the class.The query is from Nicholl-Lee-Nicholl Line Clipping in portion 2D Transformation and Viewing of Computer Graphics |
|
Answer» Correct answer is (a) more |
|
| 29. |
What is full form of NLN line clipping algorithm?(a) Nicholl-Liang-Nicholl algorithm(b) Nicholai-Liang-Nicholl algorithm(c) Nicholai-Lee-Nicholl algorithm(d) Nicholl-Lee-Nicholl algorithmThis question was addressed to me by my college professor while I was bunking the class.The query is from Nicholl-Lee-Nicholl Line Clipping topic in section 2D Transformation and Viewing of Computer Graphics |
|
Answer» Right OPTION is (d) Nicholl-Lee-Nicholl algorithm |
|
| 30. |
Liang-Barsky clipping algorithm computes _______ number of intersections than NLN line clipping.(a) more(b) less(c) same(d) can’t be predictedThe question was asked in quiz.The question is from Nicholl-Lee-Nicholl Line Clipping in section 2D Transformation and Viewing of Computer Graphics |
|
Answer» CORRECT choice is (a) more The explanation is: ONE of the problems common to both the Cohen-Sutherland and the Liang-Barsky ALGORITHM is that more intersections are computed than NECESSARY. |
|
| 31. |
What is the relative speed improvement over Cohen-Sutherland algorithm for 2-D lines?(a) 40%(b) 50%(c) 70%(d) 36%I had been asked this question during an online exam.My question comes from Liang-Barsky Line Clipping topic in chapter 2D Transformation and Viewing of Computer Graphics |
|
Answer» CORRECT choice is (d) 36% The best I can EXPLAIN: The relative SPEED improvement over Sutherland-Cohen algorithm are: – 36% for 2D lines, 40% for 3D lines, 70% for 4D lines. |
|
| 32. |
How many inequalities are solved in this algorithm?(a) 3(b) 2(c) 1(d) 4The question was asked in a national level competition.This is a very interesting question from Liang-Barsky Line Clipping topic in chapter 2D Transformation and Viewing of Computer Graphics |
|
Answer» The correct CHOICE is (d) 4 |
|
| 33. |
When pk < 0, then the line is ___________(a) parallel to the boundaries(b) exceeding the boundaries(c) bounded inside the boundaries(d) can’t sayI have been asked this question during an interview for a job.Asked question is from Liang-Barsky Line Clipping in chapter 2D Transformation and Viewing of Computer Graphics |
|
Answer» CORRECT CHOICE is (b) exceeding the boundaries Explanation: When pk < 0 LINE starts exceeding the boundary while if pk > 0 line is bounded INSIDE the boundary. When the line is parallel then pk = 0. |
|
| 34. |
Which type of arithmetic is used in Liang Barsky algorithm?(a) simple arithmetic operations(b) floating point arithmetic(c) fixed point arithmetic(d) logarithmic operationsI had been asked this question by my school teacher while I was bunking the class.The query is from Liang-Barsky Line Clipping topic in portion 2D Transformation and Viewing of Computer Graphics |
|
Answer» RIGHT answer is (b) FLOATING point arithmetic The explanation: Liang and Barsky have created an ALGORITHM that uses floating-point arithmetic but finds the appropriate ENDPOINTS with at most four computations with USE of parametric equations. |
|
| 35. |
When the line is parallel to the boundaries then what is the value of pk?(a) pk < 0(b) pk > 0(c) pk = 0(d) pk = 1I have been asked this question during an interview.This interesting question is from Liang-Barsky Line Clipping topic in section 2D Transformation and Viewing of Computer Graphics |
|
Answer» Correct choice is (c) pk = 0 |
|
| 36. |
The Liang-Barsky algorithm is more efficient than the Cohen Sutherland algorithm.(a) True(b) FalseI got this question in an interview for internship.My enquiry is from Liang-Barsky Line Clipping topic in division 2D Transformation and Viewing of Computer Graphics |
|
Answer» Right option is (a) True |
|
| 37. |
This algorithm uses the ____________ equations for a line and solves four inequalities.(a) linear(b) quadratic(c) cubic(d) parametricThis question was addressed to me in homework.This interesting question is from Liang-Barsky Line Clipping topic in section 2D Transformation and Viewing of Computer Graphics |
|
Answer» CORRECT answer is (d) PARAMETRIC Explanation: This ALGORITHM uses the parametric equations for a LINE and solves FOUR inequalities to find the range of the parameter for which the line is in the viewport. |
|
| 38. |
Liang Barsky algorithm can be used to clip 3-D lines.(a) True(b) FalseI got this question in an online quiz.The doubt is from Liang-Barsky Line Clipping in division 2D Transformation and Viewing of Computer Graphics |
|
Answer» RIGHT choice is (a) True Best explanation: Liang Barsky ALGORITHM can be used for 1-D LINES, 2-D lines, and 3-D LINE clipping. This algorithm can be used for line clipping of 4-D lines too. |
|
| 39. |
The ideas of the Liang-Barsky algorithm are the same with which algorithm?(a) Cyrus Beck algorithm(b) Liam-Chopsky algorithm(c) Cohen Sutherland algorithm(d) All have the sameThe question was posed to me in quiz.The origin of the question is Liang-Barsky Line Clipping topic in division 2D Transformation and Viewing of Computer Graphics |
|
Answer» The correct option is (a) Cyrus BECK ALGORITHM |
|
| 40. |
The logical ______ of the endpoint codes determines if the line is completely inside the window.(a) AND(b) OR(c) NOT(d) NORThe question was posed to me by my college director while I was bunking the class.Enquiry is from Cohen-Sutherland Line Clipping in section 2D Transformation and Viewing of Computer Graphics |
|
Answer» Right choice is (b) OR |
|
| 41. |
Liang–Barsky algorithm is a __________ clipping algorithm.(a) circle(b) text(c) line(d) pixelThe question was posed to me in an online interview.The question is from Liang-Barsky Line Clipping topic in division 2D Transformation and Viewing of Computer Graphics |
|
Answer» The correct CHOICE is (c) LINE |
|
| 42. |
If the logical AND of the endpoint codes is NOT zero, the line can be trivially accepted.(a) True(b) FalseThe question was asked in an interview for job.This interesting question is from Cohen-Sutherland Line Clipping topic in chapter 2D Transformation and Viewing of Computer Graphics |
|
Answer» RIGHT answer is (B) False The best explanation: Once the codes for each endpoint of a line are determined, the logical AND OPERATION of the codes determines if the line is completely outside of the WINDOW. If the logical AND of the endpoint codes is not zero, the line can be trivially rejected and if it is zero, then only it is accepted. |
|
| 43. |
The 4-bit code of bottom-right region of the window is ____________(a) 1001(b) 0101(c) 1010(d) 0110I got this question in examination.Query is from Cohen-Sutherland Line Clipping topic in division 2D Transformation and Viewing of Computer Graphics |
|
Answer» RIGHT answer is (d) 0110 Easiest EXPLANATION: The sequence for reading the CODES’ BITS is LRBT (Left, Right, Bottom, Top). SINCE it is in the bottom-right corner of the window, hence its code will be 0110. |
|
| 44. |
The 4-bit code of top-left region of the window is ____________(a) 1001(b) 1100(c) 0101(d) 1010This question was posed to me in exam.This interesting question is from Cohen-Sutherland Line Clipping in section 2D Transformation and Viewing of Computer Graphics |
|
Answer» Correct answer is (a) 1001 |
|
| 45. |
If both codes are 0000, (bitwise OR of the codes yields 0000) line lies __________________ the window.(a) completely outside(b) half inside half outside(c) completely inside(d) can’t say anythingThis question was posed to me in unit test.My enquiry is from Cohen-Sutherland Line Clipping in section 2D Transformation and Viewing of Computer Graphics |
|
Answer» Right answer is (C) completely inside |
|
| 46. |
The Cohen–Sutherland algorithm can be only be used on a rectangular clip window.(a) True(b) FalseThis question was posed to me in an internship interview.I'd like to ask this question from Cohen-Sutherland Line Clipping topic in chapter 2D Transformation and Viewing of Computer Graphics |
|
Answer» RIGHT option is (a) True The BEST explanation: The Cohen–Sutherland algorithm can be USED only on a rectangular clip window. For other CONVEX polygon clipping WINDOWS, use the Cyrus–Beck algorithm. |
|
| 47. |
The centre region of the screen and the window can be represented as________(a) 0000(b) 1111(c) 0110(d) 1001I have been asked this question in examination.Question is from Cohen-Sutherland Line Clipping topic in section 2D Transformation and Viewing of Computer Graphics |
|
Answer» The correct choice is (a) 0000 |
|
| 48. |
What is the name of the small integer which holds a bit for the result of every plane test?(a) setcode(b) outcode(c) incode(d) bitcodeThis question was posed to me in an interview for internship.This interesting question is from Cohen-Sutherland Line Clipping topic in portion 2D Transformation and Viewing of Computer Graphics |
|
Answer» Right OPTION is (b) OUTCODE |
|
| 49. |
An outcode can have ____ bits for two-dimensional clipping and ____ bits for three-dimensional clipping.(a) 4,6(b) 6,8(c) 2,4(d) 1,3This question was addressed to me in an international level competition.I want to ask this question from Cohen-Sutherland Line Clipping topic in chapter 2D Transformation and Viewing of Computer Graphics |
|
Answer» The correct ANSWER is (a) 4,6 |
|
| 50. |
The Cohen-Sutherland algorithm divides the region into _____ number of spaces.(a) 8(b) 6(c) 7(d) 9I had been asked this question in class test.This interesting question is from Cohen-Sutherland Line Clipping topic in division 2D Transformation and Viewing of Computer Graphics |
|
Answer» RIGHT choice is (d) 9 Explanation: The Cohen-Sutherland algorithm DIVIDES a two-dimensional space into 9 REGIONS and then efficiently DETERMINES the lines and portions of lines that are visible. The portions are visible in the central region of interest. |
|