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

A - circle

B - ellipse

C - Both of the above.

D - None of the above.

Answer : A

Explanation

circle tag of SVG is used to draw a circle.

Q 2 - Which of the following tag of SVG is used to draw a open ended polygon?

A - polygon

B - polyline

C - path

D - None of the above.

Answer : B

Explanation

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

Answer : D

Explanation

All of the above are correct.

Q 4 - Can we get an active SVG element using javascript?

A - true

B - false

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 x-axis co-ordinate of the center of the ellipse?

A - x

B - cx

C - rx

D - None of the above

Answer : B

Explanation

cx − x-axis co-ordinate of the center of the ellipse.

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

A - M

B - L

C - H

D - V

Answer : C

Explanation

H command of path element creates a horizontal line.

Answer : B

Explanation

When commands are in Lower case, these represents relative path.

Q 8 - SVG images give good printing quality at any resolution.

A - false

B - true

Answer : B

Explanation

SVG images give good printing quality at any resolution.

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 - h command of path element creates a vertical line.

A - true

B - false

Answer : B

Explanation

h command of path element creates a horizontal line.

svg_questions_answers.htm
Advertisements