SVG - Online Quiz
Following quiz provides Multiple Choice Questions (MCQs) related to SVG Framework. You will have to read all the given answers and click over the correct answer. If you are not sure about the answer then you can check the answer using Show Answer button. You can use Next Quiz button to check new set of questions in the quiz.
Q 1 - 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.
Answer : D
Explanation
All of the above options are correct.
Q 2 - Which of the following attribute of text tag of SVG sets the rotation to be applied to all glyphs?
Answer : A
Explanation
'rotation' attribute of text tag of SVG sets the rotation to be applied to all glyphs.
Q 3 - Which of the following is true about SVG gradients?
A - SVG Gradient refers to smooth transition of one color to another color within a shape.
Answer : C
Explanation
Both of the above are correct.
Answer : A
Explanation
In javascript functions, event represents current event and can be used to get the target element on which event got raised.
Q 5 - Which of the following represents y-axis co-ordinate of the center of the circle?
Answer : B
Explanation
cy − y-axis co-ordinate of the center of the circle. Default is 0.
Q 6 - Which of the following represents x-axis radius of the ellipse?
Answer : C
Explanation
rx - x-axis radius of the ellipse.
Q 7 - When commands of Path element takes relative path?
A - When commands are in Upper case
Answer : B
Explanation
When commands are in Lower case, these represents relative path.
Q 8 - What is the default value of x-axis co-ordinate of top left of the rectangle?
Answer : A
Explanation
Default value is 0.
Q 9 - Which of the following is used to pass points to draw a polygon?
Answer : A
Explanation
points − List of points to make up a polygon.
Answer : A
Explanation
s command of path element creates a smooth curve.