Computer Science · Computer Graphics
Consider a rectangular window whose lower-left corner is at (-3, 1) and upper-right corner is at (2, 6). What is the 4-bit Cohen-Sutherland region code for the endpoints of the line segment PQ, where P has coordinates (-4, 2) and Q has coordinates (-1, 8)?
- 1P → 0001, Q → 0001
- 2P → 1010, Q → 1001
- 3P → 0001, Q → 1000✓
- 4P → 0000, Q → 0110
Correct answer
P → 0001, Q → 1000
Download Single Question PDF
Save this question and verified answer as a clean study sheet with live clickable link.
Share with Friends & Study Groups
Challenge your peer aspirants on WhatsApp or Telegram to solve this question!
Preparing for Computer Science?
Practice full-length mock tests with real exam timers, instant score analysis, and all-India ranking.
Want more practice questions on Computer Graphics?
Solve complete topic-wise tests with detailed solutions on GkGet.
Related Practice Questions
Recommended practice questions in Computer Science · Computer Graphics