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 attribute of text tag of SVG represents the x axis cordinates of glyphs?

A - x

B - y

C - dx

D - dy

Answer : A

Explanation

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

Answer : C

Explanation

Both of the above are correct.

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 represents y-axis co-ordinate of the center of the circle?

A - y

B - cy

C - height

D - None of the above

Answer : B

Explanation

cy − y-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.

Q 7 - SVG images supports interactivity and animation.

A - false

B - true

Answer : B

Explanation

SVG images supports interactivity and animation.

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

A - points

B - d

C - path

D - None of the above.

Answer : A

Explanation

points − List of points to make up a polygon.

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