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 free flow path?

A - polygon

B - polyline

C - path

D - None of the above.

Answer : C

Explanation

path tag of SVG is used to draw a free flow path.

Answer : C

Explanation

Both of the above are correct.

Q 4 - Which of the following element of SVG is used to create links?

A - text

B - a

C - Link

D - None of the above

Answer : B

Explanation

<a> element is used to create hyperlink. 'xlink:href' attribute is used to pass the IRI (Internationalized Resource Identifiers) which is complementary to URI (Uniform Resource Identifiers).

Q 5 - Which of the following represents x-axis co-ordinate of the center of the circle?

A - x

B - cx

C - width

D - None of the above

Answer : B

Explanation

cx − x-axis co-ordinate of the center of the circle. Default is 0.

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 - Which of the following command of path element creates an elliptical arc?

A - A

B - S

C - Q

D - T

Answer : A

Explanation

A command of path element creates an elliptical arc.

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 - What is the default value of y-axis co-ordinate of center of the ellipse?

A - 0

B - -1

C - Any arbitrary value.

D - None of the above.

Answer : A

Explanation

Default value is 0.

Q 10 - h command of path element creates a horizontal line.

A - true

B - false

Answer : A

Explanation

h command of path element creates a horizontal line.

svg_questions_answers.htm
Advertisements