Question 135Asked in DSSSB TGT Computer Science, 25 Jun 2023, Shift 1 (8:30 AM)

In Cohen Sutherland Line clipping algorithm, if a line ______ the clipping window, then the line is required to clip as it is considered partially visible.

  1. Afalls inside
  2. Bfalls outside
  3. Cintersects
  4. Dfalls on
Show answerHide answer

Correct answer: (C) intersects

Explanation

In Cohen-Sutherland clipping, a line that crosses (intersects) the window boundary is partially visible and must be clipped. Lines fully inside are accepted and lines fully outside are rejected.

From DSSSB TGT Computer Science PYQ, 25 Jun 2023, Shift 1 (8:30 AM)

This is question 135 of DSSSB TGT Computer Science PYQ, 25 Jun 2023, Shift 1 (8:30 AM). See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.