1. Home
  2. Computer Science MCQs
  3. Computer Graphics
  4. Which line-clipping algorithm assigns a 4-bit region code…

Added 2 Nov 2026

Which line-clipping algorithm assigns a 4-bit region code to each endpoint?

  1. Weiler–Atherton
  2. Sutherland–Hodgman
  3. Cohen–Sutherland Correct answer
  4. Liang–Barsky

Correct answer

C. Cohen–Sutherland

17 views

MCQSEXAM

Explanation

Cohen–Sutherland codes each endpoint by its position relative to the clip window (above, below, left, right), so lines entirely inside or outside are accepted or rejected quickly. Sutherland–Hodgman clips polygons.

Reference

Asked in: NTS, GATE CS

Preparing for an exam?

Doubts & discussion

Not sure why the answer is C? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More Computer Graphics MCQs

Practise all Computer Graphics MCQs

Similar MCQs