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 circle?

A - circle

B - ellipse

C - Both of the above.

D - None of the above.

Answer : A

Explanation

circle tag of SVG is used to draw a circle.

Q 2 - Which of the following tag of SVG is used to draw a free flow path?

A - polygon

B - polyline

C - path

D - None of the above.

Answer : C

Explanation

path tag of SVG is used to draw a free flow path.

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

A - stroke

B - stroke-width

C - stroke-linecap

D - stroke-dasharray

Answer : A

Explanation

'stroke' property defines color of text, line or outline of any element.

Q 4 - Which of the following represents x-axis co-ordinate of top left of the rectangle?

A - x

B - rx

C - width

D - None of the above

Answer : A

Explanation

x − x-axis co-ordinate of top left of the rectangle. Default is 0.

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 command of path element creates a vertical line?

A - M

B - L

C - H

D - V

Answer : D

Explanation

V command of path element creates a vertical line.

Answer : B

Explanation

When commands are in Lower case, these represents relative path.

Q 8 - What is the default value of y-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 - m command of path element move from one point to another point.

A - true

B - false

Answer : A

Explanation

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

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