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.

Questions and Answers

Q 1 - Which of the following tag of SVG is used to draw a ellipse?

A - circle

B - ellipse

C - Both of the above.

D - None of the above.

Answer : B

Explanation

ellipse tag of SVG is used to draw a ellipse.

Q 2 - 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 - dy

Answer : A

Explanation

'rotation' attribute of text tag of SVG sets the rotation to be applied to all glyphs.

Answer : D

Explanation

All of the above are correct.

Q 4 - Can we get a SVG document using javascript?

A - true

B - false

Answer : A

Explanation

In javascript functions, document represents SVG document and can be used to get the SVG elements.

Q 5 - Which of the following represents radius of the circle?

A - y

B - cy

C - r

D - None of the above

Answer : C

Explanation

r − radius of the circle.

Q 6 - Which of the following represents y-axis co-ordinate of the end point of a line?

A - x1

B - y1

C - x2

D - y2

Answer : D

Explanation

y2 − y-axis co-ordinate of the end point. Default is 0.

Q 7 - Being vector images, SVG image never loses quality no matter how they are zoomed out or resized.

A - true

B - false

Answer : A

Explanation

Being vector images, SVG image never loses quality no matter how they are zoomed out or resized.

Q 8 - What is the default value of y-axis co-ordinate of center of the circle?

A - 0

B - -1

C - Any arbitrary value.

D - None of the above.

Answer : A

Explanation

Default value is 0.

Q 9 - Which of the following is used to pass points to draw a polyline?

A - points

B - d

B - path

B - None of the above.

Answer : A

Explanation

points − List of points to make up a polyline.

Q 10 - q command of path element creates a quadratic bezier curve.

A - false

B - true

Answer : B

Explanation

q command of path element creates a quadratic bezier curve.

svg_questions_answers.htm
Advertisements