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 a open ended polygon?

A - polygon

B - polyline

C - path

D - None of the above.

Answer : B

Explanation

polyline tag of SVG is used to draw a close ended polygon.

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

A - feComposite

B - feConvolveMatrix

C - feDiffuseLighting

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 x-axis co-ordinate of the center of the circle?

A - x

B - cx

C - width

D - None of the above

Answer : B

Explanation

cx − x-axis co-ordinate of the center of the circle. Default is 0.

Q 6 - Which of the following represents x-axis co-ordinate of the start point of a line?

A - x1

B - y1

C - x2

D - y2

Answer : A

Explanation

x1 − x-axis co-ordinate of the start point. Default is 0.

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

A - C

B - S

C - Q

D - T

Answer : D

Explanation

T command of path element creates a smooth quadratic Bezier curve.

Q 8 - What is the default value of x-axis co-ordinate of center of the circle?

A - 0

B - -1

C - Any arbitrary value.

D - None of the above.

Answer : A

Explanation

Default value is 0.

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

A - true

B - false

Answer : A

Explanation

s command of path element creates a smooth curve.

svg_questions_answers.htm
Advertisements