Computer Graphics Unit 2
Computer Graphics Unit 2
Unit 2
1. In raster scan display, the display image is stored in the form of in the refresh buffer.
A. 1s
B. 0s
C. 1s and 0s
D. none of these
.
C.1s and 0s
2. In raster scan CRT, the beam is swept back and forth from across the screen.
A. left to right
B. right to left
C. up to down
D. down to up
.
A.left to right
4. On a black and white system with one bit per pixel , the frame buffer is called a .
A. bitmap
B. pixmap
C. bitpixmap
D. pixbitmap
.
A.bitmap
5. Aspect ratio is the ratio of to prodce equal length lines in both direction on the screen
A. vertical points to horizontal points
B. horizontal points to vertical points
C. left to riht and right to left diagonal points
D. right to left and left to right diagonal points
.
A.vertical points to horizontal points
7. The line is said to be interior to the clipping window if point(s) is/ are interior to the window.
A. any line B. one end C. both end
D. any two
.
C.both end
8. In Cohen-sutherland subdivision line clipping algorithm, bit 1 in region code is set if .
A. end point of line is to the left of the window
B. end point of line is to the right of the window
Dr. Sanjeev Tayal (HOD) BCA & B.Sc(C.S) SDCMS MZN
C. end point of line is to the below of the window
D. end point of line is to the above of the window
13. The oldest & most popular line clipping algorithm is & was developed by to speed up the
processing
(a) Cohen subdivision algorithm, Ivan Sutherland
(b) Sutherland line clipping algorithm, Den Cohen
(c) Both a & b
(d) None of the above
View Answer
Answer: (c)
16. The Cohen-Sutherland algorithm divides the region into number of spaces.
a) 8
b) 6
c) 7
d) 9
Answer: d
17. What is the name of the small integer which holds a bit for the result of every plane test?
a) setcode
b) outcode
c) incode
d) bitcode
Answer: b
18. An outcode can have bits for two-dimensional clipping and a) 4,6
b) 6,8
c) 2,4
d) 1,3
Answer: a
19. The centre region of the screen and the window can be represented as_a) 0000
b) 1111
c) 0110
d) 1001
Answer: a
bits for three-dimensional clipping.
20. The Cohen–Sutherland algorithm can be only be used on a rectangular clip window.
a) True b) False
Answer: a
21. If both codes are 0000, (bitwise OR of the codes yields 0000) line lies the window.
a) completely outside
b) half inside half outside
c) completely inside
d) can’t say anything
Answer: c
24. If the logical AND of the endpoint codes is NOT zero, the line can be trivially accepted.
a) True
b) False
Answer: b
25. The logical of the endpoint codes determines if the line is completely inside the window.
a) AND b) OR c) NOTd) NOR
Answer: b
26. In which of the following text clipping method do we only include the characters of a string that are entirely
inside the view window?
a) All or none string clipping
b) All or none character clipping
c) Text clipping
d) We don’t consider the character that are inside the view window
Answer: b
27. In which of the following text clipping method do we clip only a part of a characters of a string that is
partially outside the view window?
a) All or none string clipping
b) All or none character clipping
c) Text clipping
d) We don’t clip the character that is partially inside the view window
Answer: c
28. In exterior clipping which part of a picture is considered and saved?
a) Picture which is inside the view window
b) Picture which is on the edges of the view window
c) Picture which is outside the view window
d) We don’t consider the picture in exterior clipping
Answer: c
29. Which of the following is not a use of exterior clipping?
a) It is used for displaying properly the pictures which overlap each other
b) It is used in the concept of overlapping windows
c) Used in designing and displaying of the number of maps and charts
Dr. Sanjeev Tayal (HOD) BCA & B.Sc(C.S) SDCMS MZN
d) It is used in clipping text inside the view window
Answer: d
30. Which of the following clipping process handles the clipping of strings?
a) Curve Clipping
b) Shape Clipping
c) Exterior Clipping
d) Text Clipping
Answer: d
31. In line clipping, the portion of line which is of window is cut and the portion that is
the window is kept.
a) outside, inside
b) inside, outside
c) exact copy, different
d) different, an exact copy
Answer: a
32. What is the primary use of clipping in computer graphics?
a) adding graphics
b) removing objects and lines
c) zooming
d) copying
Answer: b
33. A polygon can be clipped using clipping operations.
a) True
b) False
Answer: a
34. Which vertex of the polygon is clipped first in polygon clipping?
a) top right
b) bottom right
c) bottom left
d) top left
Answer: d
35. How many methods of text clipping are there?
a) 5
b) 4
c) 3
d) 2
Answer: c
36. A bitmap is collection of that describes an image.
a) bits
b) colors
c) algorithms
d) pixels
Answer: d
37. We can change the size or resize the bitmap image.
a) True
b) False
Answer: b
Dr. Sanjeev Tayal (HOD) BCA & B.Sc(C.S) SDCMS MZN