# Computer Graphics MCQ Computer Science

50 Questions 30 Mins

### About Computer Graphics

Following are some of the multiple choice questions on the Computer Graphics with answers that will help the students in developing their knowledge.

## Computer Graphics MCQ

### 1. The disadvantage of line DDA is

• Time consuming
• Faster
• Neither a nor b
• None of the mentioned

• P’=S*P
• P’=R*P
• P’=dx+dy
• P’=S*S

### 3. To apply the midpoint method, we define

• circle(x, y)= x2+ y2- r2
• circle(x, y)= x+ y2- r2
• circle(x, y)= x2– y2- r2
• circle(x, y)= x2+ y2- z2

### 4. Two successive translations are___________________

• Subtractive
• Inverse
• Multiplicative

• P0=1-R
• P0=1-R2
• P0=1 + R
• P0= 1+R2

• y = m.x + b
• y = b.x + m
• y = x.x + m
• y = b + m.m

### 7. Gd parameter in initgraph() method means

• Graphic Display
• Graphic Density
• Graphic Driver
• Graphic declaration

• P’=R*P
• P’=P+T
• P’=P*P
• P’=R+P

### 9. If the boundary is specified in a single color, and if the algorithm proceeds pixel by pixel until the boundary color is encountered is called

• Scan Line Algorithm
• Flood Fill Algorithm
• Boundary Fill Algorithm
• None of the above

### 10. On raster system, lines are plotted with

• Lines
• Dots
• Pixels
• None of the mentioned

### 11. Positive values for the rotation angle ϴ defines

• Counterclockwise rotations about the end points
• Counterclockwise translation about the pivot point
• Counterclockwise rotations about the pivot point
• Negative direction

• Scaling down
• Shearing
• Scaling up
• Rotation

• 45 degree
• 180 degree
• 90 degree
• 360 degree

### 14. The seed fill algorithm for filling polygon is classified as ________ fill algorithm and _______ fill algorithm.

• Even,Odd
• Boundary, Scan
• Flood, Boundary
• Edge, Flood

### 15. Cohen-Sutherland clipping is an example of _________________

• polygon clipping
• text clipping
• curve clipping
• line clipping

### 16. Which of the following represents shearing?

• (x, y) → (x cos(θ)+y sin(θ), -x sin(θ)+y cos(θ))
• (x, y) → (ax, by)
• (x, y) → (x+ay, y+bx)
• (x, y) → (x+a, y+b)

• 8
• 9
• 4
• 6

• 6
• 9
• 12
• 4

### 19. Which of the following co-ordinates are NOT used in 2d viewing transformation?

• modelling co-ordinates
• vector co-ordinates
• viewing co-ordinates
• device co-ordinates

### 20. In line clipping, the portion of line which is _____________ of window is cut and the portion that is _____________ the window is kept.

• outside, inside
• inside, outside
• exact copy, different
• different, an exact copy

• bits
• colors
• algorithms
• pixels

• Window
• clip
• Viewport
• Segment

### 23. Transformations can be applied on _______________.

• Objects
• Co-ordinates
• Both Objects and Co-ordinates
• None of the options

### 24. For a point to be clipped, which of the following conditions must be satisfied by the point?

• ywmin = y = ywmax
• xwmin > x > xwmax
• xwmin = x = xwmax
• xwmin < x < xwmax

### 25. An accurate and efficient raster line-generating algorithm is

• DDA algorithm
• Mid-point algorithm
• Parallel line algorithm
• Bresenham’s line algorithm

### 26. __________ is a method for testing a pixel inside of a polygon.

• even-odd method
• Winding Number Method
• Both A & B
• None of these

• 0000
• 1111
• 0110
• 1001

### 28. Which algorithm is a faster method for calculating pixel positions?

• Bresenham’s line algorithm
• Parallel line algorithm
• Mid-point algorithm
• DDA line algorithm

• 8
• 6
• 7
• 9

• All of above
• practical
• appropriate,
• distinctive

### 31. What does PDF stand for?

• Portable device format
• Portable document format
• Picture document format
• Preferred document format

• 2
• many
• 1
• 3

• V-E-F=2
• V+E-F=2
• V+E+F=0
• V-E+F=2

• Perspective
• Orthogrpahic
• Isomorphic
• Progressive

• TTF, OFT
• OTF, TTF
• TTL, OLF
• OLP, TTP

### 36. Which is the best line algorithm to balance the processing load among the processers?

• Parallel line algorithm
• DDA line algorithm
• Bresenham’s line algorithm
• Position Bresenham’s line algorithm

• bitmap
• png
• jpg
• pdf

### 38. What is a digital graphic?

• A visual representation of an object
• a photograph
• An edited photograph
• All of above

• PNG
• JPG
• BMP
• PDF

### 40. The point that remains fixed during a rotational transformation is ____________.

• Lower left corner of an object
• Origin of the Co-ordinate system
• All points of the object
• None of the above

### 41. What is the use of homogeneous coordinates and matrix representation?

• To scale
• To rotate
• To treat all 3 transformations in a consistent way
• To shear the object

### 42. We can combine the multiplicative and translational terms for 2D into a single matrix representation by expandinga) 2 by 2 matrix into 4*4 matrixb) 2 by 2 matrix into 3*3c) 3 by 3 matrix into 2 by 2d) Only c

• 2 by 2 matrix into 4*4 matrix
• 2 by 2 matrix into 3*3
• 3 by 3 matrix into 2 by 2
• Only C

### 43. If both codes are 0000, (bitwise OR of the codes yields 0000) line lies __________________ the window.

• completely outside
• half inside half outside
• completely inside
• can’t say anything

• clipping
• editing
• plucking
• cutting

### 45. What is the Clipping point of a line AB where A(40,40) and B is (60,25) against a window defined by (wxmin,wymin) as (10,10) and (wxmax,wymax) as (50,50)

• (50,50)
• (50,32.50)
• (36.67, 32.50)
• (36.67,36.67)

### 46. What does PPI stand for?

• Process Post Inspect.
• Print Per Inch.
• Pixels Per Inch.
• Pixels Print Image.

• 72 PPI
• 100 PPI
• 1500 PPI
• 300 PPI

• Yes
• No

• JPEG
• GIF
• TIFF
• PNG

• #F5FA11
• #5F2871
• #DA0901
• #191919