Unit-II-Solved-MCQs CG
Unit-II-Solved-MCQs CG
1. The basic geometric structures provided by graphics primitive packages are referred to as ____________. A) inputs B)
input primitives C) outputs D) output primitives
9. The multiplication of a vector and the reciprocal of its length is equal to __________________. A) zero B) one C) Can’t
define D) none of these
10. The process of turning on the pixels for a line segment is called _______________.
A) vector generation B) line generation C) pixel generation D) (a) or (b)
11. The line drawn using line drawing algorithm should be displayed with ____________ brightness. A) varying B)
constant C) minimum D) maximum
13. The end point accuracy of DDA line drawing algorithm is ____________.
A) good B) better C) best D) poor
15. DDA line drawing algorithm for calculating pixel positions is ____________ the direct use of equation y = mx+b. A)
slower than B) faster than C) of equal speed to that of D) none of these
16. Algorithms those use the outputs of the previous iteration, in the computation of outputs in the current iteration are called
_____________algorithms.
A) successive approximation B) incremental C) double refreshing D) scan-line
17. The advantage of Bresenham’s algorithm over conventional DDA algorithm is ________________? A) no
rounding operation B) use of integer addition and subtraction C) producing smooth appearance D) less number
of iterations
18. In one octant of the circle is generated, to complete the generation of full circle, how many reflections are required? A) 1
B) 2 C) 4 D) 8
19. The best line drawing algorithm among all possible line drawing algorithms is ________________. A) DDA B) Algorithm
which uses direct equation of line C) Bresenham’s algorithm D) None of these
20. The value of initial decision parameter in Bresenham’s line drawing lgorithm for |m| < 1 is ______________. A)
2∆��− ∆�� B) 2∆�� + ∆�� C) -2∆�� +∆�� D) -2∆�� − ∆��
21. The value of initial decision parameter in mid point circle drawing algorithm is ______________. A) 3 − 2r B)
5/4 − r C) 1 − 2r D) 3-3
22. Points P1(3.2, 7.8) and P2(3.7, 7.1) are both represented by pixel _____________.
A) (3, 8) B) (4, 7) C) (3, 7) D) (4, 8)
24. The anti-aliasing technique which allows shift of ¼, ½ and ¾ of a pixel diameter enabling a closer path of a line is ________. A)
pixel phasing B) filtering C) intensity compensation D) sampling technique
26. Pixel phasing is a technique for _____________.
A) shading B) anti-aliasing C) hidden line control D) none of these
27. A line connecting the points (1, 1) and (5, 3) is to be drawn, using the DDA algorithm. Find the values of x and y increments. A) x-
increment =1, y-increment = 1 B) x-increment =0.5, y-increment = 1
C) x-increment =1, y-increment = 0.5 D) none of these
28. Which of the following algorithms can be used for circle generation?
A) Bresenham’s algorithm B) Midpoint algorithm C) Both (a) and (b) D) none of these
30. Slope of the line joining the points (1, 2) and (3, 4) is _____________.
A) 0 B) 1 C) 2 D) 3
31. ____________is a global character set that enables information from any language to be stored using a single character set. A)
Gcode B) Unicode C) Mcode D) Globalcode
32. ____________ provides a unique code value for every character, regardless of the platform, program or language. A) Gcode
B) Unicode C) Mcode D) Globalcode
36. One Unicode character can be 1 byte, 2 bytes, 3 bytes or 4 bytes in ______________ encoding. A) UTF-8 B) UCS-2 C) UTF-
16 D) none of these
______________.
45. If two endpoints of a line segment are P1 (x1, y1) and P2 (x2, y2), then the length of the line segment P1P2, L is given by ______. A) L
= [ (x2 - x1)2+ (y2 - y1)2] B) L = [ (x2 - x1)2- (y2 - y1)2 ]1/2 C) L = [ (x2 - x1)2+ (y2 - y1)2 ]1/2 D) none
47. The brightness of the line is dependent on the _____________of the line.
A) orientation B) start and end points C) length D) none of these
48. ___________ is the Unicode encoding used by Java and Microsoft Windows NT 4.0.
A) UTF-8 B) UCS-2 C) UTF-16 D) Both (b) and (c)
49. _____________ provides better compatibility with Java and Microsoft clients.
A) UTF-8 B) UCS-2 C) UTF-16 D) Both (b) and (c)
50. Sign function makes the DDA line drawing algorithm work in ____________ quadrants.
A) I and II B) I and III C) II and III D) all