0% found this document useful (0 votes)
141 views

Unit-II-Solved-MCQs CG

The document contains 50 multiple choice questions related to the topics of computer graphics and Unicode encoding. Some key topics covered include: - Graphics primitives like points, lines, and polygons - Line drawing algorithms like DDA and Bresenham's algorithm - Circle generation algorithms like midpoint circle algorithm - Vector and parametric representation of lines - Unicode encodings like UTF-8, UTF-16, and UCS-2 and their properties - Anti-aliasing techniques like pixel phasing

Uploaded by

Raj Joshi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
141 views

Unit-II-Solved-MCQs CG

The document contains 50 multiple choice questions related to the topics of computer graphics and Unicode encoding. Some key topics covered include: - Graphics primitives like points, lines, and polygons - Line drawing algorithms like DDA and Bresenham's algorithm - Circle generation algorithms like midpoint circle algorithm - Vector and parametric representation of lines - Unicode encodings like UTF-8, UTF-16, and UCS-2 and their properties - Anti-aliasing techniques like pixel phasing

Uploaded by

Raj Joshi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Subject: Computer Graphics (SEM-II)

UNIT- II- MCQ’s with Solutions

1. The basic geometric structures provided by graphics primitive packages are referred to as ____________. A) inputs B)
input primitives C) outputs D) output primitives

2. ____________ and ____________ are the basic output primitives.


A) Points, lines segments B) Points, circles C) Line segments, Curves D) Circles, polygons

3. _______________ is the fundamental element of the picture representation.


A) Line segment B) Point C) Circle D) Polygon

4. Minimum ____________ points are required to represent a line.


A) two B) three C) four D) none of these

5. The equation of a line in slope intercept form is given as _____________.


A) x = my + b B) y + b = mx C) y = mx + b D) b = mx + y

6. In a equation of a line, y = mx + b, b is ______________.


A) Slope of a line B) constant
C) the height at which the line crosses the x-axis D) the height at which the line crosses the y-axis

7. When we say a line, it ____________


A) extends forward B) extends backward C) ends at two points D) extends forever both forward and backward

8. If two lines are parallel, they have ____________ slope.


A) different B) zero C) same D) none of these

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

12. The width of 45oline drawn by line drawing algorithm is __________.


A) constant B) not constant C) minimum D) maximum

13. The end point accuracy of DDA line drawing algorithm is ____________.
A) good B) better C) best D) poor

14. Floating point arithmetic in DDA algorithm is ______________.


A) Time efficient B) time consuming C) fast D) slow

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)

23. Pixel phasing is an anti-aliasing technique based on _____________.


A) hardware B) software C) both hardware and software D) none of these

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

29. Aliasing means ____________.


A) Rendering effect B) Shading effect C) Staircase effect D) Cueing effect

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

33. ____________ uses 8-bit encoding.


A) UTF-8 B) UCS-2 C) UTF-16 D) none of these

34. ____________ uses 16-bit encoding.


A) UTF-8 B) UCS-2 C) UTF-16 D) both (b) and (c)
35. ____________ uses variable-width encoding.
A) UTF-8 B) UCS-2 C) UTF-16 D) both (b) and (c)

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

37. In UTF-8, European scripts are represented in ______________.


A) 1 byte B) either 1 or 2 bytes C) 3 bytes D) 4 bytes

38. In UTF-8, Asian scripts are represented in ______________.


A) 1 byte B) either 1 or 2 bytes C) 3 bytes D) 4 bytes 39. In UTF-8, supplementary characters are represented in

______________.

A) 1 byte B) either 1 or 2 bytes C) 3 bytes D) 4 bytes


42. When a line is represented by a equation in a general form as, rx + sy + t =0, the values of r, s and t are taken so that ________. A)
r2– s2= 1 B) r2+ s2= 1 C) r2– s2= 0 D) r2+ s2= 0
44. If a line segment between (x1, y1) and (x2, y2) is represented in parametric form with a parameter u, then the expression for y can
be given as ____________.
A) y = y1 + (y2 – y1)u B) y = y1 – (y2 – y1)u C) y = y1 + (y1 – u)y2 D) y = y1 + (u – y1)y2

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

46. A vector has ________________.


A) a single direction B) a length C) nstwo directio D) both (a) and (b)

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

You might also like