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 anything
Answer: c Explanation: To perform the trivial acceptance and rejection tests, we extend the edges of the window to divide the plane of the window into the nine regions. If both codes are 0000 and 1111, (bitwise OR of the codes yields 0000) line lies completely inside the window and outside the window respectively.