18CS62 CGV QuestionBank Module 1
18CS62 CGV QuestionBank Module 1
Module-1
Computer Graphics and OpenGL
7 Write a short note on Input devices. (Feb 2021, Jan 2019, Jan 2018) CO1 L1 5M
8 Define the following terms with respect to Computer Graphics. CO1 L3 10M
(Jan 2022, July 2019, Jan 2018)
i) Bitmap ii) Pixmap iii) Aspect ratio iv) Frame buffer v) Scanline.
9 Write code snippet of DDA line drawing algorithm. Apply DDA line drawing CO1 L3 10M
algorithm to draw a line segment with the vertices.
(Jan 2022, July 2019, Jan 2018)
i) (3, 2) and (4, 7) ii) (0, 0) and (5, 6).
10 Apply Bresenham's line drawing algorithm to draw a linesegment with the CO1 L3 10M
vertices. (Feb 2023, Jan 2022, July 2019, Jan 2018)
i) (5, 5) and (13, 9) ii) (0, 0) and (5, 4).
11 Use the midpoint circle algorithm to draw the circle. (Jan 2022, July 2019, CO1 L3 10M
Jan 2018)
i) Centered at (4, -4) with radius 8
ii) Centered at (0, 0) with radius 15