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

Q 2 - Which of the following attribute of text tag of SVG sets the rotation to be applied to all glyphs?

A - rotation

B - y

C - dx

D - dy

Answer : A

Explanation

'rotation' attribute of text tag of SVG sets the rotation to be applied to all glyphs.

Answer : C

Explanation

Both of the above are correct.

Q 4 - Can we get an active SVG element using javascript?

A - true

B - false

Answer : A

Explanation

In javascript functions, event represents current event and can be used to get the target element on which event got raised.

Q 5 - Which of the following represents y-axis co-ordinate of the center of the circle?

A - y

B - cy

C - height

D - None of the above

Answer : B

Explanation

cy − y-axis co-ordinate of the center of the circle. Default is 0.

Q 6 - Which of the following represents x-axis radius of the ellipse?

A - x

B - cx

C - rx

D - None of the above

Answer : C

Explanation

rx - x-axis radius of the ellipse.

Answer : B

Explanation

When commands are in Lower case, these represents relative 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 - Which of the following is used to pass points to draw a polygon?

A - points

B - d

C - path

D - None of the above.

Answer : A

Explanation

points − List of points to make up a polygon.

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