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 : D

Explanation

All of the above options are correct.

Q 2 - Which of the following attribute of text tag of SVG represents the y axis cordinates of glyphs?

A - x

B - y

C - dx

D - dy

Answer : B

Explanation

'y' attribute of text tag of SVG represents the y axis cordinates of glyphs.

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

A - stroke

B - stroke-width

C - stroke-linecap

D - stroke-dasharray

Answer : A

Explanation

'stroke' property defines color of text, line or outline of any element.

Q 4 - Can we write javascript functions in SVG images?

A - true

B - false

Answer : A

Explanation

Yes! SVG supports JavaScript/ECMAScript functions. Script block is to be in CDATA block consider character data support in XML.

Q 5 - Which of the following represents y-axis co-ordinate of top left of the rectangle?

A - y

B - ry

C - height

D - None of the above

Answer : A

Explanation

y − y-axis co-ordinate of top left of the rectangle. Default is 0.

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.

Q 7 - Which of the following command of path element creates a quadratic Bezier curve?

A - C

B - S

C - Q

D - T

Answer : C

Explanation

Q command of path element creates a quadratic Bezier 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 - m command of path element move from one point to another point.

A - true

B - false

Answer : A

Explanation

m command of path element move from one point to another point.

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