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

Answer : C

Explanation

Both of the above options are correct.

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

Answer : A

Explanation

polygon tag of SVG is used to draw a close ended polygon.

Answer : D

Explanation

SVG uses <filter> element to define filters. <filter> element uses an id attribute to uniquely identify it.Filters are defined within <def> elements and then are referenced by graphics elements by their ids.

Q 4 - Are mouse events, keyboard events supported in SVG?

A - true

B - false

Answer : A

Explanation

Yes! SVG elements support mouse events, keyboard events.

Q 5 - Which of the following represents y-axis co-ordinate of the center of the ellipse?

A - y

B - cy

C - ry

D - None of the above

Answer : B

Explanation

cy − y-axis co-ordinate of the center of the ellipse.

Q 6 - Which of the following command of path element creates a line?

A - M

B - L

C - H

D - V

Answer : B

Explanation

L command of path element creates a line.

Answer : A

Explanation

When commands are in Upper case, these represents absolute path.

Q 8 - What is the default value of y-axis co-ordinate of top left of the rectangle?

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 polygon?

A - points

B - d

C - path

D - None of the above.

Answer : A

Explanation

points − List of points to make up a polygon.

Q 10 - c command of path element creates a curve.

A - true

B - false

Answer : A

Explanation

c command of path element creates a curve.

svg_questions_answers.htm
Advertisements