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

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 represents the y axis cordinates of glyphs?

A - x

B - y

C - dx

D - dy

Answer : B

Explanation

'y' attribute of text tag of SVG represents the y axis cordinates of glyphs.

Q 3 - Which of the following stroke property defines different types of ending of a line or outline of any element?

A - stroke

B - stroke-width

C - stroke-linecap

D - stroke-dasharray

Answer : C

Explanation

'stroke-linecap' property defines different types of ending of a line or outline of any element.

Q 5 - Which of the following represents width of the rectangle?

A - x

B - rx

C - width

D - None of the above

Answer : C

Explanation

width − width of the rectangle.

Q 6 - Which of the following command of path element moves cursor from one point to another point?

A - M

B - L

C - H

D - V

Answer : A

Explanation

M command of path element move from one point to another point.

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 - Being XML based, SVG images are searchable, indexable and can be scripted and compressed.

A - true

B - false

Answer : A

Explanation

Being XML based, SVG images are searchable, indexable and can be scripted and compressed.

Q 9 - What is the default value of y-axis co-ordinate of start 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 vertical line.

A - true

B - false

Answer : B

Explanation

h command of path element creates a horizontal line.

svg_questions_answers.htm
Advertisements