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

A - text

B - polyline

C - path

D - None of the above.

Answer : A

Explanation

text tag of SVG is used to draw a text.

Q 3 - Which of the following stroke property defines thickness of text, line or outline of any element?

A - stroke

B - stroke-width

C - stroke-linecap

D - stroke-dasharray

Answer : B

Explanation

'stroke-width' property defines thickness of text, line or outline of any element.

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 width of the rectangle?

A - x

B - rx

C - width

D - None of the above

Answer : C

Explanation

width − width of the rectangle.

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 a smooth curve?

A - C

B - S

C - Q

D - T

Answer : B

Explanation

S command of path element creates a smooth curve.

Q 8 - Being XML based, SVG images are searchable, indexable and can be scripted and compressed.

A - true

B - false

Answer : A

Explanation

Being XML based, SVG images are searchable, indexable and can be scripted and compressed.

Q 9 - What is the default value of y-axis co-ordinate of start point of the line?

A - -1

B - 0

C - Any arbitrary value.

D - None of the above.

Answer : B

Explanation

Default value is 0.

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

A - true

B - false

Answer : B

Explanation

v command of path element creates a vertical line.

svg_questions_answers.htm
Advertisements