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 1 - Which of the following tag of SVG is used to draw a rectangle?

A - rect

B - rectangle

C - Both of the above.

D - None of the above.

Answer : A

Explanation

rect tag of SVG is used to draw a rectangle.

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.

Q 3 - Which of the following stroke property defines thickness of text, line or outline of any element?

A - stroke

B - stroke-width

C - stroke-linecap

D - stroke-dasharray

Answer : B

Explanation

'stroke-width' property defines thickness of text, line or outline of any element.

Q 4 - Are mouse events, keyboard events supported in SVG?

A - true

B - false

Answer : A

Explanation

Yes! SVG elements support mouse events, keyboard 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 horizontal line?

A - M

B - L

C - H

D - V

Answer : C

Explanation

H command of path element creates a horizontal line.

Q 7 - Which of the following command of path element closes the path?

A - A

B - Z

C - Q

D - T

Answer : B

Explanation

Z command of path element closes the 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 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 - c command of path element creates a curve.

A - true

B - false

Answer : A

Explanation

c command of path element creates a curve.


svg_questions_answers.htm

Advertisements