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 attribute of text tag of SVG represents shift along with y-axis?

A - x

B - y

C - dx

D - dy

Answer : D

Explanation

'dy' attribute of text tag of SVG represents the shift along with y-axis.

Answer : D

Explanation

SVG uses <filter> element to define filters. <filter> element uses an id attribute to uniquely identify it.Filters are defined within <def> elements and then are referenced by graphics elements by their ids.

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 is used to round the corner of the rounded rectangle along x-axis?

A - x

B - rx

C - width

D - None of the above

Answer : B

Explanation

rx − used to round the corner of the rounded rectangle.

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.

Answer : A

Explanation

When commands are in Upper case, these represents absolute path.

Q 8 - What is the default value of x-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 end 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 - 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