SVG Multiple Choice Questions:-
1. What SVG stands for?
A. Scalar Vector Graph
B. Scalable Vector Graphics
C. Scalable Vector Graph
D. None of the above.
Ans: B
2. Which of the following is true about SVG?
A. SVG is an XML based format to draw vector images.
B. It is used to draw two. dimentional vector images.
C. Both of the above.
D. None of the above.
Ans: C
3. Which of the following is true about SVG?
A. SVG is intended to display images over the web.
B. Being vector images, SVG image never loses quality no matter how they are zoomed out or resized.
C. SVG images supports interactivity and animation.
D. All of the above.
Ans: D
4. Which of the following is true about SVG?
A. SVG is a W3C standard.
B. Others image formats like raster images can also be clubbed with SVG images.
C. SVG integrates well with XSLT and DOM of HTML.
D. All of the above.
Ans: D
5. Which of the following is an advantage of using SVG?
A. Use any text editor to create and edit SVG images.
B. Being XML based, SVG images are searchable, indexable and can be scripted and compressed.
C. SVG images are highly scalable as they never loses quality no matter how they are zoomed out or resized.
D. All of the above.
Ans: D
6. Which of the following is an advantage of using SVG?
A. Good printing quality at any resolution.
B. SVG is an Open Standard and is free to use.
C. Both of the above.
D. None of the above.
Ans: C
7. Which of the following is a disadvantage of using SVG?
A. Being text format size is larger then compared to binary formatted raster images.
B. Size can be big even for small image.
C. Both of the above.
D. None of the above.
Ans: C
8. Which of the following tag of SVG is used to draw a rectangle?
A. rect
B. rectangle
C. Both of the above.
D. None of the above.
Ans: A
9. Which of the following tag of SVG is used to draw a circle?
A. circle
B. ellipse
C. Both of the above.
D. None of the above.
Ans: A
10. Which of the following tag of SVG is used to draw an ellipse?
A. circle
B. ellipse
C. Both of the above.
D. None of the above.
Ans: B
11. Which of the following tag of SVG is used to draw a line?
A. linear
B. line
C. Both of the above.
D. None of the above.
Ans: B
12. Which of the following tag of SVG is used to draw a close-ended polygon?
A. polygon
B. polyline
C. path
D. None of the above.
Ans: A
13. Which of the following tag of SVG is used to draw an open-ended polygon?
A. polygon
B. polyline
C. path
D. None of the above.
Ans: B
14. Which of the following tag of SVG is used to draw a free flow path?
A. polygon
B. polyline
C. path
D. None of the above.
Ans: C
15. Which of the following tag of SVG is used to draw text?
A. text
B. polyline
C. path
D. None of the above.
Ans: A
16. Which of the following attribute of text tag of SVG represents the x-axis coordinates of glyphs?
A. x
B. y
C. dx
D. by
Ans: A
17. Which of the following attribute of text tag of SVG represents the y-axis coordinates of glyphs?
A. x
B. y
C. dx
D. by
Ans: B
18. Which of the following attribute of text tag of SVG represents shift along with x-axis?
A. x
B. y
C. dx
D. by
Ans: C
19. Which of the following attribute of text tag of SVG represents shift along with y-axis?
A. x
B. y
C. dx
D. by
Ans: D
20. Which of the following attribute of text tag of SVG sets the rotation to be applied to all glyphs?
A. rotation
B. y
C. dx
D. by
Ans: A
21. Which of the following attribute of the text tag of SVG sets the rendering length of the text?
A. rotation
B. text length
C. dx
D. by
Ans: B
22. Which of the following stroke property defines the color of text, line or outline of an element?
A. stroke
B. stroke-width
C. stroke-line cap
D. stroke-disarray
Ans: A
23. Which of the following stroke property defines a thickness of text, line or outline of an element?
A. stroke
B. stroke-width
C. stroke-line cap
D. stroke-disarray
Ans: B
24. Which of the following stroke property defines different types of ending of a line or outline of an element?
A. stroke
B. stroke-width
C. stroke-line cap
D. stroke-disarray
Ans: C
25. Which of the following stroke property used to create dashed lines?
A. stroke
B. stroke-width
C. stroke-line cap
D. stroke-disarray
Ans: D
SVG Objective Questions Pdf Free Download::
26. Which of the following is true about SVG filters?
A. SVG uses an element to define filters.
B. element uses an id attribute to uniquely identify it.
C. Filters are defined within elements and then are referenced by graphics elements by their ids.
D. All of the above.
Ans: D
27. Which of the following is a valid SVG filter?
A. feBlend
B. feColorMatrix
C. feComponentTransfer
D. All of the above.
Ans: D
28. Which of the following is a valid SVG filter?
A. feComposite
B. feConvolveMatrix
C. feDiffuseLighting
D. All of the above.
Ans: D
29. Which of the following is true about SVG patterns?
A. SVG uses an element to define patterns.
B. Patterns are defined using element.
C. Patterns are used to fill graphics elements in a tiled fashion.
D. All of the above.
Ans: D
30. Which of the following is true about SVG gradients?
A. SVG Gradient refers to the smooth transition of one color to another color within a shape.
B. SVG provides two types of gradients.
C. Both of the above.
D. None of the above.
Ans: C
31. Which of the following is true about Linear gradients?
A. Linear Gradients represents a linear transition of one color to another from one direction to another.
B. It is defined using element.
C. Both of the above.
D. None of the above.
Ans: C
32. Which of the following is true about Radial gradients?
A. Radial Gradients represents a circular transition of one color to another from one direction to another.
B. It is defined using element.
C. Both of the above.
D. None of the above.
Ans: C
33. Can SVG images be made responsive to user actions?
A. true
B. false
Ans: A
34. Can we write javascript functions in SVG images?
A. true
B. false
Ans: A
35. Are mouse events, keyboard events supported in SVG?
A. true
B. false
Ans: A
36. Can we get an SVG document using javascript?
A. true
B. false
Ans: A
37. Can we get an active SVG element using javascript?
A. true
B. false
Ans: A
38. Which of the following element of SVG is used to create links?
A. text
B. a
C. Link
D. None of the above
Ans: B
39. Using which of the following way can you embed an SVG image in an HTML page?
A. using the embed tag
B. using object tag
C. using iframe
D. All of the above
Ans: D
40. Which of the following represents the x-axis coordinate of the top left of the rectangle?
A. x
B. Rx
C. width
D. None of the above
Ans: A
41. Which of the following represents the y-axis coordinate of the top left of the rectangle?
A. y
B. by
C. height
D. None of the above
Ans: A
42. Which of the following represents the width of the rectangle?
A. x
B. Rx
C. width
D. None of the above
Ans: C
43. Which of the following represents the height of the rectangle?
A. y
B. by
C. height
D. None of the above
Ans: C
44. Which of the following is used to round the corner of the rounded rectangle along x-axis?
A. x
B. Rx
C. width
D. None of the above
Ans: B
45. Which of the following is used to round the corner of the rounded rectangle along y-axis?
A. y
B. by
C. height
D. None of the above
Ans: B
46. Which of the following represents x-axis coordinate of the center of the circle?
A. x
B. cx
C. width
D. None of the above
Ans: B
47. Which of the following represents the y-axis coordinate of the center of the circle?
A. y
B. by
C. height
D. None of the above
Ans: B
48. Which of the following represents the radius of the circle?
A. y
B. by
C. r
D. None of the above
Ans: C
49. Which of the following represents the x-axis coordinate of the center of the ellipse?
A. x
B. cx
C. Rx
D. None of the above
Ans: B
50. Which of the following represents the y-axis coordinate of the center of the ellipse?
A. y
B. by
C. ry
D. None of the above
Ans: B