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

A - circle

B - ellipse

C - Both of the above.

D - None of the above.

Answer : B

Explanation

ellipse tag of SVG is used to draw a ellipse.

Q 2 - Which of the following tag of SVG is used to draw text?

A - text

B - polyline

C - path

D - None of the above.

Answer : A

Explanation

text tag of SVG is used to draw a text.

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.

Answer : C

Explanation

Both of the above are correct.

Q 5 - Which of the following represents x-axis co-ordinate of the center of the ellipse?

A - x

B - cx

C - rx

D - None of the above

Answer : B

Explanation

cx − x-axis co-ordinate of the center of the ellipse.

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.

Answer : A

Explanation

When commands are in Upper case, these represents absolute path.

Q 8 - SVG integrates well with XSLT and DOM of HTML.

A - false

B - true

Answer : B

Explanation

SVG integrates well with XSLT and DOM of HTML.

Q 9 - What is the default value of y-axis co-ordinate of center of the ellipse?

A - 0

B - -1

C - Any arbitrary value.

D - None of the above.

Answer : A

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