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 close ended polygon?

A - polygon

B - polyline

C - path

D - None of the above.

Answer : A

Explanation

polygon tag of SVG is used to draw a close ended polygon.

Q 3 - Which of the following attribute of text tag of SVG sets the rendering length of the text?

A - rotation

B - textlength

C - dx

D - dy

Answer : B

Explanation

'textlength' attribute of text tag of SVG sets the rendering length of the text.

Q 4 - Using which of the following way can you embed an SVG image in a HTML page?

A - using embed tag

B - using object tag

C - using iframe

D - All of the above

Answer : D

Explanation

All of the above options are correct.

Q 5 - Which of the following is used to round the corner of the rounded rectangle along x-axis?

A - x

B - rx

C - width

D - None of the above

Answer : B

Explanation

rx − used to round the corner of the rounded rectangle.

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 - 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 x-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 - 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