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.

Q 3 - Which of the following is a valid SVG filter?

A - feBlend

B - feColorMatrix

C - feComponentTransfer

D - All of the above.

Answer : D

Explanation

All of the above are valid SVG filters.

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

A - y

B - ry

C - height

D - None of the above

Answer : C

Explanation

height − height 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 - SVG images supports interactivity and animation.

A - false

B - true

Answer : B

Explanation

SVG images supports interactivity and animation.

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 - t command of path element creates a smooth quadratic bezier curve.

A - false

B - true

Answer : B

Explanation

q command of path element creates a smooth quadratic bezier curve.

svg_questions_answers.htm
Advertisements