1.

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 CODESBITS is LRBT (Left, Right, Bottom, Top). SINCE it is in the bottom-right corner of the window, hence its code will be 0110.


Discussion

No Comment Found

Related InterviewSolutions