CG IA1 Question Bank 2024
2 marks questions
1. What is Decision parameter and its need?
2. Explain putpixel function.
3. Differentiate vector scan and raster scan method
4. Write different application of computer graphics.
5. Diffrentiate DDA and Bresenham’s line drawing algorithms
6. List properties of good line.
7. What does refreshing of the screen mean?
Some method is needed for maintaining the picture on the screen. Refreshing of
screen is done by keeping the phosphorus glowing to redraw the picture repeatedly.
i.e. by quickly directing the electronic beam back to the same points.
8. What is persistence?
The time it takes the emitted light from the screen to decay one tenth of its original
intensity is called as persistence
9. What is resolution?
The maximum number of points that can be displayed without an overlap on a CRT is
called as resolution.
10. What is Aspect Ratio?
The ratio of vertical points to the horizontal points necessary to produce length of
lines in both directions of the screen is called Aspect Ratio. Usually the aspect ratio is
¾.
11.What is meant by Addressability?
Addressability is the number of individual dots per inch (d.p.i.) that can be created. If
the address of the current dot is (x, y) then the next dot will be (x + y), (x + y + 1) etc.
Consider three different raster systems with resolutions of 640 x 480, 1280 x 1024 and 2560 x
2048.
12. What size is frame buffer (in bytes) for each of these systems to store 12 bits per
pixel?
13. How much storage (in bytes) is required for each system if 24 bits per pixel are to
be stored?
1. Because eight bits constitute a byte, frame-buffer sizes of the systems are as
follows:
640 x 480 x 12 bits π 8 = 450KB
1280 x 1024 x 12 bits π 8 = 1920KB
2560 x 2048 x 12 bits π 8 = 7680KB
2. Similarly, each of the above results is just doubled for 24 (12x2) bits of storage per
pixel.
Consider two raster systems with resolutions of 640 x 480 and 1280 x 1024.
14. How many pixels could be accessed per second in each of these systems by a
display controller that refreshes the screen at a rate of 60 frames per second?
15. What is the access time per pixel in each system?
Ans. 1. Since 60 frames are refreshed per second and each frame consists of 640 x
480 pixels, the access rate of such a system is:
(640 x 480) * 60 = 1.8432 x 107 pixels/second.
Likewise, for the 1280 x 1024 system, the access rate is:
(1280 x 1024) * 60 = 7.86432 x 107 pixels/second.
2. According to the definition of access rate, we know that the access time per pixel
should be 1/(access rate). Therefore, the access time is around 54 nanoseconds/pixel
for the 640 x 480 system, and the access time is around 12.7 nanoseconds/pixel for the
1280 x 1024 system.
16. which major components (hardware and software) are needed for computer
graphics?
Ans. Besides the basic computer, some special devices and software may be required
especially for computer graphics. For hardware, a special high-resolution, color
monitor is often demanded and some input tools, e.g. mouse and joy-sticker, and hard-
copy devices, e.g. high-resolution color printer, may be required. For software, some
special purpose utilities (device-dependent and device-independent) are needed for
handling processing in computer graphics.
17. Explain flood fill algorithm.
18. Explain boundary fill algorithm
19 What is frame buffer.
5 marks questions
1. Write Bresenham’s line drawing algorithm.
2. Derive Bresenham’s line drawing algorithm
3. Derive mid-point algorithm for circle generation.
4. Derive mid-point algorithm for ellipse generation.
5 Problems based on DDA line drawing, Bresenham’s Line drawing, Mid point circle
drawing and ellipse drawing algorithm
6. Explain Scanline polygon filling algorithm