SVG - Online Quiz


Advertisements

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

SVG is a XML based format to draw vector images. It is used to draw two - dimentional vector images.

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 SVG images be made responsive to user actions?

A - true

B - false

Answer : A

Explanation

Yes! SVG images can be made responsive to user actions. SVG supports pointer events, keyboard events and document events.

Q 5 - Which of the following represents radius of the circle?

A - y

B - cy

C - r

D - None of the above

Answer : C

Explanation

r − radius of the circle.

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

A - M

B - L

C - H

D - V

Answer : D

Explanation

V command of path element creates a vertical line.

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

A - points

B - d

C - path

D - None of the above.

Answer : B

Explanation

d − path data,usually a set of commands like moveto, lineto etc.

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