You are on page 1of 2

KONGU ENGINEERING COLLEGE

(Autonomous)
PERUNDURAI ERODE-638 060
DEPARTMENTOFCOMPUTER TECHNOLOGY-PG

Subject: 20ISE06 – Computer Graphics


Year and semester: III & VI
Date: 05.03.2024
Topics: Unit -III: Point and Line Clipping.
TUTORIAL – 3 QUESTION BANK
2 marks:
1. Define clipping. K1
2. What is meant by clip window? K1
3. Difference between window and viewport. K2
4. Provide the condition in which the point P(x,y) will be included in clipping K1
window.
5. List the various cases of line clipping. K1
6. Compare liang barsky line clipping algorithm with cohen Sutherland algorithm. K2
7. Define region code. K1
8. Draw the clipping window of cohen Sutherland with region code. K1
9. How values of coordinates will be calculated in cohen Sutherland if the end point K1
is in vertical or horizontal line?
10. In cohen Sutherland, what are the possible values of K1
a. X if the end point is in vertical line.
b. Y if the end point is in horizontal line.
11. In Liang Barsky line clipping, how (x,y) are derived from parametric equation? K1
12. Compute the possible cases for qk if Pk =0 in Liang Barsky line clipping. K3
13. Find ∆x and ∆y values if window coordinates x(5,9) and y(5,9). K3

10 marks:
1. Apply Liang Barsky line clipping for x(0,1) and y(0,1) when P1(-1,-2) and P2(2,4) K3
2. Use cohen Sutherland line clipping for x(100,300) and y(100,300) when end points K3
for line 1 are (50,150) and (400,200) and line 2 are (100,50) and (300,50)
3. Write a procedure to implement cohen Sutherland line clipping. Also illustrate the K2
specific step in clipping line against rectangular boundaries using the same
algorithm.
4. Illustrate the Liang Barsky line clipping algorithm. K2

COURSE TEACHER ACADEMIC COORDINATOR


KONGU ENGINEERING COLLEGE
(Autonomous)
PERUNDURAI ERODE-638 060
DEPARTMENTOFCOMPUTER TECHNOLOGY-PG

Subject: 20ISE06 – Computer Graphics


Year and semester: III & VI
Date: 05.03.2024
TUTORIAL – 3
Total: 20 marks
2 marks: (5*2 = 10 marks)
1. How translation is applied to an object? K1
2. What is meant by rotation? K1
3. How the scaling transformations alter the size of an object? K1
4. Define translation vector. K1
5. How to apply two successive scaling? K1

10 marks: (1*10 = 10 marks)


1. Compute Double rotation, general pivot point rotation and general fixed-point K2
scaling.

COURSE TEACHER ACADEMIC COORDINATOR

You might also like